Skip to content

Commit

Permalink
bump setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonDane committed Jul 18, 2024
1 parent 9587d73 commit e17bc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ robin-stocks==3.1.0
# schwab-api==0.4.2
-e git+https://github.com/NelsonDane/schwab-api.git@d9185cda7d7211f0a8dd850a26f619472a441ca7#egg=schwab-api
selenium==4.22.0
setuptools==71.0.1
setuptools==71.0.2
tastytrade==8.0
vanguard-api==0.1.9
-e git+https://github.com/NelsonDane/webull.git@ef14ae63f9e1436fbea77fe864df54847cf2f730#egg=webull

6 comments on commit e17bc7d

@Nohealz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may have broken the bot. I am still running 70.3.0 without issue.

@NelsonDane
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may have broken the bot. I am still running 70.3.0 without issue.

Hmm, I noticed an issue with 71.0.1 according to this link but I've been using 71.0.2 today and it's been working fine.

@Nohealz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute setup.py since setuptools is not available in the build environment.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Error importing libraries: cannot import name 'tarfile' from 'backports' (C:\Users\jschi\anaconda3\Lib\site-packages\backports_init_.py)
Traceback (most recent call last):
File "C:\Users\jschi\auto-rsa\autoRSA.py", line 16, in
from chaseAPI import *
File "C:\Users\jschi\auto-rsa\chaseAPI.py", line 13, in
from helperAPI import (
File "C:\Users\jschi\auto-rsa\helperAPI.py", line 16, in
import pkg_resources
File "C:\Users\jschi\anaconda3\Lib\site-packages\pkg_resources_init_.py", line 93, in
from jaraco.text import (
File "C:\Users\jschi\anaconda3\Lib\site-packages\setuptools_vendor\jaraco\text_init_.py", line 12, in
from jaraco.context import ExceptionTrap
File "C:\Users\jschi\anaconda3\Lib\site-packages\setuptools_vendor\jaraco\context.py", line 17, in
from backports import tarfile
ImportError: cannot import name 'tarfile' from 'backports' (C:\Users\jschi\anaconda3\Lib\site-packages\backports_init_.py)

Please run 'pip install -r requirements.txt'

@Nohealz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had him manually change setuptools to 70.3.0 and everything boots up.

Setuptools is very much so in the build environment and I had him double check it.

@NelsonDane
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, perhaps try creating a new python env? I've tested it on MacOS and Windows and it works/installs fine for me

@Nohealz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I elected to run the update on my own windows machine and I'm getting the same error. 1 issue is that for some reason setuptools was uninstalled and then doesn't reinstall properly. I did a manual install of it so I know it's there.

But now the bot is giving this issue when starting up.

Error importing libraries: cannot import name 'tarfile' from 'backports' (C:\Users\chey2\anaconda3\Lib\site-packages\backports\__init__.py)
Traceback (most recent call last):
  File "C:\Users\chey2\auto-rsa\autoRSA.py", line 16, in <module>
    from chaseAPI import *
  File "C:\Users\chey2\auto-rsa\chaseAPI.py", line 13, in <module>
    from helperAPI import (
  File "C:\Users\chey2\auto-rsa\helperAPI.py", line 16, in <module>
    import pkg_resources
  File "C:\Users\chey2\anaconda3\Lib\site-packages\pkg_resources\__init__.py", line 93, in <module>
    from jaraco.text import (
  File "C:\Users\chey2\anaconda3\Lib\site-packages\setuptools\_vendor\jaraco\text\__init__.py", line 12, in <module>
    from jaraco.context import ExceptionTrap
  File "C:\Users\chey2\anaconda3\Lib\site-packages\setuptools\_vendor\jaraco\context.py", line 17, in <module>
    from backports import tarfile
ImportError: cannot import name 'tarfile' from 'backports' (C:\Users\chey2\anaconda3\Lib\site-packages\backports\__init__.py)

Please run 'pip install -r requirements.txt'

Please sign in to comment.