New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump flask from 2.1.3 to 2.2.2 #1656
Conversation
Bumps [flask](https://github.com/pallets/flask) from 2.1.3 to 2.2.2. - [Release notes](https://github.com/pallets/flask/releases) - [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst) - [Commits](pallets/flask@2.1.3...2.2.2) --- updated-dependencies: - dependency-name: flask dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
So LGTM. |
The #1616 (comment) was more about FLASK_ENV You suggested #1616 (comment) .. would you like to open a issue or a PR from your suggestion? .. or is it no more needed? |
True, this is about I've made some tests. With Flask 2.1.3 and 2.2.2:
With the last command line, there is a warning: So to update the current (broken*) code: Lines 1381 to 1383 in e81c458
should be replaced by: os.environ.get("FLASK_APP") is not None and (os.environ.get("FLASK_ENV") == 'development' or os.environ.get("FLASK_DEBUG") not in {"0", "false", "no"} ) and is_flask_run_cmdline() As long we don't that, the initialization steps are going to be done twice when users starts the app with broken because |
Thanks for detail description ..
Are the use cases of such "edge cases" needs to be supported? .. if not we can "clean up the code". AFAIK all we need to support is:
What should restart the WEB-App on (python) code changes. Additional we can also rebuild JS & CSS on theme modifications:
So my question remain, should we (I) send a PR or open an issue to "clean up the code"? |
Bumps flask from 2.1.3 to 2.2.2.
Release notes
Sourced from flask's releases.
Changelog
Sourced from flask's changelog.
... (truncated)
Commits
a1c478b
Merge pull request #4755 from pallets/release-2.2.243d2fff
release version 2.2.2e9af7c2
Merge pull request #4754 from pallets/werkzeug-versionde16718
require werkzeug >= 2.2.26ab3cb8
fix issue numbere3eaafb
Merge pull request #4749 from pallets/shell-enve3df233
remove env from shell bannera0458ef
refactor or remove old docs (#4748)45b2c99
Merge pull request #4742 from pallets/env-defaulta6a7a57
fix default value of app.envDependabot 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 rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)