Skip to content

[Python 3.13] raster depends on incompatible numpy version #143

@Maffsie

Description

@Maffsie

Hey! Thanks for making drawsvg, it's been extremely useful for my various silly utilities.
In upgrading one of my projects to Python 3.13, I discovered my build was now failing, and I narrowed it down to the raster extra-feature of drawsvg, specifically because this brings in a dependency on numpy 1.16 or equivalent (which evaluates to 1.26.4 for me).
This version fails to build because the type_traits header is no longer included, and the fix appears to be to use numpy version 2.1.0 or greater.

It seems like numpy 2.1.0 drops support for Python 3.9 and older, so upgrading may not be desirable (hence why I opened an issue rather than a PR). Is it possible to upgrade this dependency?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions