Skip to content

Deprecation warning: Loading egg is deprecated and will be blocked in pip 25.1 #161

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

Open
BenjaminDEMAILLE opened this issue May 4, 2025 · 0 comments

Comments

@BenjaminDEMAILLE
Copy link

Description

When installing and using spliceai, I encountered the following deprecation warning:

DEPRECATION: Loading egg at /opt/homebrew/lib/python3.12/site-packages/spliceai-1.3.1-py3.12.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at pypa/pip#12330

Impact

This indicates that the current distribution format (an .egg file) will no longer be supported in pip 25.1 and will result in installation failures in the near future. This will affect users relying on modern versions of pip and Python 3.12+.

Suggested Fix

Please consider updating the package distribution format to use standard wheel (.whl) or source distribution (.tar.gz) via PyPI, and encourage installation via pip install spliceai.

More context is available in the pip discussion: pypa/pip#12330

Environment

  • Python version: 3.12
  • pip version: 24.x
  • OS: macOS (ARM - M1/M2 chip)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant