Skip to content

Commit

Permalink
Unpin numpy (#452)
Browse files Browse the repository at this point in the history
* Unpin numpy, pin keras to latest release with numpy 2 compatiblity

* Test pinnning numpy/torch for x86 mac

* Pin numpy<2.0 for windows
  • Loading branch information
IgorTatarnikov authored Aug 21, 2024
1 parent de4d498 commit b39e641
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ dependencies = [
"fancylog>=0.0.7",
"natsort",
"numba",
"numpy<2",
"numpy<2.0.0; sys_platform=='darwin' and platform_machine=='x86_64' or sys_platform=='win32'",
"numpy",
"scikit-image",
"scikit-learn",
"keras>=3.0.0",
"keras>=3.5.0",
"torch<2.3.0; sys_platform=='darwin' and platform_machine=='x86_64'",
"torch>=2.1.0",
"tifffile",
"tqdm",
Expand Down

0 comments on commit b39e641

Please sign in to comment.