Skip to content

Commit c0e0458

Browse files
committed
Update to Python 3.10 as minimum (3.9 is EOL)
Also write down Python support policy.
1 parent edbd657 commit c0e0458

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
test_spin:
2121
strategy:
2222
matrix:
23-
python_version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
23+
python_version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
2424
os: [ubuntu-latest, windows-latest, macos-latest]
2525
runs-on: ${{ matrix.os }}
2626
steps:

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ nox -s test -- -v
296296
nox -s test -- -v spin/tests/test_meson.py
297297
```
298298

299+
`spin` takes a slightly more conservative approach than [SPEC 0](https://scientific-python.org/specs/spec-0000/), and
300+
supports all non-EOL versions of Python.
301+
299302
## History
300303

301304
The `dev.py` tool was [proposed for SciPy](https://github.com/scipy/scipy/issues/15489) by Ralf Gommers and [implemented](https://github.com/scipy/scipy/pull/15959) by Sayantika Banik, Eduardo Naufel Schettino, and Ralf Gommers (also see [Sayantika's blog post](https://labs.quansight.org/blog/the-evolution-of-the-scipy-developer-cli)).

example_pkg_src/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "example_pkg"
33
version = "0.0dev0"
4-
requires-python = ">=3.9"
4+
requires-python = ">=3.10"
55
description = "spin Example Package"
66

77
[build-system]

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "spin"
3-
requires-python = ">=3.9"
3+
requires-python = ">=3.10" # Oldest non-EOL Python here
44
description = "Developer tool for scientific Python libraries"
55
readme = "README.md"
66
license = {file = "LICENSE"}
@@ -15,7 +15,6 @@ classifiers = [
1515
"License :: OSI Approved :: BSD License",
1616
"Operating System :: OS Independent",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.9",
1918
"Programming Language :: Python :: 3.10",
2019
"Programming Language :: Python :: 3.11",
2120
"Programming Language :: Python :: 3.12",

0 commit comments

Comments
 (0)