Skip to content

Commit dff21e0

Browse files
committed
Update Python version from 3.11 to 3.13
- Update .python-version to 3.13 - Update pyproject.toml requires-python to >=3.13,<3.14 - Update Dockerfile base image to python:3.13 - Update Ruff target-version to py313
1 parent 5c51936 commit dff21e0

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.kiro/specs/python-modernization/tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Implementation Plan
22

3-
- [ ] 1. Update Python version configuration files
3+
- [x] 1. Update Python version configuration files
44

55
- Update `.python-version` from `3.11` to `3.13`
66
- Update `pyproject.toml` requires-python constraint to `>=3.13,<3.14`

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.11
1+
3.13

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11.9
1+
FROM python:3.13
22

33
ARG DJANGO_ENV
44

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version = "0.0.1"
55
license = {text = "MIT"}
66
readme = "README.md"
77
authors = [{name = "Ali Karbassi", email = "ali@weallcode.org"}]
8-
requires-python = ">=3.11,<3.12"
8+
requires-python = ">=3.13,<3.14"
99

1010
dependencies = [
1111
# Core Framework
@@ -78,7 +78,7 @@ Homepage = "https://github.com/weallcode/website"
7878

7979
[tool.ruff]
8080
# Use Ruff's recommended defaults
81-
target-version = "py311"
81+
target-version = "py313"
8282
# Exclude a variety of commonly ignored directories.
8383
extend-exclude = [
8484
"*/migrations/*.py",

0 commit comments

Comments
 (0)