Skip to content

Commit 2d92b75

Browse files
committed
feat: update most references to support 3.10 to 3.14
1 parent 4496785 commit 2d92b75

File tree

11 files changed

+76
-76
lines changed

11 files changed

+76
-76
lines changed

.ruff.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ exclude = [
3535
line-length = 120
3636
indent-width = 4
3737

38-
# Assume Python 3.9
39-
target-version = "py39"
38+
# Assume Python 3.10
39+
target-version = "py310"
4040

4141
[lint]
4242
# https://docs.astral.sh/ruff/rules

cookiecutter.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"project_name": "robust-python-demo",
33
"package_name": "{{ cookiecutter.project_name.replace('-', '_') }}",
44
"friendly_name": "{{ cookiecutter.project_name.replace('-', ' ').title() }}",
5-
"min_python_version": "3.9",
6-
"max_python_version": "3.13",
5+
"min_python_version": "3.10",
6+
"max_python_version": "3.14",
77
"add_rust_extension": false,
88
"author": "First Last",
99
"email": "cookiecutter.robust.python@gmail.com",

docs/getting-started-template-contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This section is for contributors looking to work on the `cookiecutter-robust-pyt
77
To contribute to the template, you will need:
88

99
1. **Git**: For version control.
10-
2. **Python 3.9+**: We recommend using a supported Python version.
10+
2. **Python 3.10+**: We recommend using a supported Python version.
1111
3. **uv**: Our chosen dependency manager (see [Dependency Management (02)](topics/02_dependency-management.md)). Install `uv` globally or in a base environment following the official {uv-install}`uv installation guide<>`.
1212
4. **Docker or Podman**: Required for testing the containerization aspects of the generated template (see [Container Build (11)](topics/11_container-build.md), [Dev Containers (17)](topics/17_dev-containers.md)).
1313
5. **Task Automation Tools**: The template uses `noxfile.py` for development workflows. We use `uvx` to run `nox` so that it automatically installs if needed.

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ For detailed tool explanations and project philosophy, see the full documentatio
1010

1111
Make sure you have these installed:
1212

13-
- **Python 3.9+** (or your chosen template version).
13+
- **Python 3.10+** (or your chosen template version).
1414
- **Git**.
1515
- **uv**: Our chosen dependency manager. Install it {uv-install}`officially<>`.
1616
- **Docker or Podman**: If you plan to work with containers (most web apps will need this). Install {docker-install}`Docker<>` or {podman-install}`Podman<>`.

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
nox.options.default_venv_backend = "uv"
1919

20-
DEFAULT_TEMPLATE_PYTHON_VERSION = "3.9"
20+
DEFAULT_TEMPLATE_PYTHON_VERSION = "3.10"
2121

2222
REPO_ROOT: Path = Path(__file__).parent.resolve()
2323
SCRIPTS_FOLDER: Path = REPO_ROOT / "scripts"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "cookiecutter-robust-python"
33
version = "0.1.0"
44
description = "Add your description here"
55
readme = "README.md"
6-
requires-python = ">=3.9,<4.0"
6+
requires-python = ">=3.10,<4.0"
77
dependencies = [
88
"cookiecutter>=2.6.0",
99
"cruft>=2.16.0",

{{cookiecutter.project_name}}/.github/workflows/test-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
strategy:
3434
matrix:
3535
include:
36-
- { python: "3.9", os: "ubuntu-latest" }
3736
- { python: "3.10", os: "ubuntu-latest" }
3837
- { python: "3.11", os: "ubuntu-latest" }
3938
- { python: "3.12", os: "ubuntu-latest" }
4039
- { python: "3.13", os: "ubuntu-latest" }
40+
- { python: "3.14", os: "ubuntu-latest" }
4141
- { python: "3.13", os: "macos-latest" }
4242
- { python: "3.13", os: "windows-latest" }
4343
steps:

{{cookiecutter.project_name}}/.github/workflows/typecheck-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: {{"${{ matrix.os }}"}}
3535
strategy:
3636
matrix:
37-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
37+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
3838
os: [ubuntu-latest]
3939

4040
steps:

{{cookiecutter.project_name}}/.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ typecheck-python:
114114
<<: *uv-cache
115115
parallel:
116116
matrix:
117-
- PYTHON_VERSION: ["3.9", "3.10", "3.11", "3.12", "3.13"]
117+
- PYTHON_VERSION: ["3.10", "3.11", "3.12", "3.13"]
118118
image: ghcr.io/astral-sh/uv:latest-python$PYTHON_VERSION-bookworm-slim
119119
script:
120120
- uvx nox -s typecheck-$PYTHON_VERSION
@@ -147,7 +147,7 @@ test-python:
147147
<<: *uv-cache
148148
parallel:
149149
matrix:
150-
- PYTHON_VERSION: ["3.9", "3.10", "3.11", "3.12", "3.13"]
150+
- PYTHON_VERSION: ["3.10", "3.11", "3.12", "3.13", "3.14"]
151151
image: ghcr.io/astral-sh/uv:latest-python$PYTHON_VERSION-bookworm-slim
152152
script:
153153
- uvx nox -s tests-python-${PYTHON_VERSION//.}

{{cookiecutter.project_name}}/.ruff.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ exclude = [
3333
line-length = 120
3434
indent-width = 4
3535

36-
# Assume Python 3.9
37-
target-version = "py39"
36+
# Assume Python 3.10
37+
target-version = "py310"
3838

3939
[lint]
4040
# https://docs.astral.sh/ruff/rules

0 commit comments

Comments
 (0)