Update flask requirement from ~=2.1.0 to ~=2.1.1 in /api #36

Merged
dependabot[bot] merged 1 commits from dependabot/pip/api/flask-approx-eq-2.1.1 into main 2022-03-31 10:40:54 +00:00
dependabot[bot] commented 2022-03-31 10:32:07 +00:00 (Migrated from github.com)

Updates the requirements on flask to permit the latest version.

Release notes

Sourced from flask's releases.

2.1.1

This is a fix release for the 2.1.0 feature release.

Changelog

Sourced from flask's changelog.

Version 2.1.1

Released on 2022-03-30

  • Set the minimum required version of importlib_metadata to 3.6.0, which is required on Python < 3.10. :issue:4502

Version 2.1.0

Released 2022-03-28

  • Drop support for Python 3.6. :pr:4335

  • Update Click dependency to >= 8.0. :pr:4008

  • Remove previously deprecated code. :pr:4337

    • The CLI does not pass script_info to app factory functions.
    • config.from_json is replaced by config.from_file(name, load=json.load).
    • json functions no longer take an encoding parameter.
    • safe_join is removed, use werkzeug.utils.safe_join instead.
    • total_seconds is removed, use timedelta.total_seconds instead.
    • The same blueprint cannot be registered with the same name. Use name= when registering to specify a unique name.
    • The test client's as_tuple parameter is removed. Use response.request.environ instead. :pr:4417
  • Some parameters in send_file and send_from_directory were renamed in 2.0. The deprecation period for the old names is extended to 2.2. Be sure to test with deprecation warnings visible.

    • attachment_filename is renamed to download_name.
    • cache_timeout is renamed to max_age.
    • add_etags is renamed to etag.
    • filename is renamed to path.
  • The RequestContext.g property is deprecated. Use g directly or AppContext.g instead. :issue:3898

  • copy_current_request_context can decorate async functions. :pr:4303

  • The CLI uses importlib.metadata instead of setuptools to load command entry points. :issue:4419

  • Overriding FlaskClient.open will not cause an error on redirect. :issue:3396

  • Add an --exclude-patterns option to the flask run CLI command to specify patterns that will be ignored by the reloader.

... (truncated)

Commits

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)
Updates the requirements on [flask](https://github.com/pallets/flask) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pallets/flask/releases">flask's releases</a>.</em></p> <blockquote> <h2>2.1.1</h2> <p>This is a fix release for the <a href="https://github.com/pallets/flask/releases/tag/2.1.0">2.1.0</a> feature release.</p> <ul> <li>Changes: <a href="https://flask.palletsprojects.com/en/2.1.x/changes/#version-2-1-1">https://flask.palletsprojects.com/en/2.1.x/changes/#version-2-1-1</a></li> <li>Milestone: <a href="https://github.com/pallets/flask/milestone/18?closed=1">https://github.com/pallets/flask/milestone/18?closed=1</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pallets/flask/blob/main/CHANGES.rst">flask's changelog</a>.</em></p> <blockquote> <h2>Version 2.1.1</h2> <p>Released on 2022-03-30</p> <ul> <li>Set the minimum required version of importlib_metadata to 3.6.0, which is required on Python &lt; 3.10. :issue:<code>4502</code></li> </ul> <h2>Version 2.1.0</h2> <p>Released 2022-03-28</p> <ul> <li> <p>Drop support for Python 3.6. :pr:<code>4335</code></p> </li> <li> <p>Update Click dependency to &gt;= 8.0. :pr:<code>4008</code></p> </li> <li> <p>Remove previously deprecated code. :pr:<code>4337</code></p> <ul> <li>The CLI does not pass <code>script_info</code> to app factory functions.</li> <li><code>config.from_json</code> is replaced by <code>config.from_file(name, load=json.load)</code>.</li> <li><code>json</code> functions no longer take an <code>encoding</code> parameter.</li> <li><code>safe_join</code> is removed, use <code>werkzeug.utils.safe_join</code> instead.</li> <li><code>total_seconds</code> is removed, use <code>timedelta.total_seconds</code> instead.</li> <li>The same blueprint cannot be registered with the same name. Use <code>name=</code> when registering to specify a unique name.</li> <li>The test client's <code>as_tuple</code> parameter is removed. Use <code>response.request.environ</code> instead. :pr:<code>4417</code></li> </ul> </li> <li> <p>Some parameters in <code>send_file</code> and <code>send_from_directory</code> were renamed in 2.0. The deprecation period for the old names is extended to 2.2. Be sure to test with deprecation warnings visible.</p> <ul> <li><code>attachment_filename</code> is renamed to <code>download_name</code>.</li> <li><code>cache_timeout</code> is renamed to <code>max_age</code>.</li> <li><code>add_etags</code> is renamed to <code>etag</code>.</li> <li><code>filename</code> is renamed to <code>path</code>.</li> </ul> </li> <li> <p>The <code>RequestContext.g</code> property is deprecated. Use <code>g</code> directly or <code>AppContext.g</code> instead. :issue:<code>3898</code></p> </li> <li> <p><code>copy_current_request_context</code> can decorate async functions. :pr:<code>4303</code></p> </li> <li> <p>The CLI uses <code>importlib.metadata</code> instead of <code>setuptools</code> to load command entry points. :issue:<code>4419</code></p> </li> <li> <p>Overriding <code>FlaskClient.open</code> will not cause an error on redirect. :issue:<code>3396</code></p> </li> <li> <p>Add an <code>--exclude-patterns</code> option to the <code>flask run</code> CLI command to specify patterns that will be ignored by the reloader.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pallets/flask/commit/188bd17ff1f3e1d9c9ddd015c8765280e95ffb83"><code>188bd17</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pallets/flask/issues/4511">#4511</a> from pallets/release-2.1.1</li> <li><a href="https://github.com/pallets/flask/commit/c6f297719e43380011e76ad6d070b7a27d4d1dce"><code>c6f2977</code></a> release version 2.1.1</li> <li><a href="https://github.com/pallets/flask/commit/a8f4ee1b66cfede1e596aef089850fad073e1775"><code>a8f4ee1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pallets/flask/issues/4510">#4510</a> from pallets/release-2.1.1</li> <li><a href="https://github.com/pallets/flask/commit/c419931f555c80b07b518944fc7004f6cb75b8e1"><code>c419931</code></a> release version 2.1.1</li> <li><a href="https://github.com/pallets/flask/commit/c3d0880e72dfda76734bfddadf20cfee94b148c2"><code>c3d0880</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pallets/flask/issues/4509">#4509</a> from pallets/importlib_metadata-min-version</li> <li><a href="https://github.com/pallets/flask/commit/d023d943715f193e78413280e10d101f39501748"><code>d023d94</code></a> set importlib_metadata minimum version</li> <li><a href="https://github.com/pallets/flask/commit/5589915b383a6f53e92f3822c982cce3c4083456"><code>5589915</code></a> start version 2.1.1</li> <li>See full diff in <a href="https://github.com/pallets/flask/compare/2.1.0...2.1.1">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
Sign in to join this conversation.
No description provided.