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

setup: Bump numpy version to equivalent to 2.1 #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Maffsie
Copy link

@Maffsie Maffsie commented Nov 26, 2024

On further investigation, it appears numpy usage is limited to parts of the API that have not changed since 1.16, so I forked and updated the dependency and validated it was now working (at least as far as generating an SVG and then rasterising it to PNG).

This change does mean that the oldest version of Python this can be compatible with is Python 3.10, while the older dependency, ~= 1.16 seems to allow compatibility with Python 2.7 to 3.12, so please feel free to reject this PR.

Closes #143

On investigation, it doesn't seem like drawsvg uses anything specific to
1.16+'s APIs, so it's worth a try.
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.

[Python 3.13] raster depends on incompatible numpy version
1 participant