Skip to content

Commit e067040

Browse files
Add workaround for numpy on Windows for python 3.9
1 parent 956f324 commit e067040

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ def install_for_development(self):
105105
# Dependency version declared in pyproject.toml
106106
epicscorelibs.version.abi_requires(),
107107
"pvxslibs>=1.3.2a2",
108+
# Numpy PR #27235 was never backported to 2.0.*, so just fall back
109+
# to numpy 1.*
110+
"numpy<2.0 ; sys_platform == 'win32' and python_version == '3.9'",
108111
"numpy",
109112
"epicsdbbuilder>=1.4",
110113
"pyyaml>=6.0"

0 commit comments

Comments
 (0)