Skip to content

Commit 26cd9fa

Browse files
authored
temporarily disable mypy in v3 directory (#1649)
* temporarily disable mypy in v3 directory * use hatch in release workflow * bumpy python version in docs and test action
1 parent f8874bf commit 26cd9fa

File tree

4 files changed

+7
-15
lines changed

4 files changed

+7
-15
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ['3.8', '3.9', '3.10', '3.11']
18+
python-version: ['3.10', '3.11']
1919
numpy_version: ['>=1.22.0', '==1.20.*']
2020
exclude:
2121
- python-version: '3.10'

.github/workflows/releases.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,14 @@ jobs:
1919
- uses: actions/[email protected]
2020
name: Install Python
2121
with:
22-
python-version: '3.8'
22+
python-version: '3.11'
2323

2424
- name: Install PyBuild
2525
run: |
26-
python -m pip install 'build!=0.1' setuptools-scm
27-
26+
python -m pip install --upgrade pip
27+
pip install hatch
2828
- name: Build wheel and sdist
29-
run: |
30-
python -m build
31-
git describe
32-
pwd
33-
if [ -f dist/zarr-0.0.0.tar.gz ]; then
34-
echo "WRONG VERSION NUMBER"
35-
exit 1
36-
else
37-
echo "All seem good"
38-
fi
29+
run: hatch build
3930
- uses: actions/upload-artifact@v3
4031
with:
4132
name: releases

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ repos:
3131
hooks:
3232
- id: mypy
3333
files: src
34+
exclude: ^src/zarr/v3
3435
args: []
3536
additional_dependencies:
3637
- types-redis

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-20.04
55
tools:
6-
python: "3.9"
6+
python: "3.10"
77

88
sphinx:
99
configuration: docs/conf.py

0 commit comments

Comments
 (0)