From 6455788e80d8c2e600444fd6ce843dd1a45c3de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Huder?= <42204205+loichuder@users.noreply.github.com> Date: Tue, 12 Sep 2023 10:52:42 +0200 Subject: [PATCH] Support Python 3.8+ (#83) * Support Python 3.8+ * Drop support for h5py 2.x * Update setup.cfg Co-authored-by: Thomas VINCENT --------- Co-authored-by: Thomas VINCENT --- .github/workflows/lint-test.yml | 9 +-------- .github/workflows/release.yml | 2 +- setup.cfg | 4 ++-- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml index 51de688..8dbf4e9 100644 --- a/.github/workflows/lint-test.yml +++ b/.github/workflows/lint-test.yml @@ -18,7 +18,7 @@ jobs: - name: Install Python 🐍 uses: actions/setup-python@v2 with: - python-version: '3.7' + python-version: '3.8' architecture: 'x64' - name: Install dependencies ⚙️ @@ -48,13 +48,6 @@ jobs: - name: pytest benchmark 📈 run: invoke benchmark - - name: pytest tests h5py==2.9 🕶️ - run: | - pip install h5py==2.9 - pushd test/ - invoke test - popd - - name: sphinx build 🐪 run: invoke doc diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8345952..7d3054a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Python 🐍 uses: actions/setup-python@v2 with: - python-version: '3.7' + python-version: '3.8' architecture: 'x64' - name: Install dependencies ⚙️ diff --git a/setup.cfg b/setup.cfg index 451e86c..347e289 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,11 +17,11 @@ classifiers = [options] packages = find: -python_requires = >=3.6 +python_requires = >=3.8 install_requires = numpy orjson - h5py >= 2.9 + h5py >= 3 tifffile [options.extras_require]