Skip to content

Commit

Permalink
Restrict numpy<2 due to pytorch 2.2py39 build
Browse files Browse the repository at this point in the history
  • Loading branch information
thodkatz committed Sep 16, 2024
1 parent 192b5ae commit 37d7a22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"bioimageio.spec==0.4.9.post5",
"bioimageio.core==0.5.11",
"grpcio>=1.31",
"numpy",
"numpy<2", # pytorch 2.2.2-py3.9_0 for macos is compiled with numpy 1.*
"protobuf",
"pyyaml",
"xarray",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_server/test_grpc/test_fligh_control_servicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ def _pinger():
pinger_thread.start()

assert not evt.is_set()
assert not evt.wait(timeout=0.2)
assert not evt.wait(timeout=3)

stop_pinger.set()
assert evt.wait(timeout=0.2)
assert evt.wait(timeout=3)


def test_shutdown_timeout_0_means_no_watchdog():
Expand Down

0 comments on commit 37d7a22

Please sign in to comment.