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 8f4fa85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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
2 changes: 1 addition & 1 deletion tests/test_server/test_grpc/test_fligh_control_servicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_shutdown_event_is_not_set_while_pings_keep_coming():
def _pinger():
while not stop_pinger.is_set():
servicer.Ping(None, None)
time.sleep(0.05)
time.sleep(0.01)

pinger_thread = threading.Thread(target=_pinger, name="Pinger", daemon=True)
pinger_thread.start()
Expand Down

0 comments on commit 8f4fa85

Please sign in to comment.