Skip to content
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

ModuleNotFoundError: No module named 'pkg_resources' #25

Closed
fepegar opened this issue Sep 5, 2024 · 5 comments
Closed

ModuleNotFoundError: No module named 'pkg_resources' #25

fepegar opened this issue Sep 5, 2024 · 5 comments

Comments

@fepegar
Copy link

fepegar commented Sep 5, 2024

Hi and thanks a lot for sharing this very nice package, with which I'm playing at

My CI uses Python 3.12 and I've noticed that pkg_resources is gone, so an error is raised at codecs/init.py

This is the migration guide, but unless I'm missing something, which I probably am, pkg_resources is not needed in this package and using __file__ would be enough to load the pickled codecs.

I'm happy to contribute with a PR with your guidance.

@fepegar
Copy link
Author

fepegar commented Sep 5, 2024

I see that this has been fixed in 5b7d7cf. However, there are no recent releases. Any plans for a new PyPI version?

@fepegar
Copy link
Author

fepegar commented Sep 5, 2024

@soxofaan
Copy link
Owner

soxofaan commented Sep 6, 2024

thanks for reporting

good point that the latest release on pypi is pretty old 😄
I'll try to push a release somewhere this weekend

@soxofaan
Copy link
Owner

soxofaan commented Sep 9, 2024

0.4.2 should be available now on pypi

@soxofaan soxofaan closed this as completed Sep 9, 2024
@fepegar
Copy link
Author

fepegar commented Sep 9, 2024

Thank you!

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

2 participants