-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing requirements.txt fails on Python 3.9 #108
Comments
@flammable send PR, please. Also, you can use pipenv to run the app in isolation of system library versions. |
@flammable, @Taxel, @twolaw: do you know what for the |
Thanks! I don't actually know what it does, just that using the newer version resolves the installation errors with Python 3.9. I'll send a PR in a bit, but if |
Actually, looking at the readme...it appears they don't plan to support |
perhaps write the dependency with version range. I've seen it being done, but don't know-how. to my knowledge, the current code in this repo does not use Python typings (but I thought of using typings), but dependencies might, and I'm not sure, do the dependencies need or use the typings. I'm just a fly-by Python coder. |
@flammable so, as all that is unknown, please send PR of you changing the requirement that worked for py3.9. |
I think what happened was that @Taxel tried to save dependencies used in the project, and used however that records down all packages installed in system, not just for current project. |
Nice find. If that's the case, it sounds like requirements.txt could probably be trimmed down. |
@flammable it's also possible that the dependencies at that time included the packages as sub-dependencies. and requirements.txt is flattened packages, not only top level. |
I'm thinking maybe should store only top-level dependencies in @twolaw, @Taxel what do you think? |
I think it's a good idea. |
@twolaw: I already composed the list manually (plex, requests, trakt), don't have the exact list here as it's on other computer now. the |
I made some tests.
and PR #128 be closed (typed-ast not needed). |
Here's my version: |
Thank you both! |
I'm using Python 3.9 on the Mac that I'm running this script (it's running macOS 10.15.7). Both pip and pip3 are pointed to
/Library/Frameworks/Python.framework/Versions/Current/bin/python3
, which at the moment is/Library/Frameworks/Python.framework/Versions/3.9/bin/python3
.Running
pip3 install -r requirements.txt
failed at the part where it's trying to install typed_ast, version 1.4.0. I found this GitHub issue where it appears this was resolved in version 1.4.2. I modified requirements.txt to includetyped-ast==1.4.2
instead, and was able to install successfully. The Trakt/Plex sync works OK now.I don't know the greater implications of this, so I figured I'd submit an issue before a pull request. If you'd like a pull request for this, just let me know.
The text was updated successfully, but these errors were encountered: