Programmatically generate SVG (vector) images, animations, and interactive Jupyter widgets

Support new numpy versions #2

merged opened by cduck.me targeting main from maffsie

Based on the PR by Maffsie https://github.com/cduck/drawsvg/pull/144. Thanks for fixing this!

Numpy 2 does not have any breaking changes for the APIs used by drawsvg, so I chose to simply expand the version range instead of requiring numpy 2.x.

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:bd7snaz7voyhnbybtpdj67go/sh.tangled.repo.pull/3mbkmhu3ezq22
+4 -4
Diff #0
+1 -1
docs/index.md
··· 1106 1107 ```python 1108 dw.Image(x, y, width, height, path=None, data=None, 1109 - embed=False, mime_type=None, **kwargs) 1110 ``` 1111 1112 ```python
··· 1106 1107 ```python 1108 dw.Image(x, y, width, height, path=None, data=None, 1109 + embed=False, mimeType=None, **kwargs) 1110 ``` 1111 1112 ```python
+3 -3
setup.py
··· 34 extras_require = { 35 'raster': [ 36 'cairoSVG~=2.3', 37 - 'numpy~=1.16', 38 'imageio~=2.5', 39 'imageio_ffmpeg~=0.4', 40 ], 41 'color': [ 42 'pwkit~=1.0', 43 - 'numpy~=1.16', 44 ], 45 'all': [ 46 'cairoSVG~=2.3', 47 - 'numpy~=1.16', 48 'imageio~=2.5', 49 'imageio_ffmpeg~=0.4', 50 'pwkit~=1.0',
··· 34 extras_require = { 35 'raster': [ 36 'cairoSVG~=2.3', 37 + 'numpy>=1.16,<3', 38 'imageio~=2.5', 39 'imageio_ffmpeg~=0.4', 40 ], 41 'color': [ 42 'pwkit~=1.0', 43 + 'numpy>=1.16,<3', 44 ], 45 'all': [ 46 'cairoSVG~=2.3', 47 + 'numpy>=1.16,<3', 48 'imageio~=2.5', 49 'imageio_ffmpeg~=0.4', 50 'pwkit~=1.0',

History

2 rounds 1 comment
sign up or login to add to the discussion
2 commits
expand
setup: Bump numpy version to equivalent to 2.1
Expand range of supported numpy versions
expand 1 comment
pull request successfully merged
cduck.me submitted #0
2 commits
expand
setup: Bump numpy version to equivalent to 2.1
Expand range of supported numpy versions
expand 0 comments