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

non-standard version number warning appears spurious #12162

Closed
1 task done
FlorinAndrei opened this issue Jul 18, 2023 · 2 comments
Closed
1 task done

non-standard version number warning appears spurious #12162

FlorinAndrei opened this issue Jul 18, 2023 · 2 comments
Labels
resolution: not a bug Determined as not a bug in pip

Comments

@FlorinAndrei
Copy link

Description

I get these warnings:

DEPRECATION: gpg 1.16.0-unknown has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
DEPRECATION: distro-info 1.1build1 has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of distro-info or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063

Those version strings are just how Ubuntu has decided to call their packages. This is really about Ubuntu's package version conventions.

I think this project should settle the disagreement with Ubuntu, before these checks are pushed to the users.

Expected behavior

No response

pip version

23.2

Python version

3.11.4

OS

Ubuntu 22.04

How to Reproduce

On Ubuntu 22.04, install Python 3.11.4 from the deadsnakes PPA. Keep the original OS-level Python 3.10.

Using Python 3.11.4, do this:

python -m pip install --upgrade --user pip

Then using the new pip:

pip install --upgrade --user bunch of packages...

Output

DEPRECATION: gpg 1.16.0-unknown has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at #12063
DEPRECATION: distro-info 1.1build1 has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of distro-info or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at #12063

Code of Conduct

@FlorinAndrei FlorinAndrei added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Jul 18, 2023
@FlorinAndrei
Copy link
Author

Related: #12063

@pfmoore
Copy link
Member

pfmoore commented Jul 18, 2023

This is a known issue in Ubuntu, being tracked at https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/1991606

@pradyunsg pradyunsg added resolution: not a bug Determined as not a bug in pip and removed type: bug A confirmed bug or unintended behavior S: needs triage Issues/PRs that need to be triaged labels Jul 19, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution: not a bug Determined as not a bug in pip
Projects
None yet
Development

No branches or pull requests

3 participants