Skip to content

Commit 4a133f6

Browse files
committed
Update python to 3.13
1 parent c028eca commit 4a133f6

8 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ updates:
2020
# Every Monday
2121
schedule:
2222
interval: "weekly"
23-
# Ignore minor version updates (3.12 -> 3.13) but update patch versions
23+
# Ignore minor version updates (3.13 -> 3.14) but update patch versions
2424
ignore:
2525
- dependency-name: "*"
2626
update-types:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Set up Python
3030
uses: actions/setup-python@v6
3131
with:
32-
python-version: "3.12"
32+
python-version: "3.13"
3333

3434
# Consider using pre-commit.ci for open source project
3535
- name: Run pre-commit

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ exclude: "^docs/|/migrations/|devcontainer.json"
22
default_stages: [pre-commit]
33

44
default_language_version:
5-
python: python3.12
5+
python: python3.13
66

77
repos:
88
- repo: https://github.com/pre-commit/pre-commit-hooks

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version: 2
88
build:
99
os: ubuntu-22.04
1010
tools:
11-
python: "3.12"
11+
python: "3.13"
1212

1313
# Build documentation in the docs/ directory with Sphinx
1414
sphinx:

CLAUDE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Democrasite is a Django web application that implements democratic voting on Git
88

99
## Tech Stack
1010

11-
- **Python 3.12 / Django 5.x** with PostgreSQL, Redis, Celery
11+
- **Python 3.13 / Django 5.x** with PostgreSQL, Redis, Celery
1212
- **Docker Compose** for local development (all commands run inside containers)
1313
- **Django REST Framework** with JWT auth and drf-spectacular for API docs
1414
- **django-allauth** for GitHub/Google OAuth
@@ -35,6 +35,7 @@ just loaddata # Load fixtures (democrasite + activitypub)
3535
```
3636

3737
To run a single test file or test:
38+
3839
```bash
3940
just run pytest democrasite/webiscite/tests/test_models.py
4041
just run pytest democrasite/webiscite/tests/test_models.py::TestBill::test_method_name -v

compose/local/django/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# define an alias for the specific python version used in this file.
2-
FROM docker.io/python:3.12.11-slim-bookworm AS python
2+
FROM docker.io/python:3.13.12-slim-bookworm AS python
33

44
# Python build stage
55
FROM python AS python-build-stage

compose/production/django/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# define an alias for the specific python version used in this file.
2-
FROM docker.io/python:3.12.11-slim-bookworm AS python
2+
FROM docker.io/python:3.13.12-slim-bookworm AS python
33

44
# Python build stage
55
FROM python AS python-build-stage

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ plugins = ["django_coverage_plugin"]
1818

1919
# ==== mypy ====
2020
[tool.mypy]
21-
python_version = "3.12"
21+
python_version = "3.13"
2222
check_untyped_defs = true
2323
ignore_missing_imports = true
2424
warn_unused_ignores = true

0 commit comments

Comments
 (0)