Skip to content
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 1.1.2 to 2.0.0 #77

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 14, 2021

Bumps flask from 1.1.2 to 2.0.0.

Release notes

Sourced from flask's releases.

2.0.0

New major versions of all the core Pallets libraries, including Flask 2.0, have been released! 🎉

This represents a significant amount of work, and there are quite a few changes. Be sure to carefully read the changelog, and use tools such as pip-compile and Dependabot to pin your dependencies and control your updates.

2.0.0rc2

2.0.0rc1

Changelog

Sourced from flask's changelog.

Version 2.0.0

Released 2021-05-11

  • Drop support for Python 2 and 3.5.
  • Bump minimum versions of other Pallets projects: Werkzeug >= 2, Jinja2 >= 3, MarkupSafe >= 2, ItsDangerous >= 2, Click >= 8. Be sure to check the change logs for each project. For better compatibility with other applications (e.g. Celery) that still require Click 7, there is no hard dependency on Click 8 yet, but using Click 7 will trigger a DeprecationWarning and Flask 2.1 will depend on Click 8.
  • JSON support no longer uses simplejson. To use another JSON module, override app.json_encoder and json_decoder. :issue:3555
  • The encoding option to JSON functions is deprecated. :pr:3562
  • Passing script_info to app factory functions is deprecated. This was not portable outside the flask command. Use click.get_current_context().obj if it's needed. :issue:3552
  • The CLI shows better error messages when the app failed to load when looking up commands. :issue:2741
  • Add :meth:sessions.SessionInterface.get_cookie_name to allow setting the session cookie name dynamically. :pr:3369
  • Add :meth:Config.from_file to load config using arbitrary file loaders, such as toml.load or json.load. :meth:Config.from_json is deprecated in favor of this. :pr:3398
  • The flask run command will only defer errors on reload. Errors present during the initial call will cause the server to exit with the traceback immediately. :issue:3431
  • :func:send_file raises a :exc:ValueError when passed an :mod:io object in text mode. Previously, it would respond with 200 OK and an empty file. :issue:3358
  • When using ad-hoc certificates, check for the cryptography library instead of PyOpenSSL. :pr:3492
  • When specifying a factory function with FLASK_APP, keyword argument can be passed. :issue:3553
  • When loading a .env or .flaskenv file, the current working directory is no longer changed to the location of the file. :pr:3560
  • When returning a (response, headers) tuple from a view, the headers replace rather than extend existing headers on the response. For example, this allows setting the Content-Type for jsonify(). Use response.headers.extend() if extending is desired. :issue:3628
  • The Scaffold class provides a common API for the Flask and Blueprint classes. Blueprint information is stored in attributes just like Flask, rather than opaque lambda functions. This is intended to improve consistency and maintainability. :issue:3215
  • Include samesite and secure options when removing the session cookie. :pr:3726

... (truncated)

Commits
  • 2f0c62f Merge pull request #4007 from pallets/release-2.0.0
  • f8e63d3 release version 2.0.0
  • 1403d35 update type annotations
  • 3a5532b update pallets projects minimum versions
  • f8f0caf update requirements
  • 9c1e7f6 Merge pull request #4005 from pallets/pre-commit-ci-schedule
  • 8b72f6a update pre-commit monthly
  • 28262c3 Merge pull request #3999 from greyli/improve-cli-docs
  • 531671c Improve the wording of using FLASK_APP
  • 2c88e8a Merge pull request #4003 from pallets/autodoc-typehints
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot 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)

@return42
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/master/flask-2.0.0 branch 2 times, most recently from 1e7f0fc to c549ed3 Compare May 15, 2021 06:53
@return42
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/master/flask-2.0.0 branch 2 times, most recently from 324d563 to 54110a9 Compare May 15, 2021 07:47
@searxng searxng deleted a comment from dependabot bot May 15, 2021
@return42
Copy link
Member

return42 commented May 15, 2021

Jinja2 version conflict ...

The conflict is caused by:
    The user requested jinja2==2.11.3
    sphinx 4.0.1 depends on Jinja2<3.0 and >=2.3
    flask-babel 2.0.0 depends on Jinja2>=2.5
    flask 2.0.0 depends on Jinja2>=3.0

We can't upgrade to jinja2==3.0.0 until Sphinx 4.1.0 has been released [1][2][3]

Related-to: #89 (comment)

[1] sphinx-doc/sphinx#9088 (comment)
[2] sphinx-doc/sphinx#9161
[3] https://github.com/sphinx-doc/sphinx/milestone/100

@dependabot dependabot bot force-pushed the dependabot/pip/master/flask-2.0.0 branch from 54110a9 to 7da242a Compare May 15, 2021 16:56
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 28, 2021

Superseded by #106.

@dependabot dependabot bot closed this May 28, 2021
@dependabot dependabot bot deleted the dependabot/pip/master/flask-2.0.0 branch May 28, 2021 05:42
mbertani pushed a commit to mbertani/searxng that referenced this pull request May 30, 2024
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.

1 participant