From 6b50c600f3560a26554faade42a695bfcdd905a5 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Thu, 26 Sep 2024 10:42:24 -0400 Subject: [PATCH 1/4] Bump cibuildwheel --- .github/workflows/build.yml | 8 ++++---- development.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ae7282..6e9c715 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: - name: Build Linux wheels and sdist if: runner.os == 'Linux' env: - CIBW_SKIP: "cp35-* cp36-* *-win32 *-musllinux_i686 *-musllinux_aarch64 *-musllinux_ppc64le *-musllinux_s390x *-manylinux_i686 *-manylinux_aarch64 *-manylinux_ppc64le *-manylinux_s390x" + CIBW_SKIP: "cp36-* *-win32 *-musllinux_i686 *-musllinux_aarch64 *-musllinux_ppc64le *-musllinux_s390x *-manylinux_i686 *-manylinux_aarch64 *-manylinux_ppc64le *-manylinux_s390x" CIBW_BUILD_VERBOSITY: 1 run: | python setup.py sdist @@ -67,7 +67,7 @@ jobs: - name: Build x86_64 macOS wheels if: runner.os == 'macOS' env: - CIBW_SKIP: "cp35-* cp36-* *-win32 *-manylinux_i686 *-manylinux_aarch64 *-manylinux_ppc64le *-manylinux_s390x" + CIBW_SKIP: "cp36-* *-win32 *-manylinux_i686 *-manylinux_aarch64 *-manylinux_ppc64le *-manylinux_s390x" CIBW_BUILD_VERBOSITY: 1 CIBW_ARCHS_MACOS: x86_64 run: | @@ -76,7 +76,7 @@ jobs: - name: Build arm64 macOS wheels if: runner.os == 'macOS' env: - CIBW_SKIP: "cp35-* cp36-* *-win32 *-manylinux_i686 *-manylinux_aarch64 *-manylinux_ppc64le *-manylinux_s390x" + CIBW_SKIP: "cp36-* *-win32 *-manylinux_i686 *-manylinux_aarch64 *-manylinux_ppc64le *-manylinux_s390x" CIBW_BUILD_VERBOSITY: 1 CIBW_ARCHS_MACOS: arm64 GOARCH: arm64 @@ -87,7 +87,7 @@ jobs: - name: Build Windows wheels if: runner.os == 'Windows' env: - CIBW_SKIP: "cp35-* cp36-* *-win32 *-manylinux_i686 *-manylinux_aarch64 *-manylinux_ppc64le *-manylinux_s390x" + CIBW_SKIP: "cp36-* *-win32 *-manylinux_i686 *-manylinux_aarch64 *-manylinux_ppc64le *-manylinux_s390x" CIBW_BUILD_VERBOSITY: 1 run: | python -m cibuildwheel --output-dir wheelhouse diff --git a/development.txt b/development.txt index 3807e6a..80dffde 100644 --- a/development.txt +++ b/development.txt @@ -7,5 +7,5 @@ isort==5.6.4 twine==4.0.2 pytest==6.2.5 psutil==5.7.3 -cibuildwheel==2.12.3 +cibuildwheel==2.21.1 importlib_metadata==6.7.0 From 2d747d825cdcf8b2942cbb47fe609a9e481cd5d9 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Thu, 26 Sep 2024 13:35:23 -0400 Subject: [PATCH 2/4] Mark as 0.0.14 --- CHANGELOG.md | 4 ++++ pybluemonday/__init__.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fdb0f54..7eeadfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.0.14 / 2024-09-26 + +* Properly release wheels for Python 3.12 + # 0.0.13 / 2024-09-26 * Bump bluemonday to 1.0.27 diff --git a/pybluemonday/__init__.py b/pybluemonday/__init__.py index 755ffa9..e59b578 100644 --- a/pybluemonday/__init__.py +++ b/pybluemonday/__init__.py @@ -4,7 +4,7 @@ from pybluemonday.bluemonday import ffi, lib -__version__ = "0.0.13" +__version__ = "0.0.14" @unique From e6148cd47e5459500432b1b53665d30b6204c349 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Thu, 26 Sep 2024 13:35:39 -0400 Subject: [PATCH 3/4] Don't downgrade cibuildwheel for windows --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e9c715..659957e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,6 @@ jobs: run: | choco install golang -f -y choco install mingw -f -y - pip install --force cibuildwheel==2.3.1 go get -d - name: Set up QEMU From 49592593c6d1916da83ece0d55c12714901e63f8 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Thu, 26 Sep 2024 13:52:13 -0400 Subject: [PATCH 4/4] Revert "Don't downgrade cibuildwheel for windows" This reverts commit e6148cd47e5459500432b1b53665d30b6204c349. --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 659957e..6e9c715 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,6 +32,7 @@ jobs: run: | choco install golang -f -y choco install mingw -f -y + pip install --force cibuildwheel==2.3.1 go get -d - name: Set up QEMU