Skip to content

Upgrade to Flask 3.1.1#1892

Merged
jdeanwallace merged 3 commits intomasterfrom
flask-3.1.1
Jul 8, 2025
Merged

Upgrade to Flask 3.1.1#1892
jdeanwallace merged 3 commits intomasterfrom
flask-3.1.1

Conversation

@jdeanwallace
Copy link
Contributor

@jdeanwallace jdeanwallace commented Jul 4, 2025

Resolves #1801

This PR upgrades all Python packages to their latest versions, most notably Flask from 2.3.2 to 3.1.1.

Notes

  1. The upgrade was surprisingly painless, apart from the admin of updating links to package licenses.
    • Many python packages moved their license to a licenses/ subdirectory.
    • For packages that don't contain a license file, we link to their online git repo. It seems GitHub has updated their domain for links to raw files (i.e., github.com -> raw.githubusercontent.com).
    • I've used this opportunity to update some previously outdated license links (e.g., uStreamer, Janus)
  2. These changes were initially made in the Pro repo and tested on a device, then backported to the Community repo. I'd recommend doing any manual on-device testing using the following Pro scratch PR to exercise some additional pro-specific dependencies:

Review on CodeApprove

@jdeanwallace jdeanwallace marked this pull request as ready for review July 7, 2025 15:26
Copy link
Contributor Author

Automated comment from CodeApprove ➜

@jotaen4tinypilot please review this Pull Request

Copy link
Contributor

@jotaen4tinypilot jotaen4tinypilot left a comment

Choose a reason for hiding this comment

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

Automated comment from CodeApprove ➜

Approved on CodeApprove
✔️ Approved

Cool to see that it went so smoothly in the end! 🎉

Tested on device (Pro).


👀 @jdeanwallace it's your turn please take a look

@jdeanwallace jdeanwallace merged commit 0a37d81 into master Jul 8, 2025
13 checks passed
@jdeanwallace jdeanwallace deleted the flask-3.1.1 branch July 8, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Flask 3

2 participants