Page MenuHome GnuPG

Python .egg format is deprecated
Open, WishlistPublic


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

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

See with the same issue reported to pypa.



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.