Skip to content

Commit

Permalink
dependabot: update flask-session requirement from ~=0.6.0 to ~=0.8.0 …
Browse files Browse the repository at this point in the history
…in /services/flask (#75)

Updates the requirements on
[flask-session](https://github.com/pallets-eco/flask-session) to permit
the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pallets-eco/flask-session/releases">flask-session's
releases</a>.</em></p>
<blockquote>
<h2>0.8.0</h2>
<p>Add DynamodDB backend and other minor fixes.</p>
<p>Full release notes: <a
href="https://flask-session.readthedocs.io/en/latest/changes.html#id1">https://flask-session.readthedocs.io/en/latest/changes.html#id1</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pallets-eco/flask-session/blob/development/CHANGES.rst">flask-session's
changelog</a>.</em></p>
<blockquote>
<h2>0.8.0 - 2024-03-26</h2>
<p>Added</p>
<pre><code>- Add DynamoDB session interface
(`[#214](pallets-eco/flask-session#214)
&lt;https://github.com/pallets-eco/flask-session/pull/214&gt;`_).
- Add ability to install client libraries for backends using optional
dependencies (extras)
(`[#228](pallets-eco/flask-session#228)
&lt;https://github.com/pallets-eco/flask-session/pull/228&gt;`_).
<p>Fixed</p>
<pre><code>- Include prematurely removed ``cachelib`` dependency. Will
be removed in 1.0.0 to be an optional dependency
(`[#223](pallets-eco/flask-session#223)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/223&amp;gt;`_).


0.7.0 - 2024-03-18
------------------

Changed
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Access session interfaces via subfolder, for example
&lt;code&gt;flask_session.redis.RedisSessionInterface&lt;/code&gt;
(&lt;code&gt;2bc7df
&amp;lt;pallets-eco/flask-session@2bc7df1be7b8929e55cb25f13845caf0503630d8&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Deprecate &lt;code&gt;pickle&lt;/code&gt; in favor of
&lt;code&gt;msgspec&lt;/code&gt;, which is configured with
&lt;code&gt;SESSION_SERIALIZATION_FORMAT&lt;/code&gt; to choose between
&lt;code&gt;'json'&lt;/code&gt; and &lt;code&gt;'msgpack'&lt;/code&gt;.
All sessions will convert to msgspec upon first interaction with 0.7.0.
Pickle is still available to read existing sessions, but will be removed
in 1.0.0. (&lt;code&gt;c7f8ce
&amp;lt;pallets-eco/flask-session@c7f8ced0e1532dea87850d34b3328a3fcb769988&amp;gt;&lt;/code&gt;&lt;em&gt;,
&lt;code&gt;c7f8ce
&amp;lt;pallets-eco/flask-session@c7f8ced0e1532dea87850d34b3328a3fcb769988&amp;gt;&lt;/code&gt;&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;Deprecate &lt;code&gt;SESSION_USE_SIGNER&lt;/code&gt;
(&lt;code&gt;a5dba7
&amp;lt;pallets-eco/flask-session@a5dba7022f806c8fb4412d0428b69dd4a077e4a7&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Deprecate
:class:&lt;code&gt;flask_session.filesystem.FileSystemSessionInterface&lt;/code&gt;
in favor of the broader
:class:&lt;code&gt;flask_session.cachelib.CacheLibSessionInterface&lt;/code&gt;
(&lt;code&gt;2bc7df
&amp;lt;pallets-eco/flask-session@2bc7df1be7b8929e55cb25f13845caf0503630d8&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Added&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Add time-to-live expiration for MongoDB
(`9acee3
&amp;lt;https://github.com/pallets-eco/flask-session/commit/9acee3c5fb7072476f3feea923529d19d5e855c3&amp;gt;`_).
- Add retry for SQL based storage
(`[#211](pallets-eco/flask-session#211)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/211&amp;gt;`_).
- Add ``flask session_cleanup`` command and alternatively,
``SESSION_CLEANUP_N_REQUESTS`` for SQLAlchemy or future non-TTL backends
(`[#211](pallets-eco/flask-session#211)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/211&amp;gt;`_).
- Add type hints (`7d7d58
&amp;lt;https://github.com/pallets-eco/flask-session/commit/7d7d58ce371553da39095a421445cf639a62bd5f&amp;gt;`_).
-   Add logo and additional documentation.
- Add vary cookie header when session modified or accessed as per
flask's built-in session (`7ab698
&amp;lt;https://github.com/pallets-eco/flask-session/commit/7ab6980c8ba15912df13dd1e78242803e8104dd6&amp;gt;`_).
- Add regenerate method to session interface to mitigate fixation
(`[#27](pallets-eco/flask-session#27)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/27&amp;gt;`_,
`[#39](pallets-eco/flask-session#39)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/39&amp;gt;`_)(`80df63
&amp;lt;https://github.com/pallets-eco/flask-session/commit/80df635ffd466fa7798f6031be5469b4d5dae069&amp;gt;`_).

Removed
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Remove null session in favour of relevant exception messages
(&lt;code&gt;[#107](pallets-eco/flask-session#107)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/107&amp;gt;&lt;/code&gt;&lt;em&gt;,
&lt;code&gt;[#182](pallets-eco/flask-session#182)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/182&amp;gt;&lt;/code&gt;&lt;/em&gt;)(&lt;code&gt;d7ed1c
&amp;lt;pallets-eco/flask-session@d7ed1c6e7eb3904888b72f0d6c006db1b9b60795&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Drop support for Python 3.7 which is end-of-life and precludes
use of msgspec (&lt;code&gt;bd7e5b
&amp;lt;pallets-eco/flask-session@bd7e5b0bbfc10cdfa9c83b859593c69cc4381571&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Fixed&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Prevent session identifier reuse on storage
miss (`[#76](pallets-eco/flask-session#76)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/76&amp;gt;`_).
-   Abstraction to improve consistency between backends.
- Enforce ``PERMANENT_SESSION_LIFETIME`` as expiration consistently for
all backends
(`[#81](pallets-eco/flask-session#81)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/81&amp;gt;`_)(`86895b
&amp;lt;https://github.com/pallets-eco/flask-session/commit/86895b523203ca67c9f87416bdbf028852dcb357&amp;gt;`_).
- Specifically include backend session interfaces in public API and
document usage
(`[#210](pallets-eco/flask-session#210)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/210&amp;gt;`_).
- Fix non-permanent sessions not updating expiry
(`[#221](pallets-eco/flask-session#221)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/221&amp;gt;`_).


0.6.0 - 2024-01-16
------------------

&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;... (truncated)&lt;/p&gt;
&lt;/details&gt;
&lt;details&gt;
&lt;summary&gt;Commits&lt;/summary&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@65c05eae0e6d679047394b39a8d6e2bce8195ac3&quot;&gt;&lt;code&gt;65c05ea&lt;/code&gt;&lt;/a&gt;
Prep release&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@475cc038376d4d5c2949edf7751a61ed64b7f33c&quot;&gt;&lt;code&gt;475cc03&lt;/code&gt;&lt;/a&gt;
Merge branch 'erik' into development&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@1af5cb223bcb4bb556cf8b49e803700ac332ab89&quot;&gt;&lt;code&gt;1af5cb2&lt;/code&gt;&lt;/a&gt;
Remind the correct PR branch&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@b7a219bcac97e74276d8e419e6174aea2c4ffdad&quot;&gt;&lt;code&gt;b7a219b&lt;/code&gt;&lt;/a&gt;
Reduce documentation and remove filesystem extra&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@6c9a698b61ead380988ba4b69b0f161de47e1886&quot;&gt;&lt;code&gt;6c9a698&lt;/code&gt;&lt;/a&gt;
Fix docs announcement overflow&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@f8f5ad15f787c5b30b663f84883ad2c8108b8314&quot;&gt;&lt;code&gt;f8f5ad1&lt;/code&gt;&lt;/a&gt;
implemented DynamoDBSessionInterface and tests. (&lt;a
href=&quot;https://redirect.github.com/pallets-eco/flask-session/issues/214&quot;&gt;#214&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@5a3413b9b1d67a4116404f23022b58326a60fbdf&quot;&gt;&lt;code&gt;5a3413b&lt;/code&gt;&lt;/a&gt;
Add changelog and contributor&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@17369528b45d9b5a59003ec006ede35ced40f694&quot;&gt;&lt;code&gt;1736952&lt;/code&gt;&lt;/a&gt;
Fix docs requirements&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@a92914ed1196acc2eab4d562996ac944413fb19c&quot;&gt;&lt;code&gt;a92914e&lt;/code&gt;&lt;/a&gt;
Add docs&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@ab9a756a18de87033cf6d3b2d86c6dc46e006800&quot;&gt;&lt;code&gt;ab9a756&lt;/code&gt;&lt;/a&gt;
Tidy up dynamo db, add docker and requirements&lt;/li&gt;
&lt;li&gt;Additional commits viewable in &lt;a
href=&quot;pallets-eco/flask-session@0.6.1rc1...0.8.0&quot;&gt;compare
view&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/details&gt;

&lt;br /&gt;
</code></pre>


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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed May 1, 2024
1 parent b0ef2ec commit c8e3f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/flask/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# blinker is a testing requirement
blinker~=1.8
Flask~=3.0.3
Flask-Session~=0.6.0
Flask-Session~=0.8.0
gunicorn~=22.0.0
numpy~=1.26.4
opencv-python-headless~=4.9.0.80
Expand Down

0 comments on commit c8e3f99

Please sign in to comment.