question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't indicate minimum python version in pipenv file

See original GitHub issue

I’m trying to indicate the minimum python version in my Pipfile. I’ve got

[requires]
python_version = "3.5"

but if you run that on Python 3.6, pipenv check will fail. I’ve tried specifying python_version = ">=3.5", or >3.5, but both also fail.

How do I do this, or am I missing something?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:7
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

12reactions
techalchemycommented, Apr 27, 2020

@gpakosz yes I would, reopening

4reactions
techalchemycommented, Aug 2, 2018

You can only specify exact versions currently. Delete the whole section if you want it to work on multiple versions, it’s just for pinning.

Read more comments on GitHub >

github_iconTop Results From Across the Web

With pipenv, how to specify the minimum python version in the ...
No, pipenv does not support this. Per pipenv issue 1050 feature request, the pipenv authors have explicitly chosen not to implement it.
Read more >
Basic Usage of Pipenv - Read the Docs
Specify your target Python version in your Pipfile 's [requires] section. Ideally, you should only have one target Python version, as this is...
Read more >
Common Pipenv Errors and How to Solve Them: Why Won't it ...
Pipenv looks for the package you specify, whether it exists or not. You see the following errors and many more in the terminal...
Read more >
Advanced Usage of Pipenv - Python Packaging Authority
Should you wish to use an alternative default index other than PyPI: simply do not specify PyPI as one of the sources in...
Read more >
Installing the Python Connector - Snowflake Documentation
Step 2: Verify Your Installation. Step 3: Specify a Temporary Directory ... Each requirements file applies to a specific version of Python.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found