Is there a way in pipenv to specify the minimum version of python in the Pipfile?
Would something like this work?
[requires] python_version = ">=python 3.5"
When two developers are working on a projet with different operating systems, the Pipfile. lock is different (especially the part inside host-environment-markers ). For Composer, most people recommend to commit composer. lock .
The Pipfile. lock is intended to specify, based on the packages present in Pipfile, which specific version of those should be used, avoiding the risks of automatically upgrading packages that depend upon each other and breaking your project dependency tree.
pipenv install --python 3.8.
No, pipenv
does not support this. Per pipenv issue 1050 feature request, the pipenv
authors have explicitly chosen not to implement it.
Note that you can specify:
python_version = "3"
to allow any version of Python 3. Not exactly what you asked for, but it might be sufficient for some projects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With