Skip to content

Commit 105cf3a

Browse files
authored
fix(api): loosen numpy spec in setup.py (#8418)
This fix to ensure users on Python >3.7 without a C compiler can install `opentrons`
1 parent fdd3d82 commit 105cf3a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

api/setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ def get_version():
5858
"aionotify==0.2.0",
5959
"anyio==3.3.0",
6060
"jsonschema==3.0.2",
61-
"numpy==1.15.1",
61+
# TODO(mc, 2021-09-28): this spec does not match the Pipfile, and is
62+
# intentionally loose to avoid installation problems for end-users.
63+
# This discrepency should be resolved:
64+
# https://github.com/Opentrons/opentrons/issues/8416
65+
"numpy>=1.15.1,<2",
6266
"pydantic==1.4",
6367
"pyserial==3.5",
6468
"systemd-python==234; sys_platform=='linux'",

0 commit comments

Comments
 (0)