Skip to content

Commit edbe261

Browse files
authored
chore: use 3.12 more places, add 3.13 (#478)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 8ecc874 commit edbe261

File tree

9 files changed

+11
-8
lines changed

9 files changed

+11
-8
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scientific-python-cookie[dev]",
3-
"image": "mcr.microsoft.com/devcontainers/python:0-3.11",
3+
"image": "mcr.microsoft.com/devcontainers/python:0-3.12",
44
"features": {
55
"ghcr.io/devcontainers/features/rust:1": {},
66
"ghcr.io/devcontainers/features/ruby:1": {

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runs:
1212
- uses: actions/setup-python@v5
1313
id: python
1414
with:
15-
python-version: "3.11"
15+
python-version: "3.12"
1616
update-environment: false
1717

1818
# prettier-ignore

docs/_includes/pyproject.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3.10",
3030
"Programming Language :: Python :: 3.11",
3131
"Programming Language :: Python :: 3.12",
32+
"Programming Language :: Python :: 3.13",
3233
"Topic :: Scientific/Engineering :: Physics",
3334
]
3435

docs/pages/guides/packaging_classic.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ classifiers =
295295
Programming Language :: Python :: 3.10
296296
Programming Language :: Python :: 3.11
297297
Programming Language :: Python :: 3.12
298+
Programming Language :: Python :: 3.13
298299
Topic :: Scientific/Engineering
299300
Topic :: Scientific/Engineering :: Information Analysis
300301
Topic :: Scientific/Engineering :: Mathematics

docs/pages/guides/tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ customize the versions of Python prepared for you, then use input like this:
8686
```yaml
8787
- uses: wntrblm/[email protected]
8888
with:
89-
python-versions: "3.8, 3.9, 3.10, 3.11, 3.12, pypy-3.9, pypy-3.10"
89+
python-versions: "3.8, 3.9, 3.10, 3.11, 3.12, 3.13, pypy-3.9, pypy-3.10"
9090
```
9191

9292
### Introduction

docs/pages/tutorials/dev-environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ You can also develop in conda. This is an especially good option if:
113113
The creation of an environment looks like this:
114114

115115
```bash
116-
conda create -n env_name python=3.11
116+
conda create -n env_name python=3.12
117117
```
118118

119119
You can use `-n name` or `-p path` to specify the environment by name or

src/sp_repo_review/checks/readthedocs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def check(readthedocs: dict[str, Any]) -> bool:
6363
build:
6464
os: ubuntu-22.04
6565
tools:
66-
python: "3.11"
66+
python: "3.12"
6767
```
6868
"""
6969

@@ -82,14 +82,14 @@ class RTD103(ReadTheDocs):
8282
@staticmethod
8383
def check(readthedocs: dict[str, Any]) -> bool:
8484
"""
85-
You must set `build: tools: python: "3.11"` or similar in the
85+
You must set `build: tools: python: "3.12"` or similar in the
8686
`.readthedocs.yaml` file for a Python project.
8787
8888
```yaml
8989
build:
9090
os: ubuntu-22.04
9191
tools:
92-
python: "3.11"
92+
python: "3.12"
9393
```
9494
"""
9595

{{cookiecutter.project_name}}/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ repos:
5454
rev: "v2.5.0"
5555
hooks:
5656
- id: setup-cfg-fmt
57-
args: [--include-version-classifiers, --max-py-version=3.12]
57+
args: [--include-version-classifiers, --max-py-version=3.13]
5858

5959
{%- endif %}
6060

{{cookiecutter.project_name}}/{% if cookiecutter.backend in ['setuptools','pybind11'] %}setup.cfg{% endif %}

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ classifiers =
4343
Programming Language :: Python :: 3.10
4444
Programming Language :: Python :: 3.11
4545
Programming Language :: Python :: 3.12
46+
Programming Language :: Python :: 3.13
4647
Topic :: Scientific/Engineering
4748
Typing :: Typed
4849
project_urls =

0 commit comments

Comments
 (0)