Skip to content

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