Skip to content

[ERP-4536] Django 5.2#777

Merged
Adam Smith (ScriptSmith) merged 35 commits into
next_releasefrom
uv
Jan 21, 2026
Merged

[ERP-4536] Django 5.2#777
Adam Smith (ScriptSmith) merged 35 commits into
next_releasefrom
uv

Conversation

@ScriptSmith

Copy link
Copy Markdown
Member

No description provided.

@ScriptSmith Adam Smith (ScriptSmith) changed the title Move from pip to uv [ERP-4536] Django 5.2 Jan 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This pull request upgrades the Django framework from version 4.2.27 to 5.2.1, which is a major version jump requiring several compatibility changes throughout the codebase.

Changes:

  • Upgraded Django from 4.2.27 to 5.2.1 and updated related dependencies
  • Migrated from pip/requirements.txt to uv/pyproject.toml for dependency management
  • Updated datetime handling to use timezone-aware functions throughout the codebase
  • Modified logout functionality to use POST method (Django 5.x security requirement)

Reviewed changes

Copilot reviewed 56 out of 86 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pyproject.toml Added new build configuration with uv and all project dependencies
requirements/*.txt Removed old pip requirement files in favor of pyproject.toml
rdrf/rdrf/settings.py Updated storage backend configuration for Django 5.x STORAGES setting
rdrf/rdrf/templates/rdrf_cdes/navbar_links.html Changed logout link to POST form with CSRF protection
rdrf/rdrf/auth/views.py Updated two-factor auth decorators to use method_decorator
rdrf/**/models.py, views.py Replaced datetime.datetime.now() with timezone.now() for timezone awareness
docker/*/Dockerfile Migrated from pip to uv package manager
docker-compose*.yml Removed obsolete version declarations
rdrf/registry/patients/migrations/ Added Django 5.2 migrations for history_date field updates
clients/xnat/generated/ Updated OpenAPI generator from 7.4.0 to 7.18.0
rdrf/rdrf/testing/behaviour/ Updated Selenium WebDriver calls for compatibility

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread rdrf/rdrf/testing/behaviour/features/utils.py
@ScriptSmith Adam Smith (ScriptSmith) marked this pull request as ready for review January 21, 2026 04:13
@ScriptSmith Adam Smith (ScriptSmith) merged commit cac4157 into next_release Jan 21, 2026
14 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