build(deps): bump flask from 2.1.1 to 3.1.3 in /samples/server/petstore/python-flask#23022
Conversation
Bumps [flask](https://github.com/pallets/flask) from 2.1.1 to 3.1.3. - [Release notes](https://github.com/pallets/flask/releases) - [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst) - [Commits](pallets/flask@2.1.1...3.1.3) --- updated-dependencies: - dependency-name: flask dependency-version: 3.1.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
1 issue found across 1 file
Prompt for AI agents (all issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="samples/server/petstore/python-flask/requirements.txt">
<violation number="1" location="samples/server/petstore/python-flask/requirements.txt:13">
P2: Flask 3.1.x requires Python 3.9+, but this sample documents Python 3.5.2+ and already has 3.4/3.5-specific pins. Bumping to Flask 3.1.3 without a version marker will cause installs to fail on the older Python versions this sample advertises. Gate the Flask version by Python version and/or update the documented minimum Python version.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
| python_dateutil >= 2.6.0 | ||
| setuptools >= 21.0.0 | ||
| Flask == 2.1.1 | ||
| Flask == 3.1.3 |
There was a problem hiding this comment.
P2: Flask 3.1.x requires Python 3.9+, but this sample documents Python 3.5.2+ and already has 3.4/3.5-specific pins. Bumping to Flask 3.1.3 without a version marker will cause installs to fail on the older Python versions this sample advertises. Gate the Flask version by Python version and/or update the documented minimum Python version.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At samples/server/petstore/python-flask/requirements.txt, line 13:
<comment>Flask 3.1.x requires Python 3.9+, but this sample documents Python 3.5.2+ and already has 3.4/3.5-specific pins. Bumping to Flask 3.1.3 without a version marker will cause installs to fail on the older Python versions this sample advertises. Gate the Flask version by Python version and/or update the documented minimum Python version.</comment>
<file context>
@@ -10,4 +10,4 @@ werkzeug == 0.16.1; python_version=="3.5" or python_version=="3.4"
python_dateutil >= 2.6.0
setuptools >= 21.0.0
-Flask == 2.1.1
+Flask == 3.1.3
</file context>
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps flask from 2.1.1 to 3.1.3.
Release notes
Sourced from flask's releases.
... (truncated)
Changelog
Sourced from flask's changelog.
... (truncated)
Commits
22d9247release version 3.1.3089cb86Merge commit from forkc17f379request context tracks session access27be933start version 3.1.34e652d3Abort if the instance folder cannot be created (#5903)3d03098Abort if the instance folder cannot be created407eb76document using gevent for async (#5900)ac5664ddocument using gevent for async4f79d5bIncrease required flit_core version to 3.11 (#5865)fe3b215Increase required flit_core version to 3.11Dependabot 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)You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrade Flask from 2.1.1 to 3.1.3 in the Python Flask Petstore sample to apply the latest security fix and bug fixes.
Written for commit c42ca9e. Summary will update on new commits.