Skip to content

pkg_resources deprecation warning #56

@jshholland

Description

@jshholland
$ uv tree   
Resolved 36 packages in 2ms
mypackage
├── autosemver v1.0.0
│   └── dulwich v0.23.2
│       └── urllib3 v2.5.0
├── setuptools v80.9.0
# snip other deps
$ python -m mypackage
/app/.venv/lib/python3.12/site-packages/autosemver/packaging.py:33: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources

It looks like pkg_resources is only used as some sort of fallback, but I'm not sure how necessary it really is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions