Repository navigation
build(deps): bump flask from 2.3.3 to 3.0.3 - #241
Open
dependabot[bot] wants to merge 1 commit into
Open
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [flask](https://github.com/pallets/flask) from 2.3.3 to 3.0.3. - [Release notes](https://github.com/pallets/flask/releases) - [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst) - [Commits](pallets/flask@2.3.3...3.0.3) --- updated-dependencies: - dependency-name: flask dependency-version: 3.0.3 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
[Medium impact] The Flask runtime change reaches aw-server’s HTTP API and web UI. Fix the removed Findings
SummaryThis PR allows Flask 3 and updates the locked version from 2.3.3 to 3.0.3.
Reviews (1) · Last reviewed commit: "build(deps): bump flask from 2.3.3 to 3...." · Reviewed by Greptile |
| aw-core = { git = "https://github.com/ActivityWatch/aw-core.git", rev = "4496e2eec94af4ccf04b13be38d76d8eaaa49725" } | ||
| aw-client = "^0.5.8" | ||
| flask = "^2.2" | ||
| flask = ">=2.2,<4.0" |
There was a problem hiding this comment.
Allowing Flask 3 breaks startup because aw_server/custom_static.py still imports escape from flask, which Flask 3 removed. aw_server/server.py imports that module unconditionally, so startup raises ImportError even without custom static pages configured. Test collection hits the same import. Import escape from markupsafe before enabling Flask 3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps flask from 2.3.3 to 3.0.3.
Release notes
Sourced from flask's releases.
Changelog
Sourced from flask's changelog.
Commits
c12a5d8release version 3.0.35e22cc9Don't set the cli attribute in the sansio scaffold (#5270)5fdce4cDon't set the cli attribute in the sansio scaffoldadb7dd9don't access app.logger when configuring app.loggerb739390support FIPS builds without SHA-1 (#5460)db46111access sha1 lazily7320e31start version 3.0.387d5f5bupdate project files (#5457)d5e321brelease version 3.0.2 (#5403)d203059release version 3.0.2Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)