From 5c4589aef20357027f9757e0e9f72ebbcb68c206 Mon Sep 17 00:00:00 2001 From: Liam Gray Date: Mon, 24 Jun 2024 16:46:42 -0700 Subject: [PATCH 1/4] feat(ci): increase minimum test python to 3.9 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8d4cfab0..5132273b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,7 @@ jobs: strategy: matrix: - python-version: [3.8, 3.11] + python-version: [3.9, 3.11] runs-on: ubuntu-latest steps: From 4f07f154acc23f96553fb7c26a314fae19af815d Mon Sep 17 00:00:00 2001 From: Liam Gray Date: Mon, 24 Jun 2024 16:46:57 -0700 Subject: [PATCH 2/4] feat(setup): increase minimum supported python to 3.9 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 67eebc0d..24ce8903 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), packages=find_packages(), - python_requires=">=3.8", + python_requires=">=3.9", install_requires=requires, extras_require={ "chimedb_config": [ From 7776a148092bd9e65303a07a13b2dbf4be4c2242 Mon Sep 17 00:00:00 2001 From: Liam Gray Date: Mon, 24 Jun 2024 16:52:48 -0700 Subject: [PATCH 3/4] feat(requirements): pin numpy <2 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4e91e890..a1589199 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ chimedb.data_index @ git+https://github.com/chime-experiment/chimedb_di.git chimedb.dataflag @ git+https://github.com/chime-experiment/chimedb_dataflag.git chimedb.dataset @ git+https://github.com/chime-experiment/chimedb_dataset.git matplotlib -numpy >= 1.16 +numpy >= 1.16,<2 scipy networkx >= 2.0 h5py From 1d3be4f48bc571520ae10ebe5eb6ff1db3f014de Mon Sep 17 00:00:00 2001 From: Liam Gray Date: Mon, 24 Jun 2024 16:53:10 -0700 Subject: [PATCH 4/4] fix(ci): bitshuffle does not have binaries for numpy 2.0 --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5132273b..207ab1bf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,7 +53,7 @@ jobs: pip install numpy pip install cython pip install h5py - pip install --use-deprecated=legacy-resolver -e . + pip install --use-deprecated=legacy-resolver -e . --no-binary bitshuffle pip install pytest - name: Run tests @@ -83,7 +83,7 @@ jobs: pip install numpy pip install cython pip install h5py - pip install --use-deprecated=legacy-resolver -e . + pip install --use-deprecated=legacy-resolver -e . --no-binary bitshuffle pip install -r doc/requirements.txt - name: Build sphinx docs