chore/dependency-security-updates #192

Merged
Michiel-Beijen merged 5 commits from Michiel-Beijen/intranet:chore/dependency-security-updates into main 2026-11-15 12:45:09 +01:00

Upgrading python packages to versions without known security findings according to uv audit.

This includes a database migration for oauth-toolkit.

PyPDF2 is deprecated and had a security issue, switched to pypdf. I tested the 'waiver' which is the one PDF we generate and it's identical.

poetry-dev had a security issue and was unused as we switched to uv before.

Upgrading python packages to versions without known security findings according to `uv audit`. This includes a database migration for oauth-toolkit. PyPDF2 is deprecated and had a security issue, switched to `pypdf`. I tested the 'waiver' which is the one PDF we generate and it's identical. poetry-dev had a security issue and was unused as we switched to `uv` before.
Brings `uv audit` down from 149 to 57 known vulnerabilities.

- Pin Django to the 5.2 LTS line; the open `django>=5` constraint
  resolved to 6.1, which breaks the custom `float` path converter.
- Hold pydantic below 2.14, which crashes on the nameless
  `.dist-info` SBOM directory in the repo root.
- Add the acl migration required by django-oauth-toolkit 3.4.
Clears 54 known Pillow vulnerabilities. No code changes were needed;
the project and its image libraries use no API removed since 10.x.
Clears the last two fixable `uv audit` findings. lxml is only used
by the CAMT.053 bank statement import, whose tests still pass.
PyPDF2 is unmaintained and its known vulnerability will not be fixed.
pypdf 7 only merges onto pages that belong to a writer, so the waiver
form now adds the template page to the writer before merging.
chore(deps): remove unused poetry-dev
Some checks failed
Verify Pull Request / tests (pull_request) Failing after 41s
7d23be520d
The package is archived upstream and nothing uses it since the move
from Poetry to uv. Removing it also drops click, tomlkit and typer.
style: format the oauth toolkit migration with ruff
All checks were successful
Verify Pull Request / tests (pull_request) Successful in 2m12s
be21e1346b
Michiel-Beijen force-pushed chore/dependency-security-updates from be21e1346b
All checks were successful
Verify Pull Request / tests (pull_request) Successful in 2m12s
to cf0748fd4c
All checks were successful
Verify Pull Request / tests (pull_request) Successful in 2m11s
2026-11-15 12:15:52 +01:00
Compare
Michiel-Beijen deleted branch chore/dependency-security-updates 2026-11-15 12:45:10 +01:00
Sign in to join this conversation.
No reviewers
No labels
Draft
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
msl/intranet!192
No description provided.