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

Bugfix: Package resources not available in python 3.12 #28

Closed
wants to merge 6 commits into from

Conversation

erjel
Copy link

@erjel erjel commented Dec 16, 2024

Hi,

this is an add-on pull request to #27 .

Python >= 3.12 does not come with bundled setuptools anymore. Using imagecorruptions therefore results in an error messages without a manual setuptools installation.

Additionally, pkg_resources is marked as depreciated by setuptools itself and the project recommends using importlib functionality instead.

This pull request fixes the missing module error on Python 3.12 and fixes a bug with respect to the numpy.random.randint call in the frost function.

Best wishes,
Eric

@erjel erjel closed this Dec 16, 2024
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.

1 participant