Skip to content

Commit ad08140

Browse files
committed
chore: update demo to the latest cookiecutter-robust-python
1 parent 01f198d commit ad08140

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

.cookiecutter.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_commit": "3e887129fed646a0b3b3fc562fa66e4f48229928",
2+
"_commit": "c1e4b3a769a0f8a9da426086043e06dff35a362f",
33
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
44
"add_rust_extension": false,
55
"author": "Kyle Oliver",
@@ -8,8 +8,8 @@
88
"email": "56kyleoliver+cookiecutter-robust-python@gmail.com",
99
"friendly_name": "Robust Python Demo",
1010
"license": "MIT",
11-
"max_python_version": "3.13",
12-
"min_python_version": "3.9",
11+
"max_python_version": "3.14",
12+
"min_python_version": "3.10",
1313
"package_name": "robust_python_demo",
1414
"project_name": "robust-python-demo",
1515
"repository_host": "github.com",

.cruft.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
3-
"commit": "3e887129fed646a0b3b3fc562fa66e4f48229928",
3+
"commit": "c1e4b3a769a0f8a9da426086043e06dff35a362f",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
77
"project_name": "robust-python-demo",
88
"package_name": "robust_python_demo",
99
"friendly_name": "Robust Python Demo",
10-
"min_python_version": "3.9",
11-
"max_python_version": "3.13",
10+
"min_python_version": "3.10",
11+
"max_python_version": "3.14",
1212
"add_rust_extension": false,
1313
"author": "Kyle Oliver",
1414
"email": "56kyleoliver+cookiecutter-robust-python@gmail.com",
@@ -20,7 +20,7 @@
2020
"license": "MIT",
2121
"development_status": "Development Status :: 1 - Planning",
2222
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
23-
"_commit": "3e887129fed646a0b3b3fc562fa66e4f48229928"
23+
"_commit": "c1e4b3a769a0f8a9da426086043e06dff35a362f"
2424
}
2525
},
2626
"directory": null

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ We welcome pull requests! For significant changes, it's best to open an issue fi
3333

3434
### Prerequisites
3535

36-
- Python 3.9+ (this project supports Python 3.9-3.13)
36+
- Python 3.10+ (this project supports Python 3.10-3.14)
3737
- [uv][uv-documentation] for dependency management
3838
- Git for version control
3939

@@ -84,7 +84,7 @@ We welcome pull requests! For significant changes, it's best to open an issue fi
8484
uvx nox -s tests-python
8585

8686
# Run tests for a specific Python version
87-
uvx nox -s tests-python-313
87+
uvx nox -s tests-python-314
8888

8989
# Run a specific test file
9090
uvx nox -s tests-python -- tests/unit_tests/test_specific.py

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
nox.options.default_venv_backend = "uv"
1515

1616
# Logic that helps avoid metaprogramming in cookiecutter-robust-python
17-
MIN_PYTHON_VERSION_SLUG: int = int("3.9".lstrip("3."))
18-
MAX_PYTHON_VERSION_SLUG: int = int("3.13".lstrip("3."))
17+
MIN_PYTHON_VERSION_SLUG: int = int("3.10".lstrip("3."))
18+
MAX_PYTHON_VERSION_SLUG: int = int("3.14".lstrip("3."))
1919

2020
PYTHON_VERSIONS: List[str] = [
2121
f"3.{VERSION_SLUG}" for VERSION_SLUG in range(MIN_PYTHON_VERSION_SLUG, MAX_PYTHON_VERSION_SLUG + 1)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ authors = [
88
license = "MIT"
99
license-files = ["LICENSE"]
1010
readme = "README.md"
11-
requires-python = ">=3.9,<4.0"
11+
requires-python = ">=3.10,<4.0"
1212
keywords = [
1313
"robust-python-demo",
1414
]
1515
classifiers = [
16-
"Programming Language :: Python :: 3.9",
16+
"Programming Language :: Python :: 3.10",
1717
"Programming Language :: Python :: 3 :: Only",
1818
]
1919
dependencies = [

pyrightconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@
3535
"basic": true,
3636
"reportMissingParameterType": "warning",
3737
"reportOptionalOperand": "warning",
38-
"pythonVersion": "3.9"
38+
"pythonVersion": "3.10"
3939
}

scripts/setup-venv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def main() -> None:
2323
def get_parser() -> argparse.ArgumentParser:
2424
"""Creates the argument parser for setup-venv."""
2525
parser: argparse.ArgumentParser = argparse.ArgumentParser(
26-
prog="setup-venv", usage="python ./scripts/setup-venv.py . -p '3.9'"
26+
prog="setup-venv", usage="python ./scripts/setup-venv.py . -p '3.10'"
2727
)
2828
parser.add_argument(
2929
"path",

0 commit comments

Comments
 (0)