Skip to content

Commit fa26803

Browse files
committed
Drop python 3.9
1 parent 5af64c5 commit fa26803

File tree

17 files changed

+24
-48
lines changed

17 files changed

+24
-48
lines changed

copier.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ python_version_primary:
5656
type: str
5757
default: 3.11
5858
choices:
59-
"3.9":
60-
value: "3.9"
6159
"3.10":
6260
value: "3.10"
6361
"3.11":

cpp/.github/workflows/build.yaml.jinja

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -30,43 +30,27 @@ jobs:
3030
strategy:
3131
matrix:
3232
os: [ubuntu-latest, macos-latest, windows-latest]
33-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
34-
cibuildwheel: ["cp39", "cp310", "cp311", "cp312", "cp313"]
33+
python-version: [ "3.10", "3.11", "3.12", "3.13"]
34+
cibuildwheel: ["cp310", "cp311", "cp312", "cp313"]
3535
exclude:
36-
- python-version: "3.9"
37-
cibuildwheel: "cp310"
38-
- python-version: "3.9"
39-
cibuildwheel: "cp311"
40-
- python-version: "3.9"
41-
cibuildwheel: "cp312"
42-
- python-version: "3.9"
43-
cibuildwheel: "cp313"
44-
- python-version: "3.10"
45-
cibuildwheel: "cp39"
4636
- python-version: "3.10"
4737
cibuildwheel: "cp311"
4838
- python-version: "3.10"
4939
cibuildwheel: "cp312"
5040
- python-version: "3.10"
5141
cibuildwheel: "cp313"
52-
- python-version: "3.11"
53-
cibuildwheel: "cp39"
5442
- python-version: "3.11"
5543
cibuildwheel: "cp310"
5644
- python-version: "3.11"
5745
cibuildwheel: "cp312"
5846
- python-version: "3.11"
5947
cibuildwheel: "cp313"
60-
- python-version: "3.12"
61-
cibuildwheel: "cp39"
6248
- python-version: "3.12"
6349
cibuildwheel: "cp310"
6450
- python-version: "3.12"
6551
cibuildwheel: "cp311"
6652
- python-version: "3.12"
6753
cibuildwheel: "cp313"
68-
- python-version: "3.13"
69-
cibuildwheel: "cp39"
7054
- python-version: "3.13"
7155
cibuildwheel: "cp310"
7256
- python-version: "3.13"
@@ -94,11 +78,11 @@ jobs:
9478

9579
- name: Lint
9680
run: make lint
97-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
81+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
9882

9983
- name: Checks
10084
run: make checks
101-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
85+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
10286

10387
- name: Install build dependencies
10488
run: pip install cibuildwheel
@@ -132,13 +116,13 @@ jobs:
132116
with:
133117
name: {% raw %}test-results-${{ matrix.os }}-${{ matrix.python-version }}{% endraw %}
134118
path: junit.xml
135-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
119+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
136120

137121
- name: Publish Unit Test Results
138122
uses: EnricoMi/publish-unit-test-result-action@v2
139123
with:
140124
files: '**/junit.xml'
141-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
125+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
142126

143127
- name: Upload coverage
144128
uses: codecov/codecov-action@v5

cpp/pyproject.toml.jinja

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description = "{{project_description}}"
1313
readme = "README.md"
1414
license = { text = "Apache-2.0" }
1515
version = "0.1.0"
16-
requires-python = ">=3.9"
16+
requires-python = ">=3.10"
1717
keywords = []
1818

1919
classifiers = [
@@ -22,7 +22,6 @@ classifiers = [
2222
"Programming Language :: Python :: Implementation :: CPython",
2323
"Programming Language :: Python :: Implementation :: PyPy",
2424
"Programming Language :: Python :: 3",
25-
"Programming Language :: Python :: 3.9",
2625
"Programming Language :: Python :: 3.10",
2726
"Programming Language :: Python :: 3.11",
2827
"Programming Language :: Python :: 3.12",
@@ -84,7 +83,7 @@ ignore = [
8483
]
8584
8685
[tool.cibuildwheel]
87-
build = "cp39-* cp310-* cp311-* cp312-*"
86+
build = "cp310-* cp311-* cp312-* cp313-*"
8887
test-command = "echo 'TODO'"
8988
test-requires = []
9089

cpp/{% if add_wiki %}docs{% endif %}/wiki/Installation.md.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Pre-requisites
22

3-
You need Python >=3.9 on your machine to install `{{project_name_formatted}}`.
3+
You need Python >=3.10 on your machine to install `{{project_name_formatted}}`.
44

55
## Install with `pip`
66

examples/rust.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ email: [email protected]
66
github: python-project-templates
77
project_description: A Rust-Python project template
88
project_name: python template rust
9-
python_version_primary: '3.9'
9+
python_version_primary: '3.11'
1010
team: Python Project Template Authors

examples/rustjswasm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ email: [email protected]
66
github: python-project-templates
77
project_description: A Rust-Python project template
88
project_name: python template rustjswasm
9-
python_version_primary: '3.9'
9+
python_version_primary: '3.11'
1010
team: Python Project Template Authors

js/pyproject.toml.jinja

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "{{project_description}}"
99
readme = "README.md"
1010
license = { text = "Apache-2.0" }
1111
version = "0.1.0"
12-
requires-python = ">=3.9"
12+
requires-python = ">=3.10"
1313
keywords = []
1414

1515
classifiers = [
@@ -18,7 +18,6 @@ classifiers = [
1818
"Programming Language :: Python :: Implementation :: CPython",
1919
"Programming Language :: Python :: Implementation :: PyPy",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.9",
2221
"Programming Language :: Python :: 3.10",
2322
"Programming Language :: Python :: 3.11",
2423
"Programming Language :: Python :: 3.12",

js/{% if add_wiki %}docs{% endif %}/wiki/Installation.md.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Pre-requisites
22

3-
You need Python >=3.9 on your machine to install `{{project_name_formatted}}`.
3+
You need Python >=3.10 on your machine to install `{{project_name_formatted}}`.
44

55
## Install with `pip`
66

jupyter/pyproject.toml.jinja

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "{{project_description}}"
99
readme = "README.md"
1010
license = { text = "Apache-2.0" }
1111
version = "0.1.0"
12-
requires-python = ">=3.9"
12+
requires-python = ">=3.10"
1313
keywords = []
1414

1515
classifiers = [
@@ -20,7 +20,6 @@ classifiers = [
2020
"Programming Language :: Python :: Implementation :: CPython",
2121
"Programming Language :: Python :: Implementation :: PyPy",
2222
"Programming Language :: Python :: 3",
23-
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: 3.10",
2524
"Programming Language :: Python :: 3.11",
2625
"Programming Language :: Python :: 3.12",

jupyter/{% if add_wiki %}docs{% endif %}/wiki/Installation.md.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Pre-requisites
22

3-
You need Python >=3.9 on your machine to install `{{project_name_formatted}}`.
3+
You need Python >=3.10 on your machine to install `{{project_name_formatted}}`.
44

55
## Install with `pip`
66

0 commit comments

Comments
 (0)