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
pip install wants to compile package on Docker python:3.9-slim #105
Comments
The problem is the lack of the py39 wheel on pypi so it try to compile it but @gitpushdashf you can add @pganssle can you add a python 3.9 wheel on pypi.org for |
@pauloxnet I think the right thing to do is to depend on try:
from backports import zoneinfo
except ImportError:
import zoneinfo Or something similar. I suppose it might also be feasible to just make |
@pganssle thanks for your explanation, I confused version of python locally , now I fixed it. |
Thank you for explaining! It's a 3rd party dependency, so I'll see if we can fix it there with the import. |
I'll go ahead and close this out. I think it makes sense to only require dependencies like this for the Python versions that need them. |
not used within code (except obsolete code) it seems. so getting rid of this dependency, as this module does no longer exist within Py3.9 and built-in modules should be used. details: pganssle/zoneinfo#105
|
Hint: If you first set your |
it spent a lot of time, but it still not work! |
This error arise because you have a difference of python versions in your local virtual environment and docker. Update your Dockerfile in the following way. For me it works fine now. |
I'm not sure what's going on here.
Do you have any ideas on this? Thank you! python:3.8-slim works fine, which is puzzling.
The text was updated successfully, but these errors were encountered: