Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ updates:
# Every Monday
schedule:
interval: "weekly"
# Ignore minor version updates (3.12 -> 3.13) but update patch versions
# Ignore minor version updates (3.13 -> 3.14) but update patch versions
ignore:
- dependency-name: "*"
update-types:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
python-version: "3.13"

# Consider using pre-commit.ci for open source project
- name: Run pre-commit
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ exclude: "^docs/|/migrations/|devcontainer.json"
default_stages: [pre-commit]

default_language_version:
python: python3.12
python: python3.13

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.12"
python: "3.13"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
3 changes: 2 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Democrasite is a Django web application that implements democratic voting on Git

## Tech Stack

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

To run a single test file or test:

```bash
just run pytest democrasite/webiscite/tests/test_models.py
just run pytest democrasite/webiscite/tests/test_models.py::TestBill::test_method_name -v
Expand Down
2 changes: 1 addition & 1 deletion compose/local/django/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# define an alias for the specific python version used in this file.
FROM docker.io/python:3.12.11-slim-bookworm AS python
FROM docker.io/python:3.13.12-slim-bookworm AS python

# Python build stage
FROM python AS python-build-stage
Expand Down
2 changes: 1 addition & 1 deletion compose/production/django/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# define an alias for the specific python version used in this file.
FROM docker.io/python:3.12.11-slim-bookworm AS python
FROM docker.io/python:3.13.12-slim-bookworm AS python

# Python build stage
FROM python AS python-build-stage
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ services:
# logging: *loki-logging

redis:
image: docker.io/redis:6
image: docker.io/redis:7
container_name: democrasite-local-redis
# logging: *loki-logging

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ services:
logging: *logging

redis:
image: docker.io/redis:6
image: docker.io/redis:7
networks:
- backend
logging: *logging
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ plugins = ["django_coverage_plugin"]

# ==== mypy ====
[tool.mypy]
python_version = "3.12"
python_version = "3.13"
check_untyped_defs = true
ignore_missing_imports = true
warn_unused_ignores = true
Expand Down