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

drop --no-python-version-warning from pip install #1937

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

miguelinux
Copy link

When using hatch sell with pip 25.0.1 at the first time, a deprecation warning is showed:

$ hatch shell
DEPRECATION: --no-python-version-warning is deprecated. pip 25.1 will
enforce this behaviour change. A possible replacement is to remove the
flag as it's a no-op. Discussion can be found at
pypa/pip#13154
You are about to enter a new shell, exit as you usually would e.g. by
typing exit or pressing ctrl+d...

Looking at pypa/pip#13154 it said:

The Python 2 days are behind us, thus we can kill off the
--no-python-version-warning flag which disabled the
"Python 2 is sunsetting support" warnings :)

If you're using this flag, you can simply stop. It does nothing today.

So, lets remove it to not show the warning

When using `hatch sell` with `pip` 25.0.1 at the first time, a deprecation
warning is showed:

> $ hatch shell
> DEPRECATION: --no-python-version-warning is deprecated. pip 25.1 will
>  enforce this behaviour change. A possible replacement is to remove the
>  flag as it's a no-op. Discussion can be found at
>  pypa/pip#13154
> You are about to enter a new shell, exit as you usually would e.g. by
>  typing `exit` or pressing `ctrl+d`...

Looking at pypa/pip#13154 it said:

> The Python 2 days are behind us, thus we can kill off the
> --no-python-version-warning flag which disabled the
> "Python 2 is sunsetting support" warnings :)
>
> If you're using this flag, you can simply stop. It does nothing today.

So, lets remove it to not show the warning
@djcopley
Copy link
Contributor

Dup of #1913

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants