Skip to content

meaning of "DEPRECATION: Loading egg at .. is deprecated"? #12297

Closed as not planned
@blsz

Description

@blsz

Description

Why is /usr/local/Cellar/gpgme/1.22.0/lib/python3.11/site-packages/gpg-1.22.0-py3.11-macosx-11-x86_64.egg deprecated and is there anything I can do?

Expected behavior

Give a reason for the deprecation?

pip version

23.2.1

Python version

3.11

OS

MacOS 11.7.10

How to Reproduce

  1. Install python with Homebrew on MacOS.
  2. Install gpgme with Homebrew.
  3. Run any pip3 command.

Output

Most pip3 commands include the following warning.

$ pip3 show pip
DEPRECATION: Loading egg at /usr/local/Cellar/gpgme/1.22.0/lib/python3.11/site-packages/gpg-1.22.0-py3.11-macosx-11-x86_64.egg is deprecated. pip 23.3 will enforce this behaviour change. A possible replacement is to use pip for package installation..
Name: pip
Version: 23.2.1
Summary: The PyPA recommended tool for installing Python packages.
Home-page: https://pip.pypa.io/
Author: The pip developers
Author-email: distutils-sig@python.org
License: MIT
Location: /usr/local/lib/python3.11/site-packages
Requires:
Required-by:
$ pip3 --version
pip 23.2.1 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)

/usr/local/bin/pip3 -> ../Cellar/python@3.11/3.11.5/bin/pip3

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions