Skip to content

Commit dded469

Browse files
committed
Bump version: v3.0.0b2
1 parent 327f5c3 commit dded469

18 files changed

+56
-35
lines changed

README.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
- uses: actions/setup-python@v5
9898

9999
- name: Install cibuildwheel
100-
run: python -m pip install cibuildwheel==3.0.0b1
100+
run: python -m pip install cibuildwheel==3.0.0b2
101101

102102
- name: Build wheels
103103
run: python -m cibuildwheel --output-dir wheelhouse
@@ -223,6 +223,16 @@ Not yet released, but available for testing.
223223

224224
Note - when using a beta version, be sure to check the [latest docs](https://cibuildwheel.pypa.io/en/latest/), rather than the stable version, which is still on v2.X.
225225

226+
Known issues:
227+
- ⚠️ The CWD for test-command has changed in v3.0, but that is still [being debated](https://github.com/pypa/cibuildwheel/issues/2406), it might change before the final release. Please provide feedback on the aforementioned issue if you do (or don't!) encounter issues with this.
228+
229+
#### v3.0.0b2
230+
231+
_25 May 2025_
232+
233+
- ✨ Adds the [`CIBW_TEST_ENVIRONMENT`](https://cibuildwheel.pypa.io/en/latest/options/#test-environment) option, which allows you to set environment variables for the test command. cibuildwheel now sets `PYTHONSAFEPATH=1` in test environments by default, to avoid picking up package imports from the local directory - we want to test the installed wheel, not the source tree! You can change that, or any other environment variable in the test environment using this option. (#2388)
234+
- ✨ Improves support for Pyodide builds and adds the [`CIBW_PYODIDE_VERSION`](https://cibuildwheel.pypa.io/en/latest/options/#pyodide-version) option, which allows you to specify the version of Pyodide to use for builds. (#2002)
235+
226236
#### v3.0.0b1
227237

228238
_19 May 2025_
@@ -232,7 +242,11 @@ _19 May 2025_
232242
- ✨ Adds CPython 3.14 support, under the [`enable` option](https://cibuildwheel.pypa.io/en/latest/options/#enable) `cpython-prerelease`. This version of cibuildwheel uses 3.14.0b1.
233243

234244
_While CPython is in beta, the ABI can change, so your wheels might not be compatible with the final release. For this reason, we don't recommend distributing wheels until RC1, at which point 3.14 will be available in cibuildwheel without the flag._ (#2390)
235-
- ✨ Adds the [test-sources option](https://cibuildwheel.pypa.io/en/latest/options/#test-sources). \[discussion about the test cwd change and how to use to come!\]
245+
- ✨ Adds the [test-sources option](https://cibuildwheel.pypa.io/en/latest/options/#test-sources), and changes the working directory for tests.
246+
247+
- If this option is set, cibuildwheel will copy the files and folders specified in `test-sources` into a temporary directory, and run the tests from there. This is required for iOS builds, but also useful for other platforms, as it allows you to test the installed wheel without any chance of accidentally importing from the source tree.
248+
- If this option is not set, cibuildwheel will run the tests in the source tree. This is a change from the previous behavior, where cibuildwheel would run the tests from a temporary directory. We're still investigating what's best here, so if you encounter any issues with this, please let us know in [issue #2406](https://github.com/pypa/cibuildwheel/issues/2406).
249+
236250
- ✨ Added `dependency-versions` inline syntax (#2123)
237251
- 🛠 EOL manylinux options can no longer be specified by their shortname. Full OCI URL can still be used for these images, if you wish (#2316)
238252
- 🛠 Build environments no longer have setuptools and wheel preinstalled. (#2329)
@@ -254,13 +268,6 @@ _24 March 2025_
254268
- 🛠 Dependency updates, including a manylinux update that fixes an ['undefined symbol' error](https://github.com/pypa/manylinux/issues/1760) in gcc-toolset (#2334)
255269
-
256270

257-
### v2.23.1
258-
259-
_15 March 2025_
260-
261-
- ⚠️ 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)
262-
- 🛠 Dependency updates, including a manylinux update which fixes an [issue with rustup](https://github.com/pypa/cibuildwheel/issues/2303). (#2315)
263-
264271
<!-- END bin/update_readme_changelog.py -->
265272

266273
---

cibuildwheel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.0.0b1"
1+
__version__ = "3.0.0b2"

docs/changelog.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ Not yet released, but available for testing.
1010

1111
Note - when using a beta version, be sure to check the [latest docs](https://cibuildwheel.pypa.io/en/latest/), rather than the stable version, which is still on v2.X.
1212

13+
Known issues:
14+
- ⚠️ The CWD for test-command has changed in v3.0, but that is still [being debated](https://github.com/pypa/cibuildwheel/issues/2406), it might change before the final release. Please provide feedback on the aforementioned issue if you do (or don't!) encounter issues with this.
15+
16+
#### v3.0.0b2
17+
18+
_25 May 2025_
19+
20+
- ✨ Adds the [`CIBW_TEST_ENVIRONMENT`](https://cibuildwheel.pypa.io/en/latest/options/#test-environment) option, which allows you to set environment variables for the test command. cibuildwheel now sets `PYTHONSAFEPATH=1` in test environments by default, to avoid picking up package imports from the local directory - we want to test the installed wheel, not the source tree! You can change that, or any other environment variable in the test environment using this option. (#2388)
21+
- ✨ Improves support for Pyodide builds and adds the [`CIBW_PYODIDE_VERSION`](https://cibuildwheel.pypa.io/en/latest/options/#pyodide-version) option, which allows you to specify the version of Pyodide to use for builds. (#2002)
22+
1323
#### v3.0.0b1
1424

1525
_19 May 2025_
@@ -19,7 +29,11 @@ _19 May 2025_
1929
- ✨ Adds CPython 3.14 support, under the [`enable` option](https://cibuildwheel.pypa.io/en/latest/options/#enable) `cpython-prerelease`. This version of cibuildwheel uses 3.14.0b1.
2030

2131
_While CPython is in beta, the ABI can change, so your wheels might not be compatible with the final release. For this reason, we don't recommend distributing wheels until RC1, at which point 3.14 will be available in cibuildwheel without the flag._ (#2390)
22-
- ✨ Adds the [test-sources option](https://cibuildwheel.pypa.io/en/latest/options/#test-sources). \[discussion about the test cwd change and how to use to come!\]
32+
- ✨ Adds the [test-sources option](https://cibuildwheel.pypa.io/en/latest/options/#test-sources), and changes the working directory for tests.
33+
34+
- If this option is set, cibuildwheel will copy the files and folders specified in `test-sources` into a temporary directory, and run the tests from there. This is required for iOS builds, but also useful for other platforms, as it allows you to test the installed wheel without any chance of accidentally importing from the source tree.
35+
- If this option is not set, cibuildwheel will run the tests in the source tree. This is a change from the previous behavior, where cibuildwheel would run the tests from a temporary directory. We're still investigating what's best here, so if you encounter any issues with this, please let us know in [issue #2406](https://github.com/pypa/cibuildwheel/issues/2406).
36+
2337
- ✨ Added `dependency-versions` inline syntax (#2123)
2438
- 🛠 EOL manylinux options can no longer be specified by their shortname. Full OCI URL can still be used for these images, if you wish (#2316)
2539
- 🛠 Build environments no longer have setuptools and wheel preinstalled. (#2329)

docs/faq.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ There are two suggested methods for keeping cibuildwheel up to date that instead
6060
If you use GitHub Actions for builds, you can use cibuildwheel as an action:
6161

6262
```yaml
63-
uses: pypa/[email protected].0b1
63+
uses: pypa/[email protected].0b2
6464
```
6565
6666
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.
@@ -82,7 +82,7 @@ The second option, and the only one that supports other CI systems, is using a `
8282

8383
```bash
8484
# requirements-cibw.txt
85-
cibuildwheel==3.0.0b1
85+
cibuildwheel==3.0.0b2
8686
```
8787

8888
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:
@@ -247,7 +247,7 @@ Solutions to this vary, but the simplest is to use pipx:
247247
# most runners have pipx preinstalled, but in case you don't
248248
python3 -m pip install pipx
249249
250-
pipx run cibuildwheel==3.0.0b1 --output-dir wheelhouse
250+
pipx run cibuildwheel==3.0.0b2 --output-dir wheelhouse
251251
pipx run twine upload wheelhouse/*.whl
252252
```
253253

examples/azure-pipelines-minimal.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
- bash: |
77
set -o errexit
88
python3 -m pip install --upgrade pip
9-
pip3 install cibuildwheel==3.0.0b1
9+
pip3 install cibuildwheel==3.0.0b2
1010
displayName: Install dependencies
1111
- bash: cibuildwheel --output-dir wheelhouse .
1212
displayName: Build wheels
@@ -20,7 +20,7 @@ jobs:
2020
- bash: |
2121
set -o errexit
2222
python3 -m pip install --upgrade pip
23-
python3 -m pip install cibuildwheel==3.0.0b1
23+
python3 -m pip install cibuildwheel==3.0.0b2
2424
displayName: Install dependencies
2525
- bash: cibuildwheel --output-dir wheelhouse .
2626
displayName: Build wheels
@@ -34,7 +34,7 @@ jobs:
3434
- bash: |
3535
set -o errexit
3636
python -m pip install --upgrade pip
37-
pip install cibuildwheel==3.0.0b1
37+
pip install cibuildwheel==3.0.0b2
3838
displayName: Install dependencies
3939
- bash: cibuildwheel --output-dir wheelhouse .
4040
displayName: Build wheels

examples/circleci-minimal.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- run:
1212
name: Build the Linux wheels.
1313
command: |
14-
python3 -m pip install --user cibuildwheel==3.0.0b1
14+
python3 -m pip install --user cibuildwheel==3.0.0b2
1515
cibuildwheel --output-dir wheelhouse
1616
- store_artifacts:
1717
path: wheelhouse/
@@ -28,7 +28,7 @@ jobs:
2828
- run:
2929
name: Build the Linux aarch64 wheels.
3030
command: |
31-
python3 -m pip install --user cibuildwheel==3.0.0b1
31+
python3 -m pip install --user cibuildwheel==3.0.0b2
3232
python3 -m cibuildwheel --output-dir wheelhouse
3333
- store_artifacts:
3434
path: wheelhouse/
@@ -44,7 +44,7 @@ jobs:
4444
name: Build the OS X wheels.
4545
command: |
4646
sudo softwareupdate --install-rosetta --agree-to-license # for python<=3.8 or x86_64/universal2 tests
47-
pip3 install cibuildwheel==3.0.0b1
47+
pip3 install cibuildwheel==3.0.0b2
4848
cibuildwheel --output-dir wheelhouse
4949
- store_artifacts:
5050
path: wheelhouse/

examples/cirrus-ci-intel-mac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
build_and_store_wheels: &BUILD_AND_STORE_WHEELS
22
install_cibuildwheel_script:
3-
- python -m pip install cibuildwheel==3.0.0b1
3+
- python -m pip install cibuildwheel==3.0.0b2
44
run_cibuildwheel_script:
55
- cibuildwheel
66
wheels_artifacts:

examples/cirrus-ci-minimal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
build_and_store_wheels: &BUILD_AND_STORE_WHEELS
22
install_cibuildwheel_script:
3-
- python -m pip install cibuildwheel==3.0.0b1
3+
- python -m pip install cibuildwheel==3.0.0b2
44
run_cibuildwheel_script:
55
- cibuildwheel
66
wheels_artifacts:

examples/github-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- uses: actions/checkout@v4
4545

4646
- name: Build wheels
47-
uses: pypa/[email protected].0b1
47+
uses: pypa/[email protected].0b2
4848
env:
4949
CIBW_PLATFORM: ${{ matrix.platform }}
5050
CIBW_ARCHS: ${{ matrix.archs }}

examples/github-minimal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v4
1616

1717
- name: Build wheels
18-
uses: pypa/[email protected].0b1
18+
uses: pypa/[email protected].0b2
1919
# env:
2020
# CIBW_SOME_OPTION: value
2121
# ...

0 commit comments

Comments
 (0)