![]() pip, setuptools, and distribute seem to get filtered out in two places: This is regardless of whether this is done in, setup.py, or \nrequires =. However, even if an explicit dependency on pip or setuptools is declared it is currently not honored by poetry. Hence, IMHO cryptography should have a requirement pip>=X.Y.Z somewhere, maybe in setup.py/setup_requires or pyproject.toml//requires? The next issue is that packages that require certain versions of pip or setuptools usually do not declare these as dependencies. This explains where pip=10.0.1 is comming from on Python >=3.3. Venv creates virtual environments using ensurepip which contain pip=10.0.1 and setuptools=39.0.1. I just ran into this as well and think it is a separate issue. Thanks a lot to anyone taking the time to read through this :)Įdit: To fix my issue, I just had to do poetry run pip install -upgrade pip before poetry install, but I guess my question where poetry gets the idea to use 10.0.1 from still holds? :) ![]() ![]() I found the error a little bit weird in the first place, because it does not occur when I run poetry install locally, but after a little bit of googling it seemed that the cffi problem was related to the pip version and should be fixable, by upgrading pip => which leads to my question: My dockerfile is based on python:3.7-alpine and has pip 18.1 installed, so why does poetry still try to use pip version 10.0.1? You are using pip version 10.0.1, however version 18.1 is available. ![]() No matching distribution found for cffi!=1.11.3,>=1.7 , '-no-deps', 'cryptography=2.4.2'] errored with the following output:Ħ91c4ae1bdb270c1c9220d6da79bd3b1fbad91afd0e1/cryptography-2.4.2.tar.gz (468kĬould not find a version that satisfies the requirement cffi!=1.11.3,>=1.7 ![]() Command ['/root/.cache/pypoetry/virtualenvs/hybrid-p圓.7/bin/pip', 'install' ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |