From 4f12ef17456d90cfe9dd0aae695d2916f00a7df3 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Wed, 31 Jan 2024 08:30:42 +0000 Subject: [PATCH] Add M1 builder, update cibuildwheel (#53) * Add M1 builder, update cibuildwheel * Oops * Make pip shut up * Try if we still have to silence warnings * We do, but let's be more specific * Nope, wasn't enough --- .github/workflows/wheels.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 36d13a8..c04f9c2 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -4,11 +4,16 @@ name: Wheels on: push: tags: - - '*' + - "*" workflow_dispatch: schedule: - cron: "30 4 15 * *" +env: + PIP_DISABLE_PIP_VERSION_CHECK: 1 + PIP_NO_PYTHON_VERSION_WARNING: 1 + +permissions: {} jobs: wheels: @@ -17,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, windows-2019, macOS-11] + os: [ubuntu-20.04, windows-2019, macOS-11, macOS-14] steps: - uses: actions/checkout@v4 with: @@ -31,7 +36,7 @@ jobs: with: platforms: arm64 - - uses: pypa/cibuildwheel@v2.16.2 + - uses: pypa/cibuildwheel@v2.16.5 env: # Only build CPython 3.7, because we have portable abi3 wheels. # Windows arm64 is only available on 3.9 and later, Apple Silicon on @@ -40,7 +45,7 @@ jobs: CIBW_ARCHS_LINUX: "auto aarch64" CIBW_ARCHS_MACOS: "auto universal2" CIBW_TEST_COMMAND: python -c "from _argon2_cffi_bindings import ffi, lib; print(lib.ARGON2_VERSION_NUMBER)" - # Silence warning we can't do anything about. + # https://github.com/pypa/cibuildwheel/pull/1169 CIBW_TEST_SKIP: "*-macosx_universal2:arm64" - uses: actions/upload-artifact@v4