Skip to content

Commit abc64c4

Browse files
committed
break: drop Python 3.7, manylinux2010 & musllinux_1_1
1 parent fe743d0 commit abc64c4

File tree

3 files changed

+11
-20
lines changed

3 files changed

+11
-20
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,11 @@ jobs:
129129
test_sdist:
130130
name: Test SDist with python ${{ matrix.python }}
131131
needs: [build_sdist]
132-
runs-on: ubuntu-22.04
132+
runs-on: ubuntu-latest
133133
strategy:
134134
fail-fast: false
135135
matrix:
136-
python: ["3.7", "3.12"]
136+
python: ["3.8", "3.13"]
137137

138138
steps:
139139
- uses: actions/checkout@v4
@@ -147,7 +147,6 @@ jobs:
147147
- uses: astral-sh/setup-uv@v6
148148
with:
149149
enable-cache: false
150-
version: "0.6.17"
151150

152151
- name: Setup environment
153152
run: |

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Python Version Support
5252
----------------------
5353

5454
Versions after 1.11.1.1 no longer support Python 2-3.6, and require manylinux2010+ on linux.
55+
Versions after 1.13 no longer support Python 3.7, and require manylinux2014+/musllinux_1_2+ on linux.
5556

5657
License
5758
-------

pyproject.toml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ classifiers = [
3232
"Topic :: Software Development :: Build Tools",
3333
"Typing :: Typed",
3434
]
35-
requires-python = ">=3.7"
35+
requires-python = ">=3.8"
3636

3737
[project.urls]
3838
"Bug Tracker" = "https://github.com/scikit-build/ninja-python-distributions/issues"
@@ -94,18 +94,18 @@ test-command = "pytest {project}/tests"
9494
test-skip = ["*-macosx_universal2:arm64"]
9595
environment = { NINJA_PYTHON_DIST_ALLOW_NINJA_DEP = "1" }
9696
environment-pass = ["SETUPTOOLS_SCM_PRETEND_VERSION"]
97-
manylinux-x86_64-image = "quay.io/pypa/manylinux2010_x86_64:2022-08-05-4535177"
98-
manylinux-i686-image = "quay.io/pypa/manylinux2010_i686:2022-08-05-4535177"
97+
manylinux-x86_64-image = "manylinux2014"
98+
manylinux-i686-image = "manylinux2014"
9999
manylinux-aarch64-image = "manylinux2014"
100100
manylinux-ppc64le-image = "manylinux2014"
101101
manylinux-s390x-image = "manylinux2014"
102102
manylinux-armv7l-image = "manylinux_2_31"
103103
manylinux-riscv64-image = "manylinux_2_39"
104-
musllinux-x86_64-image = "quay.io/pypa/musllinux_1_1_x86_64:2024.10.26-1"
105-
musllinux-i686-image = "quay.io/pypa/musllinux_1_1_i686:2024.10.26-1"
106-
musllinux-aarch64-image = "quay.io/pypa/musllinux_1_1_aarch64:2024.10.26-1"
107-
musllinux-ppc64le-image = "quay.io/pypa/musllinux_1_1_ppc64le:2024.10.26-1"
108-
musllinux-s390x-image = "quay.io/pypa/musllinux_1_1_s390x:2024.10.26-1"
104+
musllinux-x86_64-image = "musllinux_1_2"
105+
musllinux-i686-image = "musllinux_1_2"
106+
musllinux-aarch64-image = "musllinux_1_2"
107+
musllinux-ppc64le-image = "musllinux_1_2"
108+
musllinux-s390x-image = "musllinux_1_2"
109109
musllinux-armv7l-image = "musllinux_1_2"
110110
musllinux-riscv64-image = "musllinux_1_2"
111111

@@ -117,15 +117,6 @@ select = "*-macos*"
117117
inherit.environment = "append"
118118
environment = { MACOSX_DEPLOYMENT_TARGET = "10.9" }
119119

120-
[[tool.cibuildwheel.overrides]]
121-
select = "*-manylinux_{x86_64,i686}"
122-
before-build = "python -m pip install 'pip==25.1.1'"
123-
build-frontend = "pip"
124-
inherit.environment = "append"
125-
environment = { LDFLAGS = "-static-libstdc++" }
126-
inherit.test-command = "prepend"
127-
test-command = "pip check"
128-
129120
[[tool.cibuildwheel.overrides]]
130121
select = "*-musllinux_*"
131122
inherit.environment = "append"

0 commit comments

Comments
 (0)