Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions copier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ python_version_primary:
type: str
default: 3.11
choices:
"3.9":
value: "3.9"
"3.10":
value: "3.10"
"3.11":
Expand Down
28 changes: 6 additions & 22 deletions cpp/.github/workflows/build.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -30,43 +30,27 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
cibuildwheel: ["cp39", "cp310", "cp311", "cp312", "cp313"]
python-version: [ "3.10", "3.11", "3.12", "3.13"]
cibuildwheel: ["cp310", "cp311", "cp312", "cp313"]
exclude:
- python-version: "3.9"
cibuildwheel: "cp310"
- python-version: "3.9"
cibuildwheel: "cp311"
- python-version: "3.9"
cibuildwheel: "cp312"
- python-version: "3.9"
cibuildwheel: "cp313"
- python-version: "3.10"
cibuildwheel: "cp39"
- python-version: "3.10"
cibuildwheel: "cp311"
- python-version: "3.10"
cibuildwheel: "cp312"
- python-version: "3.10"
cibuildwheel: "cp313"
- python-version: "3.11"
cibuildwheel: "cp39"
- python-version: "3.11"
cibuildwheel: "cp310"
- python-version: "3.11"
cibuildwheel: "cp312"
- python-version: "3.11"
cibuildwheel: "cp313"
- python-version: "3.12"
cibuildwheel: "cp39"
- python-version: "3.12"
cibuildwheel: "cp310"
- python-version: "3.12"
cibuildwheel: "cp311"
- python-version: "3.12"
cibuildwheel: "cp313"
- python-version: "3.13"
cibuildwheel: "cp39"
- python-version: "3.13"
cibuildwheel: "cp310"
- python-version: "3.13"
Expand Down Expand Up @@ -94,11 +78,11 @@ jobs:

- name: Lint
run: make lint
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'

- name: Checks
run: make checks
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'

- name: Install build dependencies
run: pip install cibuildwheel
Expand Down Expand Up @@ -132,13 +116,13 @@ jobs:
with:
name: {% raw %}test-results-${{ matrix.os }}-${{ matrix.python-version }}{% endraw %}
path: junit.xml
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'

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

- name: Upload coverage
uses: codecov/codecov-action@v5
Expand Down
5 changes: 2 additions & 3 deletions cpp/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description = "{{project_description}}"
readme = "README.md"
license = { text = "Apache-2.0" }
version = "0.1.0"
requires-python = ">=3.9"
requires-python = ">=3.10"
keywords = []

classifiers = [
Expand All @@ -22,7 +22,6 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down Expand Up @@ -84,7 +83,7 @@ ignore = [
]

[tool.cibuildwheel]
build = "cp39-* cp310-* cp311-* cp312-*"
build = "cp310-* cp311-* cp312-* cp313-*"
test-command = "echo 'TODO'"
test-requires = []

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Pre-requisites

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

## Install with `pip`

Expand Down
2 changes: 1 addition & 1 deletion examples/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ email: 3105306+timkpaine@users.noreply.github.com
github: python-project-templates
project_description: A Rust-Python project template
project_name: python template rust
python_version_primary: '3.9'
python_version_primary: '3.11'
team: Python Project Template Authors
2 changes: 1 addition & 1 deletion examples/rustjswasm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ email: 3105306+timkpaine@users.noreply.github.com
github: python-project-templates
project_description: A Rust-Python project template
project_name: python template rustjswasm
python_version_primary: '3.9'
python_version_primary: '3.11'
team: Python Project Template Authors
3 changes: 1 addition & 2 deletions js/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description = "{{project_description}}"
readme = "README.md"
license = { text = "Apache-2.0" }
version = "0.1.0"
requires-python = ">=3.9"
requires-python = ">=3.10"
keywords = []

classifiers = [
Expand All @@ -18,7 +18,6 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Pre-requisites

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

## Install with `pip`

Expand Down
3 changes: 1 addition & 2 deletions jupyter/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description = "{{project_description}}"
readme = "README.md"
license = { text = "Apache-2.0" }
version = "0.1.0"
requires-python = ">=3.9"
requires-python = ">=3.10"
keywords = []

classifiers = [
Expand All @@ -20,7 +20,6 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Pre-requisites

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

## Install with `pip`

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "python-project-templates"
readme = "README.md"
license = { text = "Apache-2.0" }
version = "0.1.0"
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = []

[project.optional-dependencies]
Expand Down
3 changes: 1 addition & 2 deletions python/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description = "{{project_description}}"
readme = "README.md"
license = { text = "Apache-2.0" }
version = "0.1.0"
requires-python = ">=3.9"
requires-python = ">=3.10"
keywords = []

classifiers = [
Expand All @@ -18,7 +18,6 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Pre-requisites

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

## Install with `pip`

Expand Down
5 changes: 2 additions & 3 deletions rust/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description = "{{project_description}}"
readme = "README.md"
license = { text = "Apache-2.0" }
version = "0.1.0"
requires-python = ">=3.9"
requires-python = ">=3.10"
keywords = []

classifiers = [
Expand All @@ -19,7 +19,6 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down Expand Up @@ -92,7 +91,7 @@ ignore = [
]

[tool.cibuildwheel]
build = "cp39-*"
build = "cp310-*"
test-command = "pytest -vvv {project}/{{module}}/tests"
test-requires = ["pytest", "pytest-cov", "pytest-sugar", "pytest-xdist"]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Pre-requisites

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

## Install with `pip`

Expand Down
5 changes: 2 additions & 3 deletions rustjswasm/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description = "{{project_description}}"
readme = "README.md"
license = { text = "Apache-2.0" }
version = "0.1.0"
requires-python = ">=3.9"
requires-python = ">=3.10"
keywords = []

classifiers = [
Expand All @@ -19,7 +19,6 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down Expand Up @@ -107,7 +106,7 @@ ignore = [
]

[tool.cibuildwheel]
build = "cp39-*"
build = "cp310-*"
test-command = "pytest -vvv {project}/{{module}}/tests"
test-requires = ["pytest", "pytest-cov", "pytest-sugar", "pytest-xdist"]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Pre-requisites

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

## Install with `pip`

Expand Down
Loading