dependabot[bot] opened a new pull request, #2095:
URL: https://github.com/apache/incubator-pegasus/pull/2095

   Bumps [twisted](https://github.com/twisted/twisted) from 21.2.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-21.2.0...twisted-24.7.0";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=twisted&package-manager=pip&previous-version=21.2.0&new-version=24.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   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)
   You can disable automated security fix PRs for this repo from the [Security 
Alerts page](https://github.com/apache/incubator-pegasus/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to