Skip to content

Commit

Permalink
Build only for python 3.10+
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Apr 4, 2024
1 parent abd95de commit f105720
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cibuildwheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.11'

- name: Set up QEMU
if: ${{ matrix.arch == 'aarch64' }}
Expand All @@ -63,7 +63,7 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_BEFORE_ALL: python3 -m pip install cibuildwheel -U
CIBW_BUILD: 'cp38-win_amd64 cp39-win_amd64 cp310-win_amd64 cp311-win_amd64'
CIBW_BUILD: 'cp310-win_amd64 cp311-win_amd64 cp312-win_amd64'
CIBW_BEFORE_TEST: python3 -m pip install --upgrade pip && python3 -m pip install -r requirements-test.txt
CIBW_TEST_COMMAND: >
cmd /V /C "set BLOSC_TRACE=1 && python3 -m pytest {project}/tests"
Expand All @@ -75,7 +75,7 @@ jobs:
# The build requirements should be installed by the pyproject.toml specs
#CIBW_BEFORE_BUILD: python3 -m pip install --upgrade pip && python3 -m pip install -r requirements-build.txt
CIBW_BEFORE_BUILD_MACOS: CMAKE_OSX_ARCHITECTURES=x86_64
CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-*'
CIBW_BUILD: 'cp310-* cp311-* cp312-*'
CIBW_BEFORE_TEST: python3 -m pip install --upgrade pip && python3 -m pip install -r requirements-test.txt
CIBW_TEST_COMMAND: >
BLOSC_TRACE=1 python3 -m pytest {project}/tests
Expand All @@ -87,7 +87,7 @@ jobs:
uses: pypa/[email protected]
env:
# The build requirements should be installed by the pyproject.toml specs
CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-*'
CIBW_BUILD: 'cp310-* cp311-* cp312-*'
CIBW_ARCHS_LINUX: "aarch64"

- name: Build wheels (Mac OSX arm64)
Expand All @@ -96,7 +96,7 @@ jobs:
env:
# The build requirements should be installed by the pyproject.toml specs
CIBW_ENVIRONMENT: CMAKE_OSX_ARCHITECTURES=arm64 DONT_BUILD_EXAMPLES=1
CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-*'
CIBW_BUILD: 'cp310-* cp311-* cp312-*'
CIBW_TEST_SKIP: "*macosx*arm64*" # cibuild does not support testing arm64 on macos
CIBW_ARCHS_MACOS: "arm64"

Expand Down

0 comments on commit f105720

Please sign in to comment.