Skip to content

Comments

YJDH-810 | Kesäseteli backend: Upgrade Django 5.1→5.2 and all packages#3902

Open
karisal-anders wants to merge 1 commit intomainfrom
YJDH-810-update-backend
Open

YJDH-810 | Kesäseteli backend: Upgrade Django 5.1→5.2 and all packages#3902
karisal-anders wants to merge 1 commit intomainfrom
YJDH-810-update-backend

Conversation

@karisal-anders
Copy link
Collaborator

@karisal-anders karisal-anders commented Feb 19, 2026

Description ✨

Kesäseteli backend: Upgrade Django 5.1→5.2 and all packages

Changed from Django 5.1 to 5.2 and upgraded all packages using:

pip-compile --upgrade requirements.in
pip-compile --upgrade requirements-dev.in
pip-compile --upgrade requirements-prod.in

Did the last two commands while commenting out the -e file:../shared line in requirements.txt i.e. the workaround given in requirements-dev.in and requirements-prod.in:

  • NOTE: You need to comment out "-e file:../shared" in requirements.txt when running pip-compile. Otherwise, you might get an "Unnamed requirements are not allowed as constraints" error.

Issues 🐛

YJDH-810

Testing ⚗️

Screenshots 📸

Additional notes 🗒️

Changed from Django 5.1 to 5.2 and upgraded all packages using:
```
pip-compile --upgrade requirements.in
pip-compile --upgrade requirements-dev.in
pip-compile --upgrade requirements-prod.in
```

Did the last two commands while commenting out the `-e file:../shared`
line in requirements.txt i.e. the workaround given in
requirements-dev.in and requirements-prod.in:
 - NOTE: You need to comment out "-e file:../shared" in requirements.txt
   when running pip-compile. Otherwise, you might get an "Unnamed
   requirements are not allowed as constraints" error.

refs YJDH-810
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the Kesäseteli backend from Django 5.1.15 to Django 5.2.11 and updates all Python package dependencies to their latest versions. The upgrade was performed using pip-compile with the --upgrade flag across all three requirements files (requirements.txt, requirements-dev.txt, requirements-prod.txt), following the documented workflow of temporarily commenting out the -e file:../shared line to avoid pip-compile errors.

Changes:

  • Upgraded Django from 5.1.15 (pinned) to ~=5.2 specification, allowing Django 5.2.x versions
  • Updated all package dependencies to their latest compatible versions
  • Removed obsolete FIXME comment about Django version pinning

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
backend/kesaseteli/requirements.in Changed Django version constraint from pinned 5.1.15 to ~=5.2, removed FIXME comment
backend/kesaseteli/requirements.txt Updated 30+ package versions including Django 5.2.11, urllib3 2.6.3, and removed tzdata dependency
backend/kesaseteli/requirements-dev.txt Updated 14 development dependency versions including pytest-django 4.12.0 and coverage 7.13.4

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

@sonarqubecloud
Copy link

@azure-pipelines
Copy link

YJDH-KESASETELI-API branch is deployed to platta: https://yjdh-kesaseteli-pr3902.api.dev.hel.ninja 🚀🚀🚀

@karisal-anders karisal-anders requested review from nikomakela and removed request for a team February 19, 2026 13:42
@azure-pipelines
Copy link

YOUTH branch is deployed to platta: https://nuortenkesaseteli-pr3902.dev.hel.ninja 🚀🚀🚀

@azure-pipelines
Copy link

HANDLER branch is deployed to platta: https://kesaseteli-handler-ui-pr3902.dev.hel.ninja 🚀🚀🚀

@azure-pipelines
Copy link

TestCafe result is success for https://nuortenkesaseteli-pr3902.dev.hel.ninja 😆🎉🎉🎉

@azure-pipelines
Copy link

TestCafe result is success for https://kesaseteli-handler-ui-pr3902.dev.hel.ninja 😆🎉🎉🎉

@azure-pipelines
Copy link

EMPLOYER branch is deployed to platta: https://kesaseteli-pr3902.dev.hel.ninja 🚀🚀🚀

@azure-pipelines
Copy link

TestCafe result is success for https://kesaseteli-pr3902.dev.hel.ninja 😆🎉🎉🎉

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.

1 participant