Skip to content

Commit

Permalink
fix: numpy with python 3.13 support (#39)
Browse files Browse the repository at this point in the history
* pin numpy for py 3.13 support

Signed-off-by: Michele Dolfi <[email protected]>

* python 3.13 is supported from numpy 2.1.0

Signed-off-by: Michele Dolfi <[email protected]>

* activate 3.13 CI

Signed-off-by: Michele Dolfi <[email protected]>

* remove py 3.13 from CI tests.

Pytorch is still missing compatibility

Signed-off-by: Michele Dolfi <[email protected]>

---------

Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm authored Oct 16, 2024
1 parent 83baebe commit 4fddc45
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 6 deletions.
77 changes: 72 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ torchvision = [
{markers = "sys_platform != 'darwin' or platform_machine != 'x86_64'", version = "^0"},
{markers = "sys_platform == 'darwin' and platform_machine == 'x86_64'", version = "~0.17.2"}
]
numpy = "^1.24.4"
numpy = [
{ version = "^2.1.0", markers = 'python_version >= "3.13"' },
{ version = "^1.24.4", markers = 'python_version < "3.13"' },
]
lxml = "^4.9.1"
jsonlines = "^3.1.0"
Pillow = "^10.0.0"
Expand Down

0 comments on commit 4fddc45

Please sign in to comment.