Skip to content

Commit 3e88712

Browse files
authored
Merge pull request #47 from robust-python/feature/update-supported-python
Update to Python 3.10-3.14
2 parents 8dd2951 + 90b211c commit 3e88712

17 files changed

+126
-329
lines changed

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: "3.13"
6+
python: "3.14"
77

88
python:
99
install:

.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",

uv.lock

Lines changed: 38 additions & 242 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.13
1+
3.14

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ 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" }
41-
- { python: "3.13", os: "macos-latest" }
42-
- { python: "3.13", os: "windows-latest" }
40+
- { python: "3.14", os: "ubuntu-latest" }
41+
- { python: "3.14", os: "macos-latest" }
42+
- { python: "3.14", os: "windows-latest" }
4343
steps:
4444
- name: Checkout code
4545
uses: actions/checkout@v4

0 commit comments

Comments
 (0)