diff --git a/CHANGELOG.md b/CHANGELOG.md index 77f9d529..087b91bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Bug fixes * Fixed error in deploy workflow. @mavaylon1 [#109](https://github.com/hdmf-dev/hdmf-zarr/pull/109) +* Fixed build error for ReadtheDocs by degrading numpy for python 3.7 support. @mavaylon1 [#115](https://github.com/hdmf-dev/hdmf-zarr/pull/115) ## 0.3.0 (July 21, 2023) diff --git a/requirements.txt b/requirements.txt index 6c5f1020..20a92d6d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,7 @@ hdmf==3.5.4 zarr==2.11.0 pynwb==2.3.2 -numpy==1.23.5 -numcodecs==0.11.0 +numpy==1.21; python_version < "3.8" +numpy==1.23; python_version >= "3.8" +numcodecs==0.10.2; python_version < "3.8" +numcodecs==0.11.0; python_version >= "3.8" diff --git a/setup.py b/setup.py index 254bd0f5..5b155ecb 100755 --- a/setup.py +++ b/setup.py @@ -19,8 +19,11 @@ reqs = [ 'hdmf==3.5.4', # temporary 'zarr>=2.11.0', - 'numpy>=1.22, <1.24; python_version>"3.7"', + 'numpy<1.22; python_version < "3.8"', + 'numpy>=1.22; python_version >= "3.8"', 'numcodecs>=0.9.1', + 'numcodecs==0.10.2; python_version < "3.8"', + 'numcodecs==0.11.0; python_version >= "3.8"', 'pynwb>=2.3.2', 'setuptools', ]