From 8ab4212be2507042ed03ef612b2cff2298c63eea Mon Sep 17 00:00:00 2001 From: Joseph Hamman Date: Tue, 6 Feb 2024 08:45:11 -0800 Subject: [PATCH 1/3] temporarily disable mypy in v3 directory --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 10aff8b4c6..79344604a5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,6 +31,7 @@ repos: hooks: - id: mypy files: src + exclude: ^src/zarr/v3 args: [] additional_dependencies: - types-redis From 1b7a0a90d3d581cd82865b6921b1faf1774cee1c Mon Sep 17 00:00:00 2001 From: Joseph Hamman Date: Tue, 6 Feb 2024 08:53:04 -0800 Subject: [PATCH 2/3] use hatch in release workflow --- .github/workflows/releases.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index c08bfc6677..4d9565a6ab 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -19,23 +19,14 @@ jobs: - uses: actions/setup-python@v4.7.1 name: Install Python with: - python-version: '3.8' + python-version: '3.11' - name: Install PyBuild run: | - python -m pip install 'build!=0.1' setuptools-scm - + python -m pip install --upgrade pip + pip install hatch - name: Build wheel and sdist - run: | - python -m build - git describe - pwd - if [ -f dist/zarr-0.0.0.tar.gz ]; then - echo "WRONG VERSION NUMBER" - exit 1 - else - echo "All seem good" - fi + run: hatch build - uses: actions/upload-artifact@v3 with: name: releases From 66ead9024c5ebadc0be1b1b9d6f3da8b79dbf6fc Mon Sep 17 00:00:00 2001 From: Joseph Hamman Date: Tue, 6 Feb 2024 08:57:26 -0800 Subject: [PATCH 3/3] bumpy python version in docs and test action --- .github/workflows/python-package.yml | 2 +- .readthedocs.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index aa7158f1cf..5775d85c24 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.10', '3.11'] numpy_version: ['>=1.22.0', '==1.20.*'] exclude: - python-version: '3.10' diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 08cac8d78d..3a2fb6622b 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,7 +3,7 @@ version: 2 build: os: ubuntu-20.04 tools: - python: "3.9" + python: "3.10" sphinx: configuration: docs/conf.py