From c087d85b69012f624e0321468b40345d921c72e5 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Wed, 12 Mar 2025 08:55:23 +0000 Subject: [PATCH 1/5] Update dependencies --- .../resources/constraints-pyodide312.txt | 2 +- .../resources/constraints-python310.txt | 2 +- .../resources/constraints-python311.txt | 2 +- .../resources/constraints-python312.txt | 2 +- .../resources/constraints-python313.txt | 2 +- .../resources/constraints-python38.txt | 2 +- .../resources/constraints-python39.txt | 2 +- cibuildwheel/resources/constraints.txt | 2 +- .../resources/pinned_docker_images.cfg | 42 +++++++++---------- cibuildwheel/resources/virtualenv.toml | 2 +- 10 files changed, 30 insertions(+), 30 deletions(-) diff --git a/cibuildwheel/resources/constraints-pyodide312.txt b/cibuildwheel/resources/constraints-pyodide312.txt index 8ce1bf4f..1ee368fc 100644 --- a/cibuildwheel/resources/constraints-pyodide312.txt +++ b/cibuildwheel/resources/constraints-pyodide312.txt @@ -102,7 +102,7 @@ unearth==0.17.2 # via pyodide-build urllib3==2.3.0 # via requests -virtualenv==20.29.2 +virtualenv==20.29.3 # via # build # pyodide-build diff --git a/cibuildwheel/resources/constraints-python310.txt b/cibuildwheel/resources/constraints-python310.txt index a65ea62b..c6355b3b 100644 --- a/cibuildwheel/resources/constraints-python310.txt +++ b/cibuildwheel/resources/constraints-python310.txt @@ -28,7 +28,7 @@ tomli==2.2.1 # via build typing-extensions==4.12.2 # via delocate -virtualenv==20.29.2 +virtualenv==20.29.3 # via -r cibuildwheel/resources/constraints.in zipp==3.21.0 # via importlib-metadata diff --git a/cibuildwheel/resources/constraints-python311.txt b/cibuildwheel/resources/constraints-python311.txt index ff8b1b1f..c1ba948c 100644 --- a/cibuildwheel/resources/constraints-python311.txt +++ b/cibuildwheel/resources/constraints-python311.txt @@ -24,5 +24,5 @@ pyproject-hooks==1.2.0 # via build typing-extensions==4.12.2 # via delocate -virtualenv==20.29.2 +virtualenv==20.29.3 # via -r cibuildwheel/resources/constraints.in diff --git a/cibuildwheel/resources/constraints-python312.txt b/cibuildwheel/resources/constraints-python312.txt index ff8b1b1f..c1ba948c 100644 --- a/cibuildwheel/resources/constraints-python312.txt +++ b/cibuildwheel/resources/constraints-python312.txt @@ -24,5 +24,5 @@ pyproject-hooks==1.2.0 # via build typing-extensions==4.12.2 # via delocate -virtualenv==20.29.2 +virtualenv==20.29.3 # via -r cibuildwheel/resources/constraints.in diff --git a/cibuildwheel/resources/constraints-python313.txt b/cibuildwheel/resources/constraints-python313.txt index ff8b1b1f..c1ba948c 100644 --- a/cibuildwheel/resources/constraints-python313.txt +++ b/cibuildwheel/resources/constraints-python313.txt @@ -24,5 +24,5 @@ pyproject-hooks==1.2.0 # via build typing-extensions==4.12.2 # via delocate -virtualenv==20.29.2 +virtualenv==20.29.3 # via -r cibuildwheel/resources/constraints.in diff --git a/cibuildwheel/resources/constraints-python38.txt b/cibuildwheel/resources/constraints-python38.txt index c5892095..72784c87 100644 --- a/cibuildwheel/resources/constraints-python38.txt +++ b/cibuildwheel/resources/constraints-python38.txt @@ -28,7 +28,7 @@ tomli==2.2.1 # via build typing-extensions==4.12.2 # via delocate -virtualenv==20.29.2 +virtualenv==20.29.3 # via -r cibuildwheel/resources/constraints.in zipp==3.20.2 # via importlib-metadata diff --git a/cibuildwheel/resources/constraints-python39.txt b/cibuildwheel/resources/constraints-python39.txt index a65ea62b..c6355b3b 100644 --- a/cibuildwheel/resources/constraints-python39.txt +++ b/cibuildwheel/resources/constraints-python39.txt @@ -28,7 +28,7 @@ tomli==2.2.1 # via build typing-extensions==4.12.2 # via delocate -virtualenv==20.29.2 +virtualenv==20.29.3 # via -r cibuildwheel/resources/constraints.in zipp==3.21.0 # via importlib-metadata diff --git a/cibuildwheel/resources/constraints.txt b/cibuildwheel/resources/constraints.txt index ff8b1b1f..c1ba948c 100644 --- a/cibuildwheel/resources/constraints.txt +++ b/cibuildwheel/resources/constraints.txt @@ -24,5 +24,5 @@ pyproject-hooks==1.2.0 # via build typing-extensions==4.12.2 # via delocate -virtualenv==20.29.2 +virtualenv==20.29.3 # via -r cibuildwheel/resources/constraints.in diff --git a/cibuildwheel/resources/pinned_docker_images.cfg b/cibuildwheel/resources/pinned_docker_images.cfg index a6d45df1..4de15098 100644 --- a/cibuildwheel/resources/pinned_docker_images.cfg +++ b/cibuildwheel/resources/pinned_docker_images.cfg @@ -1,58 +1,58 @@ [x86_64] manylinux1 = quay.io/pypa/manylinux1_x86_64:2024-04-29-76807b8 manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2022-08-05-4535177 -manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2025.02.28-1 +manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2025.03.09-1 manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2022-12-26-0d38463 -manylinux_2_28 = quay.io/pypa/manylinux_2_28_x86_64:2025.02.28-1 +manylinux_2_28 = quay.io/pypa/manylinux_2_28_x86_64:2025.03.09-1 musllinux_1_1 = quay.io/pypa/musllinux_1_1_x86_64:2024.10.26-1 -musllinux_1_2 = quay.io/pypa/musllinux_1_2_x86_64:2025.02.28-1 +musllinux_1_2 = quay.io/pypa/musllinux_1_2_x86_64:2025.03.09-1 [i686] manylinux1 = quay.io/pypa/manylinux1_i686:2024-04-29-76807b8 manylinux2010 = quay.io/pypa/manylinux2010_i686:2022-08-05-4535177 -manylinux2014 = quay.io/pypa/manylinux2014_i686:2025.02.28-1 +manylinux2014 = quay.io/pypa/manylinux2014_i686:2025.03.09-1 manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2022-12-26-0d38463 musllinux_1_1 = quay.io/pypa/musllinux_1_1_i686:2024.10.26-1 -musllinux_1_2 = quay.io/pypa/musllinux_1_2_i686:2025.02.28-1 +musllinux_1_2 = quay.io/pypa/musllinux_1_2_i686:2025.03.09-1 [pypy_x86_64] manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2022-08-05-4535177 -manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2025.02.28-1 +manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2025.03.09-1 manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2022-12-26-0d38463 -manylinux_2_28 = quay.io/pypa/manylinux_2_28_x86_64:2025.02.28-1 +manylinux_2_28 = quay.io/pypa/manylinux_2_28_x86_64:2025.03.09-1 [pypy_i686] manylinux2010 = quay.io/pypa/manylinux2010_i686:2022-08-05-4535177 -manylinux2014 = quay.io/pypa/manylinux2014_i686:2025.02.28-1 +manylinux2014 = quay.io/pypa/manylinux2014_i686:2025.03.09-1 manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2022-12-26-0d38463 [aarch64] -manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2025.02.28-1 +manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2025.03.09-1 manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2022-12-26-0d38463 -manylinux_2_28 = quay.io/pypa/manylinux_2_28_aarch64:2025.02.28-1 +manylinux_2_28 = quay.io/pypa/manylinux_2_28_aarch64:2025.03.09-1 musllinux_1_1 = quay.io/pypa/musllinux_1_1_aarch64:2024.10.26-1 -musllinux_1_2 = quay.io/pypa/musllinux_1_2_aarch64:2025.02.28-1 +musllinux_1_2 = quay.io/pypa/musllinux_1_2_aarch64:2025.03.09-1 [ppc64le] -manylinux2014 = quay.io/pypa/manylinux2014_ppc64le:2025.02.28-1 +manylinux2014 = quay.io/pypa/manylinux2014_ppc64le:2025.03.09-1 manylinux_2_24 = quay.io/pypa/manylinux_2_24_ppc64le:2022-12-26-0d38463 -manylinux_2_28 = quay.io/pypa/manylinux_2_28_ppc64le:2025.02.28-1 +manylinux_2_28 = quay.io/pypa/manylinux_2_28_ppc64le:2025.03.09-1 musllinux_1_1 = quay.io/pypa/musllinux_1_1_ppc64le:2024.10.26-1 -musllinux_1_2 = quay.io/pypa/musllinux_1_2_ppc64le:2025.02.28-1 +musllinux_1_2 = quay.io/pypa/musllinux_1_2_ppc64le:2025.03.09-1 [s390x] -manylinux2014 = quay.io/pypa/manylinux2014_s390x:2025.02.28-1 +manylinux2014 = quay.io/pypa/manylinux2014_s390x:2025.03.09-1 manylinux_2_24 = quay.io/pypa/manylinux_2_24_s390x:2022-12-26-0d38463 -manylinux_2_28 = quay.io/pypa/manylinux_2_28_s390x:2025.02.28-1 +manylinux_2_28 = quay.io/pypa/manylinux_2_28_s390x:2025.03.09-1 musllinux_1_1 = quay.io/pypa/musllinux_1_1_s390x:2024.10.26-1 -musllinux_1_2 = quay.io/pypa/musllinux_1_2_s390x:2025.02.28-1 +musllinux_1_2 = quay.io/pypa/musllinux_1_2_s390x:2025.03.09-1 [pypy_aarch64] -manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2025.02.28-1 +manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2025.03.09-1 manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2022-12-26-0d38463 -manylinux_2_28 = quay.io/pypa/manylinux_2_28_aarch64:2025.02.28-1 +manylinux_2_28 = quay.io/pypa/manylinux_2_28_aarch64:2025.03.09-1 [armv7l] -manylinux_2_31 = quay.io/pypa/manylinux_2_31_armv7l:2025.02.28-1 -musllinux_1_2 = quay.io/pypa/musllinux_1_2_armv7l:2025.02.28-1 +manylinux_2_31 = quay.io/pypa/manylinux_2_31_armv7l:2025.03.09-1 +musllinux_1_2 = quay.io/pypa/musllinux_1_2_armv7l:2025.03.09-1 diff --git a/cibuildwheel/resources/virtualenv.toml b/cibuildwheel/resources/virtualenv.toml index cb13b37a..b791121a 100644 --- a/cibuildwheel/resources/virtualenv.toml +++ b/cibuildwheel/resources/virtualenv.toml @@ -1,2 +1,2 @@ py36 = { version = "20.21.1", url = "https://github.com/pypa/get-virtualenv/blob/20.21.1/public/virtualenv.pyz?raw=true" } -default = { version = "20.29.1", url = "https://github.com/pypa/get-virtualenv/blob/20.29.1/public/virtualenv.pyz?raw=true" } +default = { version = "20.29.3", url = "https://github.com/pypa/get-virtualenv/blob/20.29.3/public/virtualenv.pyz?raw=true" } From a880bf5105e70f0add65d840db82a7cc6c1555e4 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 11 Mar 2025 16:44:06 -0400 Subject: [PATCH 2/5] fix: warn on deprecated images being set (#2312) * fix: warn on deprecated images being set Signed-off-by: Henry Schreiner * fix: handle repeated warning messages Signed-off-by: Henry Schreiner * Apply suggestions from code review Co-authored-by: Joe Rickerby * fix: try making the warnings once per Options Signed-off-by: Henry Schreiner --------- Signed-off-by: Henry Schreiner Co-authored-by: Joe Rickerby --- cibuildwheel/options.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/cibuildwheel/options.py b/cibuildwheel/options.py index 3fb9ebb7..9179f40b 100644 --- a/cibuildwheel/options.py +++ b/cibuildwheel/options.py @@ -567,6 +567,7 @@ class Options: self.command_line_arguments = command_line_arguments self.env = env self._defaults = defaults + self._image_warnings = set[str]() self.reader = OptionsReader( None if defaults else self.config_file_path, @@ -785,6 +786,24 @@ class Options: # default to manylinux2014 image = pinned_images["manylinux2014"] elif config_value in pinned_images: + if ( + config_value + in { + "manylinux1", + "manylinux2010", + "manylinux_2_24", + "musllinux_1_1", + } + and config_value not in self._image_warnings + ): + self._image_warnings.add(config_value) + msg = ( + f"Deprecated image {config_value!r}. This value will not work" + " in a future version of cibuildwheel. Either upgrade to a supported" + " image or continue using the deprecated image by pinning directly" + f" to {pinned_images[config_value]!r}." + ) + log.warning(msg) image = pinned_images[config_value] else: image = config_value From c25fe603855d4d4dbbb013375765345f346aece0 Mon Sep 17 00:00:00 2001 From: Matthieu Darbois Date: Wed, 12 Mar 2025 09:41:51 +0100 Subject: [PATCH 3/5] fix: image deprecation warning (#2314) --- cibuildwheel/options.py | 36 +++++++++++++++++------------------- unit_test/options_test.py | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 19 deletions(-) diff --git a/cibuildwheel/options.py b/cibuildwheel/options.py index 9179f40b..14e1d07a 100644 --- a/cibuildwheel/options.py +++ b/cibuildwheel/options.py @@ -567,7 +567,7 @@ class Options: self.command_line_arguments = command_line_arguments self.env = env self._defaults = defaults - self._image_warnings = set[str]() + self._image_warnings: set[str] = set() self.reader = OptionsReader( None if defaults else self.config_file_path, @@ -689,6 +689,20 @@ class Options: allow_empty=allow_empty, ) + def _check_pinned_image(self, value: str, pinned_images: Mapping[str, str]) -> None: + if ( + value in {"manylinux1", "manylinux2010", "manylinux_2_24", "musllinux_1_1"} + and value not in self._image_warnings + ): + self._image_warnings.add(value) + msg = ( + f"Deprecated image {value!r}. This value will not work" + " in a future version of cibuildwheel. Either upgrade to a supported" + " image or continue using the deprecated image by pinning directly" + f" to {pinned_images[value]!r}." + ) + log.warning(msg) + def build_options(self, identifier: str | None) -> BuildOptions: """ Compute BuildOptions for a single run configuration. @@ -786,24 +800,7 @@ class Options: # default to manylinux2014 image = pinned_images["manylinux2014"] elif config_value in pinned_images: - if ( - config_value - in { - "manylinux1", - "manylinux2010", - "manylinux_2_24", - "musllinux_1_1", - } - and config_value not in self._image_warnings - ): - self._image_warnings.add(config_value) - msg = ( - f"Deprecated image {config_value!r}. This value will not work" - " in a future version of cibuildwheel. Either upgrade to a supported" - " image or continue using the deprecated image by pinning directly" - f" to {pinned_images[config_value]!r}." - ) - log.warning(msg) + self._check_pinned_image(config_value, pinned_images) image = pinned_images[config_value] else: image = config_value @@ -818,6 +815,7 @@ class Options: if not config_value: image = pinned_images["musllinux_1_2"] elif config_value in pinned_images: + self._check_pinned_image(config_value, pinned_images) image = pinned_images[config_value] else: image = config_value diff --git a/unit_test/options_test.py b/unit_test/options_test.py index fb6727b0..a38393f8 100644 --- a/unit_test/options_test.py +++ b/unit_test/options_test.py @@ -459,3 +459,36 @@ def test_free_threaded_support( assert EnableGroups.CPythonFreeThreading in options.globals.build_selector.enable else: assert EnableGroups.CPythonFreeThreading not in options.globals.build_selector.enable + + +@pytest.mark.parametrize( + ("image", "deprecated"), + [ + ("manylinux1", True), + ("manylinux2010", True), + ("manylinux2014", False), + ("manylinux_2_24", True), + ("manylinux_2_28", False), + ("manylinux_2_34", False), + ("musllinux_1_1", True), + ("musllinux_1_2", False), + ], +) +def test_deprecated_image(image: str, deprecated: bool, capsys: pytest.CaptureFixture[str]) -> None: + args = CommandLineArguments.defaults() + env = { + "CIBW_ARCHS": "x86_64", + "CIBW_MANYLINUX_X86_64_IMAGE": image if image.startswith("manylinux") else "", + "CIBW_MUSLLINUX_X86_64_IMAGE": image if image.startswith("musllinux") else "", + } + options = Options(platform="linux", command_line_arguments=args, env=env) + bo = options.build_options(None) + images = bo.manylinux_images if image.startswith("manylinux") else bo.musllinux_images + assert images is not None + resolved_image = images["x86_64"] + captured = capsys.readouterr() + if deprecated: + assert f"Deprecated image {image!r}" in captured.err + assert f"{resolved_image!r}" in captured.err + else: + assert captured.err == "" From 6e1527b153c481c51f987a5e3a1bed216b16a260 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Wed, 12 Mar 2025 09:15:58 +0000 Subject: [PATCH 4/5] Fix unit test when other warnings are present --- unit_test/options_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit_test/options_test.py b/unit_test/options_test.py index a38393f8..0e1c38a4 100644 --- a/unit_test/options_test.py +++ b/unit_test/options_test.py @@ -491,4 +491,4 @@ def test_deprecated_image(image: str, deprecated: bool, capsys: pytest.CaptureFi assert f"Deprecated image {image!r}" in captured.err assert f"{resolved_image!r}" in captured.err else: - assert captured.err == "" + assert "Deprecated image" not in captured.err From 42728e866bbc80d544a70825bd9990b9a26f1a50 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Sat, 15 Mar 2025 17:58:14 +0000 Subject: [PATCH 5/5] Bump version: v2.23.1 --- README.md | 18 ++++++++---------- cibuildwheel/__init__.py | 2 +- docs/changelog.md | 7 +++++++ docs/faq.md | 6 +++--- docs/setup.md | 4 ++-- examples/appveyor-minimal.yml | 2 +- examples/azure-pipelines-minimal.yml | 6 +++--- examples/circleci-minimal.yml | 6 +++--- examples/cirrus-ci-intel-mac.yml | 2 +- examples/cirrus-ci-minimal.yml | 2 +- examples/github-deploy.yml | 2 +- examples/github-minimal.yml | 2 +- examples/github-with-qemu.yml | 2 +- examples/gitlab-minimal.yml | 6 +++--- examples/gitlab-with-qemu.yml | 2 +- examples/travis-ci-deploy.yml | 2 +- examples/travis-ci-minimal.yml | 2 +- examples/travis-ci-test-and-deploy.yml | 4 ++-- pyproject.toml | 2 +- 19 files changed, 42 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 714ef05c..cd63c51c 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ jobs: - uses: actions/setup-python@v5 - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.23.0 + run: python -m pip install cibuildwheel==2.23.1 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -215,6 +215,13 @@ Changelog +### v2.23.1 + +_15 March 2025_ + +- ⚠️ Added warnings when the shorthand values `manylinux1`, `manylinux2010`, `manylinux_2_24`, and `musllinux_1_1` are used to specify the images in linux builds. The shorthand to these (unmaintainted) images will be removed in v3.0. If you want to keep using these images, explicitly opt-in using the full image URL, which can be found in [this file](https://github.com/pypa/cibuildwheel/blob/v2.23.1/cibuildwheel/resources/pinned_docker_images.cfg). (#2312) +- 🛠 Dependency updates, including a manylinux update which fixes an [issue with rustup](https://github.com/pypa/cibuildwheel/issues/2303). (#2315) + ### v2.23.0 _1 March 2025_ @@ -261,15 +268,6 @@ _2 October 2024_ Note: the default [manylinux image](https://cibuildwheel.pypa.io/en/stable/options/#linux-image) is **scheduled to change** from `manylinux2014` to `manylinux_2_28` in a cibuildwheel release on or after **6th May 2025** - you can set the value now to avoid getting upgraded if you want. (#1992) -### v2.21.1 - -_16 September 2024_ - -- 🐛 Fix a bug in the Linux build, where files copied to the container would have invalid ownership permissions (#2007) -- 🐛 Fix a bug on Windows where cibuildwheel would call upon `uv` to install dependencies for versions of CPython that it does not support (#2005) -- 🐛 Fix a bug where `uv 0.4.10` would not use the right Python when testing on Linux. (#2008) -- 🛠 Bump our documentation pins, fixes an issue with a missing package (#2011) - --- diff --git a/cibuildwheel/__init__.py b/cibuildwheel/__init__.py index 91d675f0..542a9415 100644 --- a/cibuildwheel/__init__.py +++ b/cibuildwheel/__init__.py @@ -1,3 +1,3 @@ from __future__ import annotations -__version__ = "2.23.0" +__version__ = "2.23.1" diff --git a/docs/changelog.md b/docs/changelog.md index 7b60b73f..87f40492 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -4,6 +4,13 @@ title: Changelog # Changelog +### v2.23.1 + +_15 March 2025_ + +- ⚠️ Added warnings when the shorthand values `manylinux1`, `manylinux2010`, `manylinux_2_24`, and `musllinux_1_1` are used to specify the images in linux builds. The shorthand to these (unmaintainted) images will be removed in v3.0. If you want to keep using these images, explicitly opt-in using the full image URL, which can be found in [this file](https://github.com/pypa/cibuildwheel/blob/v2.23.1/cibuildwheel/resources/pinned_docker_images.cfg). (#2312) +- 🛠 Dependency updates, including a manylinux update which fixes an [issue with rustup](https://github.com/pypa/cibuildwheel/issues/2303). (#2315) + ### v2.23.0 _1 March 2025_ diff --git a/docs/faq.md b/docs/faq.md index 7ef36636..8df6278e 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -142,7 +142,7 @@ There are two suggested methods for keeping cibuildwheel up to date that instead If you use GitHub Actions for builds, you can use cibuildwheel as an action: ```yaml -uses: pypa/cibuildwheel@v2.23.0 +uses: pypa/cibuildwheel@v2.23.1 ``` This is a composite step that just runs cibuildwheel using pipx. You can set command-line options as `with:` parameters, and use `env:` as normal. @@ -164,7 +164,7 @@ The second option, and the only one that supports other CI systems, is using a ` ```bash # requirements-cibw.txt -cibuildwheel==2.23.0 +cibuildwheel==2.23.1 ``` Then your install step would have `python -m pip install -r requirements-cibw.txt` in it. Your `.github/dependabot.yml` file could look like this: @@ -328,7 +328,7 @@ Solutions to this vary, but the simplest is to use pipx: # most runners have pipx preinstalled, but in case you don't python3 -m pip install pipx -pipx run cibuildwheel==2.23.0 --output-dir wheelhouse +pipx run cibuildwheel==2.23.1 --output-dir wheelhouse pipx run twine upload wheelhouse/*.whl ``` diff --git a/docs/setup.md b/docs/setup.md index 2ddea434..93c3d95e 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -161,7 +161,7 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/ - uses: actions/checkout@v4 - name: Build wheels - run: pipx run cibuildwheel==2.23.0 + run: pipx run cibuildwheel==2.23.1 - uses: actions/upload-artifact@v4 with: @@ -198,7 +198,7 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/ - uses: actions/setup-python@v5 - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.23.0 + run: python -m pip install cibuildwheel==2.23.1 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse diff --git a/examples/appveyor-minimal.yml b/examples/appveyor-minimal.yml index cf013cd8..e1c9d39b 100644 --- a/examples/appveyor-minimal.yml +++ b/examples/appveyor-minimal.yml @@ -9,7 +9,7 @@ environment: stack: python 3.12 -install: python -m pip install cibuildwheel==2.23.0 +install: python -m pip install cibuildwheel==2.23.1 build_script: python -m cibuildwheel --output-dir wheelhouse diff --git a/examples/azure-pipelines-minimal.yml b/examples/azure-pipelines-minimal.yml index 4b5d3e14..1aed664d 100644 --- a/examples/azure-pipelines-minimal.yml +++ b/examples/azure-pipelines-minimal.yml @@ -6,7 +6,7 @@ jobs: - bash: | set -o errexit python3 -m pip install --upgrade pip - pip3 install cibuildwheel==2.23.0 + pip3 install cibuildwheel==2.23.1 displayName: Install dependencies - bash: cibuildwheel --output-dir wheelhouse . displayName: Build wheels @@ -20,7 +20,7 @@ jobs: - bash: | set -o errexit python3 -m pip install --upgrade pip - python3 -m pip install cibuildwheel==2.23.0 + python3 -m pip install cibuildwheel==2.23.1 displayName: Install dependencies - bash: cibuildwheel --output-dir wheelhouse . displayName: Build wheels @@ -34,7 +34,7 @@ jobs: - bash: | set -o errexit python -m pip install --upgrade pip - pip install cibuildwheel==2.23.0 + pip install cibuildwheel==2.23.1 displayName: Install dependencies - bash: cibuildwheel --output-dir wheelhouse . displayName: Build wheels diff --git a/examples/circleci-minimal.yml b/examples/circleci-minimal.yml index 5fec2b5f..f0bfec4f 100644 --- a/examples/circleci-minimal.yml +++ b/examples/circleci-minimal.yml @@ -11,7 +11,7 @@ jobs: - run: name: Build the Linux wheels. command: | - python3 -m pip install --user cibuildwheel==2.23.0 + python3 -m pip install --user cibuildwheel==2.23.1 cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ @@ -28,7 +28,7 @@ jobs: - run: name: Build the Linux aarch64 wheels. command: | - python3 -m pip install --user cibuildwheel==2.23.0 + python3 -m pip install --user cibuildwheel==2.23.1 python3 -m cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ @@ -44,7 +44,7 @@ jobs: name: Build the OS X wheels. command: | sudo softwareupdate --install-rosetta --agree-to-license # for python<=3.8 or x86_64/universal2 tests - pip3 install cibuildwheel==2.23.0 + pip3 install cibuildwheel==2.23.1 cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ diff --git a/examples/cirrus-ci-intel-mac.yml b/examples/cirrus-ci-intel-mac.yml index a48e1501..c8f66a18 100644 --- a/examples/cirrus-ci-intel-mac.yml +++ b/examples/cirrus-ci-intel-mac.yml @@ -1,6 +1,6 @@ build_and_store_wheels: &BUILD_AND_STORE_WHEELS install_cibuildwheel_script: - - python -m pip install cibuildwheel==2.23.0 + - python -m pip install cibuildwheel==2.23.1 run_cibuildwheel_script: - cibuildwheel wheels_artifacts: diff --git a/examples/cirrus-ci-minimal.yml b/examples/cirrus-ci-minimal.yml index c09baa33..7bfb28ca 100644 --- a/examples/cirrus-ci-minimal.yml +++ b/examples/cirrus-ci-minimal.yml @@ -1,6 +1,6 @@ build_and_store_wheels: &BUILD_AND_STORE_WHEELS install_cibuildwheel_script: - - python -m pip install cibuildwheel==2.23.0 + - python -m pip install cibuildwheel==2.23.1 run_cibuildwheel_script: - cibuildwheel wheels_artifacts: diff --git a/examples/github-deploy.yml b/examples/github-deploy.yml index 2061be4d..c2060150 100644 --- a/examples/github-deploy.yml +++ b/examples/github-deploy.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - name: Build wheels - uses: pypa/cibuildwheel@v2.23.0 + uses: pypa/cibuildwheel@v2.23.1 - uses: actions/upload-artifact@v4 with: diff --git a/examples/github-minimal.yml b/examples/github-minimal.yml index 91c2a7ed..fb1a5262 100644 --- a/examples/github-minimal.yml +++ b/examples/github-minimal.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - name: Build wheels - uses: pypa/cibuildwheel@v2.23.0 + uses: pypa/cibuildwheel@v2.23.1 # env: # CIBW_SOME_OPTION: value # ... diff --git a/examples/github-with-qemu.yml b/examples/github-with-qemu.yml index c3da30a4..d7914571 100644 --- a/examples/github-with-qemu.yml +++ b/examples/github-with-qemu.yml @@ -21,7 +21,7 @@ jobs: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.23.0 + uses: pypa/cibuildwheel@v2.23.1 env: # configure cibuildwheel on Linux to build native archs ('auto'), # and to split the remaining architectures between the x86_64 and diff --git a/examples/gitlab-minimal.yml b/examples/gitlab-minimal.yml index 10154026..7018a9c1 100644 --- a/examples/gitlab-minimal.yml +++ b/examples/gitlab-minimal.yml @@ -12,7 +12,7 @@ linux: DOCKER_TLS_CERTDIR: "" script: - curl -sSL https://get.docker.com/ | sh - - python -m pip install cibuildwheel==2.23.0 + - python -m pip install cibuildwheel==2.23.1 - cibuildwheel --output-dir wheelhouse artifacts: paths: @@ -23,7 +23,7 @@ windows: before_script: - choco install python -y --version 3.12.4 - choco install git.install -y - - py -m pip install cibuildwheel==2.23.0 + - py -m pip install cibuildwheel==2.23.1 script: - py -m cibuildwheel --output-dir wheelhouse --platform windows artifacts: @@ -35,7 +35,7 @@ windows: macos: image: macos-14-xcode-15 before_script: - - python3 -m pip install cibuildwheel==2.23.0 + - python3 -m pip install cibuildwheel==2.23.1 script: - python3 -m cibuildwheel --output-dir wheelhouse artifacts: diff --git a/examples/gitlab-with-qemu.yml b/examples/gitlab-with-qemu.yml index dab068fe..0e748416 100644 --- a/examples/gitlab-with-qemu.yml +++ b/examples/gitlab-with-qemu.yml @@ -14,7 +14,7 @@ linux: - curl -sSL https://get.docker.com/ | sh # Warning: This is extremely slow, be careful with how many wheels you build - docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - - python -m pip install cibuildwheel==2.23.0 + - python -m pip install cibuildwheel==2.23.1 # Assuming your CI runner's default architecture is x86_64... - cibuildwheel --output-dir wheelhouse --platform linux --archs aarch64 artifacts: diff --git a/examples/travis-ci-deploy.yml b/examples/travis-ci-deploy.yml index f306def3..88e1923a 100644 --- a/examples/travis-ci-deploy.yml +++ b/examples/travis-ci-deploy.yml @@ -20,7 +20,7 @@ jobs: - ln -s /c/Python312/python.exe /c/Python312/python3.exe install: - - python3 -m pip install cibuildwheel==2.23.0 + - python3 -m pip install cibuildwheel==2.23.1 script: # build the wheels, put them into './dist' diff --git a/examples/travis-ci-minimal.yml b/examples/travis-ci-minimal.yml index 431c9421..0db795b1 100644 --- a/examples/travis-ci-minimal.yml +++ b/examples/travis-ci-minimal.yml @@ -26,7 +26,7 @@ jobs: - ln -s /c/Python312/python.exe /c/Python312/python3.exe install: - - python3 -m pip install cibuildwheel==2.23.0 + - python3 -m pip install cibuildwheel==2.23.1 script: # build the wheels, put them into './wheelhouse' diff --git a/examples/travis-ci-test-and-deploy.yml b/examples/travis-ci-test-and-deploy.yml index 76155817..6922a50b 100644 --- a/examples/travis-ci-test-and-deploy.yml +++ b/examples/travis-ci-test-and-deploy.yml @@ -52,7 +52,7 @@ jobs: - stage: deploy name: Build and deploy Linux wheels services: docker - install: python3 -m pip install cibuildwheel==2.23.0 twine + install: python3 -m pip install cibuildwheel==2.23.1 twine script: python3 -m cibuildwheel --output-dir wheelhouse after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl # Deploy on windows @@ -60,7 +60,7 @@ jobs: name: Build and deploy Windows wheels os: windows language: shell - install: python3 -m pip install cibuildwheel==2.23.0 twine + install: python3 -m pip install cibuildwheel==2.23.1 twine script: python3 -m cibuildwheel --output-dir wheelhouse after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl diff --git a/pyproject.toml b/pyproject.toml index 9e0dbb5c..25ad1454 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "cibuildwheel" -version = "2.23.0" +version = "2.23.1" description = "Build Python wheels on CI with minimal configuration." readme = "README.md" license = "BSD-2-Clause"