-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 pytest via requirements.txt on Python 2 does not install required funcsigs #1229
Comments
Hi @davehunt thanks for the report. This issue is related to dependency resolution across python versions when pipenv is installed using one version of python but your virtualenv is created using another. Usually this works just fine, but occasionally when pipenv is installed with, say, python3, the resolver can have trouble resolving python2 dependencies when they are specified in install_requires=[
'enum34;python_version<"3.4"',
] I would recommend submitting a PR to pytest to fix this in order for the pip-tools resolver to pick it up, but the rest of the resolver issues are being tracked over in #857 so I'm going to go ahead and close this out for now. Thanks for the detailed report and the link to the relevant |
I just submitted a PR for Pytest 🤞 |
When installing pytest via an imported requirements.txt on Python2, the extra requirement of funcsigs is not installed.
Describe your environment
Expected result
funcsigs should be installed
Actual result
funcsigs is not installed
Steps to replicate
When running
pipenv graph
the output shows that funcsigs is a dependency, but no version is installed:funcsigs [required: Any, installed: ?]
.Note that using the command
pipenv --two install pytest
to install pytest directly instead of via a requirements.txt file installs funcsigs as expected. The dependency is specified in pytest here.The text was updated successfully, but these errors were encountered: