Skip to content

Commit 78bf53c

Browse files
authored
Merge pull request #25475 from QuLogic/no-wheel32
Stop building 32-bit Linux wheels
2 parents 3074d30 + 1d0fc0c commit 78bf53c

File tree

2 files changed

+18
-29
lines changed

2 files changed

+18
-29
lines changed

.github/workflows/cibuildwheel.yml

+13-29
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,29 @@ jobs:
3535
name: Build wheels on ${{ matrix.os }}
3636
runs-on: ${{ matrix.os }}
3737
env:
38-
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
39-
MACOSX_DEPLOYMENT_TARGET: "10.12"
38+
CIBW_BEFORE_BUILD: >-
39+
pip install certifi oldest-supported-numpy &&
40+
git clean -fxd build
4041
CIBW_BEFORE_BUILD_WINDOWS: >-
4142
pip install certifi delvewheel oldest-supported-numpy &&
4243
git clean -fxd build
4344
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: >-
4445
delvewheel repair -w {dest_dir} {wheel}
46+
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
47+
CIBW_SKIP: "*-musllinux*"
48+
MACOSX_DEPLOYMENT_TARGET: "10.12"
49+
MPL_DISABLE_FH4: "yes"
4550
strategy:
4651
matrix:
47-
os: [ubuntu-20.04, windows-latest, macos-11]
48-
cibw_archs: ["auto"]
4952
include:
53+
- os: ubuntu-20.04
54+
cibw_archs: "x86_64"
5055
- os: ubuntu-20.04
5156
cibw_archs: "aarch64"
57+
- os: windows-latest
58+
cibw_archs: "auto"
59+
- os: macos-11
60+
cibw_archs: "x86_64 universal2 arm64"
5261

5362
steps:
5463
- name: Set up QEMU
@@ -73,49 +82,24 @@ jobs:
7382
uses: pypa/cibuildwheel@v2.12.1
7483
env:
7584
CIBW_BUILD: "cp311-*"
76-
CIBW_SKIP: "*-musllinux*"
77-
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
78-
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
79-
CIBW_BEFORE_BUILD: >-
80-
pip install certifi oldest-supported-numpy &&
81-
git clean -fxd build
82-
MPL_DISABLE_FH4: "yes"
8385
CIBW_ARCHS: ${{ matrix.cibw_archs }}
8486

8587
- name: Build wheels for CPython 3.10
8688
uses: pypa/cibuildwheel@v2.12.1
8789
env:
8890
CIBW_BUILD: "cp310-*"
89-
CIBW_SKIP: "*-musllinux*"
90-
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
91-
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
92-
CIBW_BEFORE_BUILD: >-
93-
pip install certifi oldest-supported-numpy &&
94-
git clean -fxd build
95-
MPL_DISABLE_FH4: "yes"
9691
CIBW_ARCHS: ${{ matrix.cibw_archs }}
9792

9893
- name: Build wheels for CPython 3.9
9994
uses: pypa/cibuildwheel@v2.12.1
10095
env:
10196
CIBW_BUILD: "cp39-*"
102-
CIBW_SKIP: "*-musllinux*"
103-
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
104-
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
105-
CIBW_BEFORE_BUILD: >-
106-
pip install certifi oldest-supported-numpy &&
107-
git clean -fxd build
108-
MPL_DISABLE_FH4: "yes"
10997
CIBW_ARCHS: ${{ matrix.cibw_archs }}
11098

11199
- name: Build wheels for PyPy
112100
uses: pypa/cibuildwheel@v2.12.1
113101
env:
114102
CIBW_BUILD: "pp39-*"
115-
CIBW_SKIP: "*-musllinux*"
116-
CIBW_BEFORE_BUILD: >-
117-
pip install certifi oldest-supported-numpy &&
118-
git clean -fxd build
119103
CIBW_ARCHS: ${{ matrix.cibw_archs }}
120104
if: matrix.cibw_archs != 'aarch64'
121105

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Wheels for 32-bit Linux are no longer distributed
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
Pre-compiled wheels for 32-bit Linux are no longer provided on PyPI since
5+
Matplotlib 3.8.

0 commit comments

Comments
 (0)