Skip to content

Commit c7e138c

Browse files
committed
DEP: drop support for EOL Python 3.8 and (soon-to-be-EOL) 3.9, require 3.10 or newer, add explicit support for 3.14
1 parent 7f7a944 commit c7e138c

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,14 @@ jobs:
4242

4343
- name: Build just oldest and newest on PRs, all on tags
4444
shell: bash
45-
# - Always omit musl 3.8 b/c NumPy does not provide wheels for it
4645
# - Always omit musllinux_aarch64 because it's slow and niche
4746
# - On PPs, omit musllinux for speed
48-
# - On PRs, run just oldest and newest Python versions (and omit 3.8 aarch64)
47+
# - On PRs, run just oldest and newest Python versions (3.11 is the oldest abi3 target)
4948
run: |
5049
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
51-
CIBW_SKIP="cp38-* cp39-* cp310-* cp311-* cp38-*_aarch64 *musllinux*"
50+
CIBW_SKIP="cp3{12,13}-* *musllinux*"
5251
else
53-
CIBW_SKIP="cp38-* *musllinux_aarch64"
52+
CIBW_SKIP="*musllinux_aarch64"
5453
fi
5554
echo "CIBW_SKIP=$CIBW_SKIP" >> $GITHUB_ENV
5655
echo "Setting CIBW_SKIP=$CIBW_SKIP"

.github/workflows/tests_conda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
15+
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
1616
os: [windows-latest, ubuntu-latest, macos-latest]
1717
platform: [x64, x32]
1818
experimental: [false]

pyproject.toml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,17 @@ classifiers = [
1515
'Operating System :: POSIX :: Linux',
1616
'Programming Language :: Python',
1717
'Programming Language :: Python :: 3',
18-
'Programming Language :: Python :: 3.8',
19-
'Programming Language :: Python :: 3.9',
2018
'Programming Language :: Python :: 3.10',
2119
'Programming Language :: Python :: 3.11',
2220
'Programming Language :: Python :: 3.12',
2321
'Programming Language :: Python :: 3.13',
22+
'Programming Language :: Python :: 3.14',
2423
'Topic :: Scientific/Engineering',
2524
]
2625
dependencies = [
2726
"numpy>1.13.3",
2827
]
29-
requires-python = ">=3.8"
28+
requires-python = ">=3.10"
3029

3130
[dependency-groups]
3231
dev = [
@@ -44,8 +43,7 @@ dev = [
4443
requires = [
4544
"setuptools>=77.0.1",
4645
"cython>=0.29.20",
47-
"oldest-supported-numpy ; python_version < '3.9'",
48-
"numpy>=2.0.0,<3 ; python_version >= '3.9'",
46+
"numpy>=2.0.0,<3",
4947
]
5048
build-backend = "setuptools.build_meta"
5149

@@ -110,10 +108,10 @@ skip = [
110108
"*musllinux_aarch64*",
111109
]
112110

113-
# Emulated testing is slow, so trust that the Python 3.12 test is good enough on aarch64
111+
# Emulated testing is slow, so trust that the Python 3.14 test is good enough on aarch64
114112
# (takes about 5 minutes per wheel to build, and 5 minutes to test)
115113
test-skip = [
116-
"cp3{8,9,10,11}-*_aarch64",
114+
"cp3{10,11,12,13}-*_aarch64",
117115
]
118116
test-groups = "dev"
119117
test-command = [

0 commit comments

Comments
 (0)