-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Pipenv.
Check the diagnose documentation for common issues before posting! We may close your issue if it is very similar to one of them. Please be considerate, or be on your way.
Make sure to mention your debugging experience if the documented solution failed.
Issue description
I know --skip-lock
is not recommended. I still use it in several repos to test against several python versions, I noticed strange behaviour that using --skip-lock
also ignores marker at least for python_version.
sphinx = {version = "==7.2.4", markers="python_version > '3.8'"}
Installation works fine if I do not use the --skip-lock
flag.
Expected result
sphinx dependency is safely ignored
Actual result
[pipenv.exceptions.InstallError]: ERROR: No matching distribution found for sphinx==7.2.4
ERROR: Couldn't install package: {}
Steps to replicate
Add this line to the Pipfile:
sphinx = {version = "==7.2.4", markers="python_version > '3.8'"}
Attempt to install it on python 3.8 using --skip-lock
flag.