Skip to content

Commit fca7c73

Browse files
authored
chore: bump cibuildwheel version, use action (#309)
1 parent 0b54e9c commit fca7c73

File tree

4 files changed

+6
-16
lines changed

4 files changed

+6
-16
lines changed

.github/workflows/ci-linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
python-version: ["3.6", "3.7", "3.8", "3.9"]
11+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
1212
os: [ubuntu-18.04, ubuntu-20.04]
1313

1414
steps:

.github/workflows/ci-osx.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
python-version: ["3.6", "3.7", "3.8", "3.9"]
11+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
1212

1313
steps:
1414
- name: Checkout source

.github/workflows/ci-windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
python-version: ["3.6", "3.7", "3.8", "3.9"]
11+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
1212

1313
steps:
1414
- name: Checkout source

.github/workflows/wheel.yaml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
env:
1414
CIBW_TEST_COMMAND: pytest --pyargs numcodecs
1515
CIBW_TEST_REQUIRES: pytest
16-
CIBW_SKIP: "*27* pp* *35*"
16+
CIBW_SKIP: "pp*"
1717
CIBW_ENVIRONMENT: "DISABLE_NUMCODECS_AVX2=1"
1818
CIBW_ENVIRONMENT_MACOS: 'MACOSX_DEPLOYMENT_TARGET=10.9 DISABLE_NUMCODECS_AVX2=1 CFLAGS="$CFLAGS -Wno-implicit-function-declaration"'
1919

@@ -22,18 +22,8 @@ jobs:
2222
with:
2323
submodules: true
2424

25-
- uses: actions/setup-python@v1
26-
name: Install Python
27-
with:
28-
python-version: '3.9'
25+
- uses: pypa/[email protected]
2926

30-
- name: Install cibuildwheel
31-
run: |
32-
python -m pip install cibuildwheel==1.8.0 wheel
33-
34-
- name: Build wheel
35-
run: |
36-
python -m cibuildwheel --output-dir wheelhouse
3727
- uses: actions/upload-artifact@v1
3828
with:
3929
name: wheels
@@ -53,7 +43,7 @@ jobs:
5343
python-version: '3.9'
5444

5545
- name: Build sdist
56-
run: python setup.py sdist
46+
run: pipx run build --sdist
5747

5848
- name: test install
5949
run: pip install dist/numcodecs*.tar.gz

0 commit comments

Comments
 (0)