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: 1 addition & 1 deletion .copier-answers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: 18afe0a
_commit: 973c39c
_src_path: https://github.com/python-project-templates/base.git
add_docs: true
add_extension: cpp
Expand Down
28 changes: 6 additions & 22 deletions .github/workflows/build.yaml
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: test-results-${{ matrix.os }}-${{ matrix.python-version }}
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
2 changes: 1 addition & 1 deletion docs/wiki/Installation.md
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 `python-template-cpp`.
You need Python >=3.10 on your machine to install `python-template-cpp`.

## Install with `pip`

Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description = "A C++-Python project template"
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
Loading