Skip to content
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

pipenv's vendored pip is not guaranteed to support the version of Python in the virtualenv #5685

Open
tucked opened this issue May 12, 2023 · 1 comment
Labels
Contributor Candidate The issue has been identified/triaged and contributions are welcomed/encouraged. Type: Enhancement 💡 This is a feature or enhancement request.

Comments

@tucked
Copy link
Contributor

tucked commented May 12, 2023

I installed pipenv-2023-4-29 with Python 3.9 (via pipx), and I am trying to pipenv install --deploy a Pipfile with

[requires]
python_version = "3.6"

It's able to create the virtualenv using my pyenv-installed 3.6.15, but it fails to deploy because

This version of pip does not support python 3.6 (requires >=3.7).

"This version of pip does not support python {} (requires >={}).".format(

Shouldn't pipenv be using the-venv/bin/python -m pip (which is guaranteed to support the associated Python)?
Alternatively, if the project is taking a hard line against supporting 3.6, an error should be raised as soon as the incompatible python_version is encountered.

@matteius
Copy link
Member

We dropped support for python 3.6 a year ago and the last release to support it was 2022.4.8. We vendor in the latest pip, and it too dropped support for python 3.6. I agree we should raise the error sooner in the process.

@matteius matteius added Type: Enhancement 💡 This is a feature or enhancement request. Contributor Candidate The issue has been identified/triaged and contributions are welcomed/encouraged. labels May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributor Candidate The issue has been identified/triaged and contributions are welcomed/encouraged. Type: Enhancement 💡 This is a feature or enhancement request.
Projects
None yet
Development

No branches or pull requests

2 participants