Skip to content

Commit b37750b

Browse files
authored
Merge pull request numpy#28436 from mattip/manylinux2_28
BUILD: move to manylinux_2_28 wheel builds
2 parents dd3e7d9 + f45c071 commit b37750b

File tree

5 files changed

+10
-192
lines changed

5 files changed

+10
-192
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ stages:
6565
git submodule update --init
6666
displayName: 'Fetch submodules'
6767
- script: |
68-
# yum does not have a ninja package, so use the PyPI one
68+
# There are few options for i686 images at https://quay.io/organization/pypa,
69+
# use the glibc2.17 one (manylinux2014)
6970
docker run -v $(pwd):/numpy -e CFLAGS="-msse2 -std=c99 -UNDEBUG" \
7071
-e F77=gfortran-5 -e F90=gfortran-5 quay.io/pypa/manylinux2014_i686 \
7172
/bin/bash -xc "source /numpy/tools/ci/run_32_bit_linux_docker.sh"

doc/HOWTO_RELEASE.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ installers may be available for a subset of these versions (see below).
4242

4343
* **Linux**
4444

45-
We build and ship `manylinux2014 <https://www.python.org/dev/peps/pep-0513>`_
45+
We build and ship `manylinux_2_28 <https://www.python.org/dev/peps/pep-0600>`_
4646
wheels for NumPy. Many Linux distributions include their own binary builds
4747
of NumPy.
4848

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Build manylinux_2_28 wheels
2+
---------------------------
3+
Wheels for linux systems will use the ``manylinux_2_28`` tag, which means
4+
dropping support for redhat7/centos7, amazonlinux2, debian9, ubuntu18.04, and
5+
other pre-glibc2.28 operating system versions.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ test-command = "bash {project}/tools/wheels/cibw_test_command.sh {project}"
151151
enable = ["cpython-freethreading", "pypy", "cpython-prerelease"]
152152

153153
[tool.cibuildwheel.linux]
154-
manylinux-x86_64-image = "manylinux2014"
155-
manylinux-aarch64-image = "manylinux2014"
154+
manylinux-x86_64-image = "manylinux_2_28"
155+
manylinux-aarch64-image = "manylinux_2_28"
156156
musllinux-x86_64-image = "musllinux_1_2"
157157
musllinux-aarch64-image = "musllinux_1_2"
158158

tools/wheels/gfortran_utils.sh

Lines changed: 0 additions & 188 deletions
This file was deleted.

0 commit comments

Comments
 (0)