Skip to content

Commit

Permalink
Fix the wheel-building workflow (#1822)
Browse files Browse the repository at this point in the history
This PR attempts to fix the current wheel-building workflow. That
workflow is failing on manylinux-aarch64 builds with a gcc internal
compiler error, so until we can understand the problem better we'll drop
those builds and the QEMU emulation.

While we're here, we also perform separate macOS Intel and ARM builds.
  • Loading branch information
mdickinson authored Jan 24, 2025
1 parent 8c9b700 commit 70b9bbb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build-wheels:
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
os: [windows-latest, macos-13, macos-14, ubuntu-latest]

runs-on: ${{ matrix.os }}

Expand All @@ -18,12 +18,6 @@ jobs:
- name: Check out the release commit
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
if: runner.os == 'Linux'

- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down
14 changes: 14 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Traits CHANGELOG
================

Release 7.0.1
-------------

Released: 2025-01-24

This is a bugfix release of the Traits package that adjusts the wheel
building configuration. There are no non-packaging-related changes
in this release.

Changes
~~~~~~~
* Drop problematic manylinux/aarch64 wheel builds; build separate wheels
for macOS/arm64 and macOS/x86_64. (#1822)

Release 7.0.0
-------------

Expand Down
6 changes: 0 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,3 @@ order_by_type = 'False'

[tool.cibuildwheel]
skip = 'pp*'

[tool.cibuildwheel.macos]
archs = ['auto', 'universal2']

[tool.cibuildwheel.linux]
archs = ['auto', 'aarch64']

0 comments on commit 70b9bbb

Please sign in to comment.