-
Notifications
You must be signed in to change notification settings - Fork 143
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
Can't specify minimal python version requirement #87
Comments
Maybe try:
? |
Thanks for opening this issue, @matthieudelaro! So this has already been noted in a few other places in the issue tracker but we only support hard version pins for Python at the moment. We've had requests for ranges but it's unclear what the maintainer consensus is on this. If you feel like making a doc change specifying our current limitations, I'm happy to review it. |
Thanks @pradyunsg, that gives the following: $pipenv check
Checking PEP 508 requirements…
Specifier python_version does not match > 3.6 (3.6).
Failed! Replacing > 3.6 with > 3.5 doesn't do the trick: $ pipenv check
Checking PEP 508 requirements…
Specifier python_version does not match > 3.5 (3.6).
Failed!
Thanks @nateprewitt. So you mean reporting the problem with more details? |
It's a simple comparison then, not a rich one. :/ Well, I was guessing anyway. :) |
@matthieudelaro, no not quite, we're aware that this functionality does not work and it isn't supported by pipenv at this time. We may address this in the future but it's not on the immediate roadmap. If you feel the docs are misleading about this, I'm happy to review a PR that makes corrections. |
@matthieudelaro, sorry this is also the pipfile repo and this is a functionality question for pipenv. Please feel free to move the discussion over there. |
Ticket opened in pipenv#1050 |
Does not allow range of python_version pypa/pipfile#87
Does not allow range of python_version pypa/pipfile#87
Hi all,
Sorry for this stupid question, still... I didn't find the answer anywhere.
According to this page, I should be able to specify a minimal python version requirement in Pipfile. Unfortunately, while I can specify an exact python version, it seems like I can't use >= at all. I tried other stuff such as >, 3.6+, etc. But nothing did the job. Any idea? Or is it an issue after all?
Here are the version installed on my system:
$pipenv run pip --version pip 9.0.1 from /somepath/lib/python3.6/site-packages (python 3.6) $ pipenv --version pipenv, version 8.2.7 $ pipenv run python --version Python 3.6.3
The text was updated successfully, but these errors were encountered: