Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the python-packages group in /backend with 2 updates (#33)
Bumps the python-packages group in /backend with 2 updates: [twisted](https://github.com/twisted/twisted) and [nltk](https://github.com/nltk/nltk). Updates `twisted` from 24.3.0 to 24.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/twisted/twisted/releases">twisted's releases</a>.</em></p> <blockquote> <h1>Twisted 24.7.0 (2024-08-08)</h1> <p>24.7.0.rc2 fixed an unreleased regression caused by PR 12109. (<a href="https://redirect.github.com/twisted/twisted/issues/12279">#12279</a>) No other changes since 24.7.0.rc2</p> <h2>Features</h2> <ul> <li>twisted.protocols.ftp now supports the IPv6 extensions defined in RFC 2428. (<a href="https://redirect.github.com/twisted/twisted/issues/9645">#9645</a>)</li> <li>twisted.internet.defer.inlineCallbacks can now yield a coroutine. (<a href="https://redirect.github.com/twisted/twisted/issues/9972">#9972</a>)</li> <li>twisted.python._shellcomp.ZshArgumentsGenerator was updated for Python 3.13. (<a href="https://redirect.github.com/twisted/twisted/issues/12065">#12065</a>)</li> <li>twisted.web.wsgi request environment now contains the peer port number as <code>REMOTE_PORT</code>. (<a href="https://redirect.github.com/twisted/twisted/issues/12096">#12096</a>)</li> <li>twisted.internet.defer.Deferred.callback() and twisted.internet.defer.Deferred.addCallbacks() no longer use <code>assert</code> to check the type of the arguments. You should now use type checking to validate your code. These changes were done to reduce the CPU usage. (<a href="https://redirect.github.com/twisted/twisted/issues/12122">#12122</a>)</li> <li>Added two new methods, twisted.logger.Logger.failuresHandled and twisted.logger.Logger.failureHandler, which allow for more concise and convenient handling of exceptions when dispatching out to application code. The former can arbitrarily customize failure handling at the call site, and the latter can be used for performance-sensitive cases where no additional information needs to be logged. (<a href="https://redirect.github.com/twisted/twisted/issues/12188">#12188</a>)</li> <li>twisted.internet.defer.Deferred.addCallback now runs about 10% faster. (<a href="https://redirect.github.com/twisted/twisted/issues/12223">#12223</a>)</li> <li>twisted.internet.defer.Deferred error handling is now faster, taking 40% less time to run. (<a href="https://redirect.github.com/twisted/twisted/issues/12227">#12227</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li>Fixed unreleased regression caused by PR <a href="https://redirect.github.com/twisted/twisted/issues/12109">#12109</a>. (<a href="https://redirect.github.com/twisted/twisted/issues/12279">#12279</a>)</li> <li>twisted.internet.ssl.Certificate.<strong>repr</strong> can now handle certificates without a common name (CN) in the certificate itself or the signing CA. (<a href="https://redirect.github.com/twisted/twisted/issues/5851">#5851</a>)</li> <li>Type annotations have been added to twisted.conch.interfaces.IKnownHostEntry and its implementations, twisted.conch.client.knownhosts.PlainHost and twisted.conch.client.knownhosts.HashedHost, correcting a variety of type confusion issues throughout the conch client code. (<a href="https://redirect.github.com/twisted/twisted/issues/9713">#9713</a>)</li> <li>twisted.python.failure.Failure once again utilizes the custom pickling logic it used to in the past. (<a href="https://redirect.github.com/twisted/twisted/issues/12112">#12112</a>)</li> <li>twisted.conch.client.knownhosts.KnownHostsFile.verifyHostKey no longer logs an exception when automatically adding an IP address host key, which means the interactive <code>conch</code> command-line no longer will either. (<a href="https://redirect.github.com/twisted/twisted/issues/12141">#12141</a>)</li> </ul> <h2>Improved Documentation</h2> <ul> <li>The IRC server example found in the documentation was updated for readability. (<a href="https://redirect.github.com/twisted/twisted/issues/12097">#12097</a>)</li> <li>Remove contextvars from list of optional dependencies. (<a href="https://redirect.github.com/twisted/twisted/issues/12128">#12128</a>)</li> <li>The documentation for installing Twisted was moved into a single page. (<a href="https://redirect.github.com/twisted/twisted/issues/12145">#12145</a>)</li> <li>The project's compatibility policy now clearly indicates that the GitHub Actions test matrix defines the supported platforms. (<a href="https://redirect.github.com/twisted/twisted/issues/12167">#12167</a>)</li> <li>Updated imap4client.py example, it no longer references Python 2. (<a href="https://redirect.github.com/twisted/twisted/issues/12252">#12252</a>)</li> </ul> <h2>Deprecations and Removals</h2> <ul> <li>twisted.internet.defer.returnValue has been deprecated. You can replace it with the standard <code>return</code> statement. (<a href="https://redirect.github.com/twisted/twisted/issues/9930">#9930</a>)</li> <li>The <code>twisted-iocpsupport</code> is no longer a hard dependency on Windows. The IOCP support is now installed together with the other Windows soft dependencies via <code>twisted[windows-platform]</code>. (<a href="https://redirect.github.com/twisted/twisted/issues/11893">#11893</a>)</li> <li>twisted.python.deprecate helper function will now always strip whitespaces from the docstrings. This is done to have the same behaviour as with Python 3.13. (<a href="https://redirect.github.com/twisted/twisted/issues/12063">#12063</a>)</li> <li>twisted.conch.manhole.ManholeInterpreter.write, twisted.conch.manhole.ManholeInterpreter.addOutput, twisted.mail.imap4.IMAP4Server.sendUntaggedResponse <code>async</code> argument, deprecated since 18.9.0, has been removed. (<a href="https://redirect.github.com/twisted/twisted/issues/12130">#12130</a>)</li> <li>twisted.web.soap was removed.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/twisted/twisted/blob/trunk/NEWS.rst">twisted's changelog</a>.</em></p> <blockquote> <h1>Twisted 24.7.0 (2024-08-08)</h1> <p>24.7.0.rc2 fixed an unreleased regression caused by PR 12109. (<a href="https://redirect.github.com/twisted/twisted/issues/12279">#12279</a>) No other changes since 24.7.0.rc2</p> <h2>Security Advisories</h2> <ul> <li>twisted.web.util.redirectTo now HTML-escapes the provided URL in the fallback response body it returns (GHSA-cf56-g6w6-pqq2, CVE-2024-41810). (<a href="https://redirect.github.com/twisted/twisted/issues/9839">#9839</a>)</li> <li>The HTTP 1.0 and 1.1 server provided by twisted.web could process pipelined HTTP requests out-of-order, possibly resulting in information disclosure (CVE-2024-41671/GHSA-c8m8-j448-xjx7) (<a href="https://redirect.github.com/twisted/twisted/issues/12248">#12248</a>)</li> </ul> <h2>Features</h2> <ul> <li>twisted.protocols.ftp now supports the IPv6 extensions defined in RFC 2428. (<a href="https://redirect.github.com/twisted/twisted/issues/9645">#9645</a>)</li> <li>twisted.internet.defer.inlineCallbacks can now yield a coroutine. (<a href="https://redirect.github.com/twisted/twisted/issues/9972">#9972</a>)</li> <li>twisted.python._shellcomp.ZshArgumentsGenerator was updated for Python 3.13. (<a href="https://redirect.github.com/twisted/twisted/issues/12065">#12065</a>)</li> <li>twisted.web.wsgi request environment now contains the peer port number as <code>REMOTE_PORT</code>. (<a href="https://redirect.github.com/twisted/twisted/issues/12096">#12096</a>)</li> <li>twisted.internet.defer.Deferred.callback() and twisted.internet.defer.Deferred.addCallbacks() no longer use <code>assert</code> to check the type of the arguments. You should now use type checking to validate your code. These changes were done to reduce the CPU usage. (<a href="https://redirect.github.com/twisted/twisted/issues/12122">#12122</a>)</li> <li>Added two new methods, twisted.logger.Logger.failuresHandled and twisted.logger.Logger.failureHandler, which allow for more concise and convenient handling of exceptions when dispatching out to application code. The former can arbitrarily customize failure handling at the call site, and the latter can be used for performance-sensitive cases where no additional information needs to be logged. (<a href="https://redirect.github.com/twisted/twisted/issues/12188">#12188</a>)</li> <li>twisted.internet.defer.Deferred.addCallback now runs about 10% faster. (<a href="https://redirect.github.com/twisted/twisted/issues/12223">#12223</a>)</li> <li>twisted.internet.defer.Deferred error handling is now faster, taking 40% less time to run. (<a href="https://redirect.github.com/twisted/twisted/issues/12227">#12227</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li>twisted.internet.ssl.Certificate.<strong>repr</strong> can now handle certificates without a common name (CN) in the certificate itself or the signing CA. (<a href="https://redirect.github.com/twisted/twisted/issues/5851">#5851</a>)</li> <li>Type annotations have been added to twisted.conch.interfaces.IKnownHostEntry and its implementations, twisted.conch.client.knownhosts.PlainHost and twisted.conch.client.knownhosts.HashedHost, correcting a variety of type confusion issues throughout the conch client code. (<a href="https://redirect.github.com/twisted/twisted/issues/9713">#9713</a>)</li> <li>twisted.python.failure.Failure once again utilizes the custom pickling logic it used to in the past. (<a href="https://redirect.github.com/twisted/twisted/issues/12112">#12112</a>)</li> <li>twisted.conch.client.knownhosts.KnownHostsFile.verifyHostKey no longer logs an exception when automatically adding an IP address host key, which means the interactive <code>conch</code> command-line no longer will either. (<a href="https://redirect.github.com/twisted/twisted/issues/12141">#12141</a>)</li> </ul> <h2>Improved Documentation</h2> <ul> <li>The IRC server example found in the documentation was updated for readability. (<a href="https://redirect.github.com/twisted/twisted/issues/12097">#12097</a>)</li> <li>Remove contextvars from list of optional dependencies. (<a href="https://redirect.github.com/twisted/twisted/issues/12128">#12128</a>)</li> <li>The documentation for installing Twisted was moved into a single page. (<a href="https://redirect.github.com/twisted/twisted/issues/12145">#12145</a>)</li> <li>The project's compatibility policy now clearly indicates that the GitHub Actions test matrix defines the supported platforms. (<a href="https://redirect.github.com/twisted/twisted/issues/12167">#12167</a>)</li> <li>Updated imap4client.py example, it no longer references Python 2. (<a href="https://redirect.github.com/twisted/twisted/issues/12252">#12252</a>)</li> </ul> <h2>Deprecations and Removals</h2> <ul> <li>twisted.internet.defer.returnValue has been deprecated. You can replace it with the standard <code>return</code> statement. (<a href="https://redirect.github.com/twisted/twisted/issues/9930">#9930</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/twisted/twisted/commit/8cb7d2bcf5dd09dd5b98b0da7b9d77d86581016f"><code>8cb7d2b</code></a> python -m incremental.update Twisted --newversion 24.7.0</li> <li><a href="https://github.com/twisted/twisted/commit/05b4a87fdc55153187ca1445a85f16f3478d78e8"><code>05b4a87</code></a> Update news.</li> <li><a href="https://github.com/twisted/twisted/commit/a30fcf654e0e49d253d93867237a11594f1ae92c"><code>a30fcf6</code></a> Fix conflict.</li> <li><a href="https://github.com/twisted/twisted/commit/db61dbb794367dc8de97c06d3a8c3ae9c2c4e4b6"><code>db61dbb</code></a> tox -e towncrier</li> <li><a href="https://github.com/twisted/twisted/commit/34dc72e14ee04504fea32ba34d747da893637600"><code>34dc72e</code></a> python -m incremental.update Twisted --rc</li> <li><a href="https://github.com/twisted/twisted/commit/4814526f91927a257dd941c64c114ef8560120f9"><code>4814526</code></a> Fix regression in CopiedFailure</li> <li><a href="https://github.com/twisted/twisted/commit/b51c18600629d5c2263fd2a714659b7dd716f12c"><code>b51c186</code></a> Move securitu fixes to a separate security advisories.</li> <li><a href="https://github.com/twisted/twisted/commit/c0b035c85b1b42731c0f7a68900ede4c842b45c9"><code>c0b035c</code></a> Fix typos</li> <li><a href="https://github.com/twisted/twisted/commit/6970f5c6503e94f6c9ab76fa04fff8ae71884386"><code>6970f5c</code></a> Fix typo.</li> <li><a href="https://github.com/twisted/twisted/commit/6d157ca99cccf2479dfb7dcb7e9dd4d9b748fe59"><code>6d157ca</code></a> tox -e towncrier</li> <li>Additional commits viewable in <a href="https://github.com/twisted/twisted/compare/twisted-24.3.0...twisted-24.7.0">compare view</a></li> </ul> </details> <br /> Updates `nltk` from 3.8.1 to 3.8.2 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/nltk/nltk/blob/develop/ChangeLog">nltk's changelog</a>.</em></p> <blockquote> <p>Version 3.8.2 2024-08-09</p> <ul> <li>Avoid need for pickled models, resolves security vulnerability CVE-2024-39705</li> <li>Add Python 3.12 support</li> <li>Many other minor fixes</li> </ul> <p>Thanks to the following contributors to 3.8.2: Tom Aarsen, Cat Lee Ball, Veralara Bernhard, Carlos Brandt, Konstantin Chernyshev, Michael Higgins, Eric Kafe, Vivek Kalyan, David Lukes, Rob Malouf, purificant, Alex Rudnick, Liling Tan, Akihiro Yamazaki.</p> <p>Version 3.8.1 2023-01-02</p> <ul> <li>Resolve RCE vulnerability in localhost WordNet Browser (<a href="https://redirect.github.com/nltk/nltk/issues/3100">#3100</a>)</li> <li>Remove unused tool scripts (<a href="https://redirect.github.com/nltk/nltk/issues/3099">#3099</a>)</li> <li>Resolve XSS vulnerability in localhost WordNet Browser (<a href="https://redirect.github.com/nltk/nltk/issues/3096">#3096</a>)</li> <li>Add Python 3.11 support (<a href="https://redirect.github.com/nltk/nltk/issues/3090">#3090</a>)</li> </ul> <p>Thanks to the following contributors to 3.8.1: Francis Bond, John Vandenberg, Tom Aarsen</p> <p>Version 3.8 2022-12-12</p> <ul> <li>Refactor dispersion plot (<a href="https://redirect.github.com/nltk/nltk/issues/3082">#3082</a>)</li> <li>Provide type hints for LazyCorpusLoader variables (<a href="https://redirect.github.com/nltk/nltk/issues/3081">#3081</a>)</li> <li>Throw warning when LanguageModel is initialized with incorrect vocabulary (<a href="https://redirect.github.com/nltk/nltk/issues/3080">#3080</a>)</li> <li>Fix WordNet's all_synsets() function (<a href="https://redirect.github.com/nltk/nltk/issues/3078">#3078</a>)</li> <li>Resolve TreebankWordDetokenizer inconsistency with end-of-string contractions (<a href="https://redirect.github.com/nltk/nltk/issues/3070">#3070</a>)</li> <li>Support both iso639-3 codes and BCP-47 language tags (<a href="https://redirect.github.com/nltk/nltk/issues/3060">#3060</a>)</li> <li>Avoid DeprecationWarning in Regexp tokenizer (<a href="https://redirect.github.com/nltk/nltk/issues/3055">#3055</a>)</li> <li>Fix many doctests, add doctests to CI (<a href="https://redirect.github.com/nltk/nltk/issues/3054">#3054</a>, <a href="https://redirect.github.com/nltk/nltk/issues/3050">#3050</a>, <a href="https://redirect.github.com/nltk/nltk/issues/3048">#3048</a>)</li> <li>Fix bool field not being read in VerbNet (<a href="https://redirect.github.com/nltk/nltk/issues/3044">#3044</a>)</li> <li>Greatly improve time efficiency of SyllableTokenizer when tokenizing numbers (<a href="https://redirect.github.com/nltk/nltk/issues/3042">#3042</a>)</li> <li>Fix encodings of Polish udhr corpus reader (<a href="https://redirect.github.com/nltk/nltk/issues/3038">#3038</a>)</li> <li>Allow TweetTokenizer to tokenize emoji flag sequences (<a href="https://redirect.github.com/nltk/nltk/issues/3034">#3034</a>)</li> <li>Prevent LazyModule from increasing the size of nltk.<strong>dict</strong> (<a href="https://redirect.github.com/nltk/nltk/issues/3033">#3033</a>)</li> <li>Fix CoreNLPServer non-default port issue (<a href="https://redirect.github.com/nltk/nltk/issues/3031">#3031</a>)</li> <li>Add "acion" suffix to the Spanish SnowballStemmer (<a href="https://redirect.github.com/nltk/nltk/issues/3030">#3030</a>)</li> <li>Allow loading WordNet without OMW (<a href="https://redirect.github.com/nltk/nltk/issues/3026">#3026</a>)</li> <li>Use input() in nltk.chat.chatbot() for Jupyter support (<a href="https://redirect.github.com/nltk/nltk/issues/3022">#3022</a>)</li> <li>Fix edit_distance_align() in distance.py (<a href="https://redirect.github.com/nltk/nltk/issues/3017">#3017</a>)</li> <li>Tackle performance and accuracy regression of sentence tokenizer since NLTK 3.6.6 (<a href="https://redirect.github.com/nltk/nltk/issues/3014">#3014</a>)</li> <li>Add the Iota operator to semantic logic (<a href="https://redirect.github.com/nltk/nltk/issues/3010">#3010</a>)</li> <li>Resolve critical errors in WordNet app (<a href="https://redirect.github.com/nltk/nltk/issues/3008">#3008</a>)</li> <li>Resolve critical error in CHILDES Corpus (<a href="https://redirect.github.com/nltk/nltk/issues/2998">#2998</a>)</li> <li>Make WordNet information_content() accept adjective satellites (<a href="https://redirect.github.com/nltk/nltk/issues/2995">#2995</a>)</li> <li>Add "strict=True" parameter to CoreNLP (<a href="https://redirect.github.com/nltk/nltk/issues/2993">#2993</a>, <a href="https://redirect.github.com/nltk/nltk/issues/3043">#3043</a>)</li> <li>Resolve issue with WordNet's synset_from_sense_key (<a href="https://redirect.github.com/nltk/nltk/issues/2988">#2988</a>)</li> <li>Handle WordNet synsets that were lost in mapping (<a href="https://redirect.github.com/nltk/nltk/issues/2985">#2985</a>)</li> <li>Resolve TypeError in Boxer (<a href="https://redirect.github.com/nltk/nltk/issues/2979">#2979</a>)</li> <li>Add function to retrieve WordNet synonyms (<a href="https://redirect.github.com/nltk/nltk/issues/2978">#2978</a>)</li> <li>Warn about nonexistent OMW offsets instead of raising an error (<a href="https://redirect.github.com/nltk/nltk/issues/2974">#2974</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nltk/nltk/commit/0753ee5bb0096b4a4b3dd587e784ce07e7f34dab"><code>0753ee5</code></a> fix whitespace (<a href="https://redirect.github.com/nltk/nltk/issues/3292">#3292</a>)</li> <li><a href="https://github.com/nltk/nltk/commit/d3c1cc5ef4ebeb800ab1005ec97bd008e4a0b4ed"><code>d3c1cc5</code></a> Mention Python 3.12 support</li> <li><a href="https://github.com/nltk/nltk/commit/ee69707e1f0e2f840d30908f50578751ae5820b2"><code>ee69707</code></a> Formatting fix</li> <li><a href="https://github.com/nltk/nltk/commit/5fb43d489ef33662220705485e9dec3331c0c40d"><code>5fb43d4</code></a> improve release howto</li> <li><a href="https://github.com/nltk/nltk/commit/8c2a6f607148d6da0b47dc55b953a3ec0ee25306"><code>8c2a6f6</code></a> Update copyright year</li> <li><a href="https://github.com/nltk/nltk/commit/441aecb7d33014bd08672232c6c8bb69c2ceaba2"><code>441aecb</code></a> Update version to 3.8.2, add release notes</li> <li><a href="https://github.com/nltk/nltk/commit/b73aa9bc6afa54c335f08d6911f5b9bbba52cd57"><code>b73aa9b</code></a> Merge pull request <a href="https://redirect.github.com/nltk/nltk/issues/3283">#3283</a> from ekaf/punkt_tab</li> <li><a href="https://github.com/nltk/nltk/commit/45731bcad3dabe1003aba9e44d0ec698e5ca5614"><code>45731bc</code></a> Fix ne_chunk and add doctest</li> <li><a href="https://github.com/nltk/nltk/commit/520475b1bd25ad4adba675395816a1c15354c20e"><code>520475b</code></a> Don't use remove_suffix()</li> <li><a href="https://github.com/nltk/nltk/commit/5ee6c9371c3944d235f082ab8b3b8cc7facc0687"><code>5ee6c93</code></a> Don't initialize sent_tokenizer in plaintext reader</li> <li>Additional commits viewable in <a href="https://github.com/nltk/nltk/compare/3.8.1...3.8.2">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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information