Skip to content

Commit

Permalink
build: remove end of life Python versions 3.6 and 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jgriffiths committed Jul 11, 2023
1 parent caa8c9e commit a2bd78e
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
aarch64_version: ['cp36-*', 'cp37-*', 'cp38-*', 'cp39-*', 'cp310-*']
aarch64_version: ['cp38-*', 'cp39-*', 'cp310-*']
env:
CIBW_BEFORE_ALL_LINUX: yum install -y swig
CIBW_BEFORE_ALL_MACOS: brew install gnu-sed swig automake
CIBW_BEFORE_ALL_WINDOWS: choco install swig --version=3.0.12 --no-progress --allow-downgrade -y
CIBW_BEFORE_BUILD_WINDOWS: .\tools\msvc\wheel_preamble.bat
CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair --only-plat -w {dest_dir} {wheel}
CIBW_SKIP: "cp27-* cp35-* cp38-win32* cp39-win32* pp*"
CIBW_SKIP: "cp27-* cp35-* cp36-* cp37-* cp38-win32* cp39-win32* pp*"
LIBWALLY_DIR: "."
SWIG_PATH: "C:\\ProgramData\\chocolatey\\lib\\swig\\tools\\install\\swigwin-3.0.12"

Expand All @@ -33,24 +33,18 @@ jobs:
submodules: true

- name: Install MSVC
if: runner.os == 'Windows' && matrix.aarch64_version == 'cp36-*'
if: runner.os == 'Windows' && matrix.aarch64_version == 'cp38-*'
uses: ilammy/msvc-dev-cmd@v1.4.1

- name: Build Windows Wheels
if: runner.os == 'Windows' && matrix.aarch64_version == 'cp36-*'
if: runner.os == 'Windows' && matrix.aarch64_version == 'cp38-*'
uses: pypa/cibuildwheel@v1.11.0

- name: Build Obsolete Linux/macOS Wheels
if: runner.os != 'Windows' && matrix.aarch64_version == 'cp36-*'
uses: pypa/cibuildwheel@v2.1.1
env:
CIBW_BUILD: cp36-*

- name: Build Linux/macOS Wheels
if: runner.os != 'Windows' && matrix.aarch64_version == 'cp37-*'
if: runner.os != 'Windows' && matrix.aarch64_version == 'cp38-*'
uses: pypa/cibuildwheel@v2.1.2
env:
CIBW_SKIP: cp36-*
CIBW_SKIP: cp36-* cp37-*
CIBW_ARCHS_MACOS: "x86_64 arm64 universal2"

- name: Install qemu aarch64
Expand Down

0 comments on commit a2bd78e

Please sign in to comment.