Skip to content

Update (most) dependencies#612

Merged
thibaudcolas merged 5 commits intowagtail:mainfrom
laymonage:chore/py-deps
Feb 27, 2026
Merged

Update (most) dependencies#612
thibaudcolas merged 5 commits intowagtail:mainfrom
laymonage:chore/py-deps

Conversation

@laymonage
Copy link
Member

@laymonage laymonage commented Feb 26, 2026

  • 74223cb broke Prettier integration in pre-commit because the mirror doesn't have the corresponding tag.

Major version bumps:

  • djhtml update: v2.0 removed the -i option (now default behaviour), v3.0 dropped Python 3.6 and 3.7 support
  • django-extensions: v4.0 added support for Python 3.12 and 3.13. I didn't see any breaking changes in the changelog.
  • django-csp: 3.8 added Python 3.12 support. The latest version is v4.0 but there's a significant breaking change in how the settings are configured. I think we should just replace this with Django's built-in CSP in a separate PR.
  • dj-database-url: v3.0 doesn't seem to have surface-level breaking changes, see changelog.
  • google-cloud-storage: v3.0 has some breaking changes around exception handling, but we don't use it directly so we're probably ok.
  • django-redis: v6.0 dropped support for Python 3.8 and Django <4.1, but otherwise all seems good. Might want to switch to the built-in redis backend at some point.

TODO:

  • We're stuck with Elasticsearch 5 and I'm not sure if we're actively using it. The example config in the docs seem a bit simpler than what we have right now. Although it looks like our config is written specifically for AWS. If we want to keep AWS support, we should migrate it to the OpenSearch backend instead. Or make it so that the settings code dynamically switches depending on an environment variable.

- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.7.4
rev: v3.1.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hahahahahaha

ruff==0.15.2
curlylint==0.13.1
djhtml==1.4.13
djhtml==3.0.10
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we’ll need to remove -i from the Makefile then

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, I forgot to push the amended commit 🙈
image

Thanks!

@thibaudcolas
Copy link
Member

I see we have #547 for Elasticsearch

@thibaudcolas thibaudcolas merged commit c655e1d into wagtail:main Feb 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants