Skip to content

Commit 15a84c1

Browse files
committed
break: drop Python 3.7, manylinux2010 & musllinux_1_1
1 parent a50c46e commit 15a84c1

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
@@ -114,11 +114,11 @@ jobs:
114114
test_sdist:
115115
name: Test SDist with python ${{ matrix.python }}
116116
needs: [build_sdist]
117-
runs-on: ubuntu-22.04
117+
runs-on: ubuntu-latest
118118
strategy:
119119
fail-fast: false
120120
matrix:
121-
python: ["3.7", "3.12"]
121+
python: ["3.8", "3.13"]
122122

123123
steps:
124124
- uses: actions/checkout@v4
@@ -132,7 +132,6 @@ jobs:
132132
- uses: astral-sh/setup-uv@v6
133133
with:
134134
enable-cache: false
135-
version: "0.6.17"
136135

137136
- name: Setup environment
138137
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,17 +94,17 @@ 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"
103-
musllinux-x86_64-image = "quay.io/pypa/musllinux_1_1_x86_64:2024.10.26-1"
104-
musllinux-i686-image = "quay.io/pypa/musllinux_1_1_i686:2024.10.26-1"
105-
musllinux-aarch64-image = "quay.io/pypa/musllinux_1_1_aarch64:2024.10.26-1"
106-
musllinux-ppc64le-image = "quay.io/pypa/musllinux_1_1_ppc64le:2024.10.26-1"
107-
musllinux-s390x-image = "quay.io/pypa/musllinux_1_1_s390x:2024.10.26-1"
103+
musllinux-x86_64-image = "musllinux_1_2"
104+
musllinux-i686-image = "musllinux_1_2"
105+
musllinux-aarch64-image = "musllinux_1_2"
106+
musllinux-ppc64le-image = "musllinux_1_2"
107+
musllinux-s390x-image = "musllinux_1_2"
108108
musllinux-armv7l-image = "musllinux_1_2"
109109

110110
[tool.cibuildwheel.config-settings]
@@ -115,15 +115,6 @@ select = "*-macos*"
115115
inherit.environment = "append"
116116
environment = { MACOSX_DEPLOYMENT_TARGET = "10.9" }
117117

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

0 commit comments

Comments
 (0)