Upgrade django to 5.2, python to 3.13 (#1915)

This commit is contained in:
daveoconnor
2025-10-22 13:24:26 -07:00
committed by GitHub
parent 1ec3cba5e3
commit 5f022aca0a
26 changed files with 207 additions and 130 deletions

View File

@@ -7,3 +7,14 @@
1. Run `just pip-compile`, which will add the dependency to `requirements.txt`
1. Run `just rebuild` to rebuild your Docker image to include the new dependencies
2. Run `just up` and continue with development
## Upgrading dependencies
To upgrade all dependencies to their latest versions, run:
1. `just pip-compile-upgrade`.
2. Get the django version from requirements.txt and set the `DJANGO_VERSION` value in /justfile
3. Update the `--target-version` args value for django-upgrade in .pre-commit-config.yaml to match
3. In a venv with installed packages run `just run-django-upgrade` to upgrade python code.
4. `just build` to create new docker images.
5. Tear down docker containers and restart with the newly built images, then test.