Skip to content

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

@BenjaminDEMAILLE

Description

@BenjaminDEMAILLE

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions