Skip to content

pkg_resources is Deprecated #59

@ericspod

Description

@ericspod

The package pkg_resources has been yanked from PyPI so is no longer available, and is a direct dependency in MetricsReloaded. Support for Python 3.13 and beyond has been dropped so this needs replacing. Installing with setuptools<=79.0.1 can get MetricsReloaded to install but this is not ideal, and requires no building isolation in some environments. This is an issue when installing MONAI which has MetricsReloaded as a dependency, see Project-MONAI/MONAI#8536.

The solution is to revise the setup.py file and other places to not use pkg_resources and update pyproject.toml to use current versions of libraries. Distributing MetricsReloaded on PyPI in a MONAI-compatible library would be a next good step, currently MONAI installs a specific branch from git which is not ideal.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions