diff options
author | Tim Hall <tim.hall@arm.com> | 2022-05-23 11:31:07 +0100 |
---|---|---|
committer | Tim Hall <tim.hall@arm.com> | 2022-05-23 12:01:48 +0100 |
commit | c3597d1176e0366c52e5b22c8325a724afab29e5 (patch) | |
tree | 79a83220611f7247af56d291b2459adcfe63e72d | |
parent | cda4fcb0fd3e9766a161cf3e5aa7c3283e7f7c9e (diff) | |
download | ethos-u-vela-c3597d1176e0366c52e5b22c8325a724afab29e5.tar.gz |
MLBEDSW-6406: Restrict numpy version limit
- The latest numpy versions require Python 3.8
- This can cause issues if Python 3.7 is installed which is the version that
Vela is tested against
- The fix is to limit the numpy version to those that support Python 3.7
Signed-off-by: Tim Hall <tim.hall@arm.com>
Change-Id: I3a388976d5aa76395ca93202e496640c8de9f6f4
-rw-r--r-- | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -94,11 +94,11 @@ setup( python_requires="~=3.7", install_requires=[ "flatbuffers==1.12.0", - "numpy", + "numpy<=1.21.6", "lxml>=4.5.1", ], entry_points={"console_scripts": ["vela = ethosu.vela.vela:main"]}, ext_modules=[mlw_module], cmdclass={"build_ext": BuildExtension}, # type: ignore[dict-item] - setup_requires=["numpy", "setuptools_scm"], + setup_requires=["numpy<=1.21.6", "setuptools_scm"], ) |