Skip to content

Commit c6e2923

Browse files
authored
Merge pull request #4 from dilawarm/update_to_3_13
bump python version to 3.13
2 parents 52aacb3 + 922839f commit c6e2923

6 files changed

Lines changed: 113 additions & 138 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
security-events: write
1515
strategy:
1616
matrix:
17-
python-version: ["3.12"]
17+
python-version: ["3.13"]
1818

1919
steps:
2020
- name: Checkout code

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.12.1
3+
rev: v0.12.2
44
hooks:
55
- id: ruff
66
args: ['--fix']

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM python:3.12-slim
1+
FROM python:3.13-slim
22

33
WORKDIR "/python_template"
44
COPY . /python_template
55

66
ENV UV_PYTHON_PREFERENCE=managed
7-
ENV UV_PYTHON=3.12
7+
ENV UV_PYTHON=3.13
88
ENV UV_NO_PROGRESS=true
99

1010
ENV PATH="/root/.local/bin:${PATH}"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A basic Python project template that actually works. Nothing fancy, just the stu
1515

1616
## What's in here
1717

18-
This template gives you a Python 3.12 project with:
18+
This template gives you a Python 3.13 project with:
1919

2020
- **uv** for dependency management (it's fast)
2121
- **pytest** for testing

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ name = "python-template"
2323
dynamic = ["version"]
2424
description = "Project description"
2525
readme = "README.md"
26-
requires-python = ">=3.12"
26+
requires-python = ">=3.13"
2727
dependencies = []
2828

2929
[tool.uv]
@@ -45,5 +45,5 @@ reinstall-package = ["ruff"]
4545
required-version = ">=0.7.2"
4646

4747
[tool.uv.pip]
48-
python-version = "3.12"
48+
python-version = "3.13"
4949
reinstall-package = ["ruff"]

0 commit comments

Comments
 (0)