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

pip problem with Debian 12 installation of python3-deprecation #13143

Open
1 task done
ultradian opened this issue Jan 5, 2025 · 1 comment
Open
1 task done

pip problem with Debian 12 installation of python3-deprecation #13143

ultradian opened this issue Jan 5, 2025 · 1 comment
Labels
type: support User Support

Comments

@ultradian
Copy link

Description

I think there is some problem in the interface between pip and Debian when installing python3-deprecation via apt. Afterwards I do a pip3 list and see thinks it has version:
deprecation 2.0.7
although apt tells me:
python3-deprecation is already the newest version (2.1.0-2)

Expected behavior

should get
deprecation 2.1.0-2
instead since that is what is installed in the system

pip version

pip 23.0.1

Python version

Python 3.11.2

OS

Debian GNU/Linux 12 (bookworm)

How to Reproduce

apt install python3-deprecation
pip3 list

Output

deprecation 2.0.7

Code of Conduct

@ultradian ultradian added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Jan 5, 2025
@notatallshaw
Copy link
Member

notatallshaw commented Jan 5, 2025

Try running pip3 show deprecation and dpkg -L python3-deprecation to confirm you're looking at the same package (on the same path). If the paths match this is very likely this is a metadata issue on debian's side, pip just reports the metadata from the Python package.

You should be able to find this from the pip3 show command by looking inside the path for a directory called deprecation-{version-number}.dist-info and inside that should be a file called METADATA which near the start should be a line Version: {version-number} which matches the version number of the directory and what pip reports.

@notatallshaw notatallshaw added type: support User Support and removed type: bug A confirmed bug or unintended behavior S: needs triage Issues/PRs that need to be triaged labels Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: support User Support
Projects
None yet
Development

No branches or pull requests

2 participants