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.