Skip to content

Commit 9224c09

Browse files
authored
feat: recommend Python 3.12 (#323)
1 parent bc2e08e commit 9224c09

6 files changed

Lines changed: 6 additions & 162 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "substrate",
3-
"image": "ghcr.io/astral-sh/uv:python3.10-trixie",
3+
"image": "ghcr.io/astral-sh/uv:python3.13-trixie",
44
"features": {
55
"ghcr.io/devcontainers/features/docker-in-docker:2": {
66
"moby": false

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
--data project_url="https://github.com/user/repo" \
4242
--data author_name="John Smith" \
4343
--data author_email="john@example.com" \
44-
--data python_version="3.10" \
44+
--data python_version="${{ matrix.python-version }}" \
4545
--data typing="${{ matrix.typing }}" \
4646
--data with_fastapi_api=true \
4747
--data with_typer_cli=true

copier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ author_email:
5656
python_version:
5757
type: str
5858
help: "{% if project_type == 'app' %}Which Python version should your app use?{% else %}What is the minimum Python version your package should support?{% endif %}"
59-
default: "{% if project_type == 'app' %}3.12{% else %}3.10{% endif %}"
59+
default: "{% if project_type == 'app' %}3.13{% else %}3.12{% endif %}"
6060

6161
ci:
6262
type: str

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "substrate"
33
version = "1.6.0"
4-
requires-python = ">=3.10"
4+
requires-python = ">=3.13,<3.14"
55
dependencies = [
66
"commitizen>=4.3.0",
77
"copier>=9.4.1",

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ for project_type in "${project_types[@]}"; do
1818
--data project_url="https://github.com/user/repo" \
1919
--data author_name="John Smith" \
2020
--data author_email="john@example.com" \
21-
--data python_version="3.10" \
21+
--data python_version="3.12" \
2222
--data typing="$typing" \
2323
--data with_fastapi_api=true \
2424
--data with_typer_cli="$([ "$project_type" == "app" ] && echo false || echo true)"

0 commit comments

Comments
 (0)