Skip to content

Feature/4181 flask3 upgrade#2558

Open
richard-jones wants to merge 5 commits intodevelopfrom
feature/4181_flask3_upgrade
Open

Feature/4181 flask3 upgrade#2558
richard-jones wants to merge 5 commits intodevelopfrom
feature/4181_flask3_upgrade

Conversation

@richard-jones
Copy link
Copy Markdown
Contributor

@richard-jones richard-jones commented Feb 25, 2026


Flask upgrade

Upgrade flask and dependencies to flask 3

This PR...

  • has scripts to run
  • has migrations to run
  • adds new infrastructure
  • changes the CI pipeline
  • affects the public site
  • affects the editorial area
  • affects the publisher area
  • affects the monitoring

Developer Checklist

Developers should review and confirm each of these items before requesting review

  • Code meets acceptance criteria from issue
  • Unit tests are written and all pass
  • User Test Scripts (if required) are written and have been run through
  • Project's coding standards are met
    • No deprecated methods are used
    • No magic strings/numbers - all strings are in constants or messages files
    • ES queries are wrapped in a Query object rather than inlined in the code
    • Where possible our common library functions have been used (e.g. dates manipulated via dates)
    • Cleaned up commented out code, etc
    • Urls are constructed with url_for not hard-coded
  • Code documentation and related non-code documentation has all been updated
  • Migation has been created and tested
  • There is a recent merge from develop

Reviewer Checklist

Reviewers should review and confirm each of these items before approval
If there are multiple reviewers, this section should be duplicated for each reviewer

  • Code meets acceptance criteria from issue
  • Unit tests are written and all pass
  • User Test Scripts (if required) are written and have been run through
  • Project's coding standards are met
    • No deprecated methods are used
    • No magic strings/numbers - all strings are in constants or messages files
    • ES queries are wrapped in a Query object rather than inlined in the code
    • Where possible our common library functions have been used (e.g. dates manipulated via dates)
    • Cleaned up commented out code, etc
    • Urls are constructed with url_for not hard-coded
  • Code documentation and related non-code documentation has all been updated
  • Migation has been created and tested
  • There is a recent merge from develop

Testing

Functional tests

Tests related to areas of the system that have actually changed, and need explicit testing

Regression tests

Tests which are most directly affected by the Flask upgrade, which should be reviewed to ensure no breakages

Spot Checks

Tests for major/important areas of the system to ensure they are unaffected

Deployment

@Steven-Eardley are there any deployment considerations when upgrading from one version of flask to another? I would guess this is just a regular deployment?

Configuration changes

N/A

Scripts

N/A

Migrations

N/A

Monitoring

N/A

New Infrastructure

N/A

Continuous Integration

N/A

@richard-jones richard-jones mentioned this pull request Feb 25, 2026
22 tasks
@richard-jones
Copy link
Copy Markdown
Contributor Author

I have already reviewed and approved this PR, but I had to change the branch name, and as a result I cannot approve this PR that I created. Review here #2537 (review)

@richard-jones richard-jones requested a review from RK206 February 25, 2026 13:26
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.

3 participants