Page MenuHome GnuPG

Python .egg format is deprecated
Open, WishlistPublic

Description

Python pip issues a warning for gpgme:

DEPRECATION: Loading egg at /usr/local/Cellar/gpgme/1.23.1/lib/python3.11/site-packages/gpg-1.23.1-py3.11-macosx-10.15-x86_64.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330

I am running macOS 10.15.7 and gpgme was installed via Homebrew.

See https://github.com/pypa/pip/issues/12297 with the same issue reported to pypa.

Details

Version
1.23.1

Event Timeline

werner triaged this task as Wishlist priority.Nov 2 2023, 8:24 AM
werner added projects: gpgme, Python, MacOS.
werner added a subscriber: werner.

We don't use or suggest the use of PIP or other insecure software distribution systems.

Just to clarify, PIP wasn't used to install the .egg package. The package was built and installed via Homebrew. The error message occurs when using basic PIP commands such as pip list or pip freeze. PIP is picking up the gpgme egg from the shortcut included in the site-packages directory.