Skip to content

Use importlib.resources instead of pkg_resources#35

Open
muttener wants to merge 1 commit into
dbrgn:mainfrom
muttener:MH-pkg-resources
Open

Use importlib.resources instead of pkg_resources#35
muttener wants to merge 1 commit into
dbrgn:mainfrom
muttener:MH-pkg-resources

Conversation

@muttener
Copy link
Copy Markdown

@muttener muttener commented May 4, 2026

This fixes #33

The tests are succeeding and I tested coverage-badge locally (on linux) by running:

for version in 3.10 3.11 3.12 3.13 3.14; do uv run --python $version --with . coverage-badge -o coverage-$version.svg; done

The double joinpath in the implementation is needed to support python 3.10, 3.11 and 3.12.

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

Successfully merging this pull request may close these issues.

pkg_resources removed from Setuptools in v82.0.0

1 participant