Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Django to 3.2 #656

Merged
merged 8 commits into from
Aug 14, 2023
Merged

Upgrade Django to 3.2 #656

merged 8 commits into from
Aug 14, 2023

Conversation

replaceafill
Copy link
Member

This sets django-upgrade in pre-commit to upgrade Django to 3.2. Python requirements have been upgraded to compatible versions too.

One change to highlight is that in Django 1.11 the compilemessages command didn't fail when it was not able to write *.mo files due to permissions. In Django 3.2 the command fails interrupting the Docker build during the integration test. That's why this sets ownership of the locale/**/LC_MESSAGES directories to the archivematica user explicitly.

Connected to archivematica/Issues#1279

@replaceafill replaceafill merged commit 048b6f8 into qa/0.x Aug 14, 2023
6 checks passed
@replaceafill replaceafill deleted the dev/issue-1279-django32 branch August 14, 2023 15:32
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