summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-twisted: upgrade 24.3.0 -> 24.7.0Guðni Már Gilbert2024-08-101-176/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Twisted 24.7.0 (2024-08-08) =========================== 24.7.0.rc2 fixed an unreleased regression caused by PR 12109. (#12279) No other changes since 24.7.0.rc2 Security Advisories ------------------- - twisted.web.util.redirectTo now HTML-escapes the provided URL in the fallback response body it returns (GHSA-cf56-g6w6-pqq2, CVE-2024-41810). (#9839) - 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) (#12248) Features -------- - twisted.protocols.ftp now supports the IPv6 extensions defined in RFC 2428. (#9645) - twisted.internet.defer.inlineCallbacks can now yield a coroutine. (#9972) - twisted.python._shellcomp.ZshArgumentsGenerator was updated for Python 3.13. (#12065) - twisted.web.wsgi request environment now contains the peer port number as `REMOTE_PORT`. (#12096) - twisted.internet.defer.Deferred.callback() and twisted.internet.defer.Deferred.addCallbacks() no longer use `assert` 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. (#12122) - 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. (#12188) - twisted.internet.defer.Deferred.addCallback now runs about 10% faster. (#12223) - twisted.internet.defer.Deferred error handling is now faster, taking 40% less time to run. (#12227) Bugfixes -------- - twisted.internet.ssl.Certificate.__repr__ can now handle certificates without a common name (CN) in the certificate itself or the signing CA. (#5851) - 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. (#9713) - twisted.python.failure.Failure once again utilizes the custom pickling logic it used to in the past. (#12112) - twisted.conch.client.knownhosts.KnownHostsFile.verifyHostKey no longer logs an exception when automatically adding an IP address host key, which means the interactive `conch` command-line no longer will either. (#12141) Improved Documentation ---------------------- - The IRC server example found in the documentation was updated for readability. (#12097) - Remove contextvars from list of optional dependencies. (#12128) - The documentation for installing Twisted was moved into a single page. (#12145) - The project's compatibility policy now clearly indicates that the GitHub Actions test matrix defines the supported platforms. (#12167) - Updated imap4client.py example, it no longer references Python 2. (#12252) Deprecations and Removals ------------------------- - twisted.internet.defer.returnValue has been deprecated. You can replace it with the standard `return` statement. (#9930) - The `twisted-iocpsupport` is no longer a hard dependency on Windows. The IOCP support is now installed together with the other Windows soft dependencies via `twisted[windows-platform]`. (#11893) - 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. (#12063) - twisted.conch.manhole.ManholeInterpreter.write, twisted.conch.manhole.ManholeInterpreter.addOutput, twisted.mail.imap4.IMAP4Server.sendUntaggedResponse `async` argument, deprecated since 18.9.0, has been removed. (#12130) - twisted.web.soap was removed. The SOAP support was already broken, for at least the last 4 years. The SOAP support in Twisted has no active maintainer. (#12146) Misc ---- - #11744, #11771, #12113, #12154, #12169, #12179, #12193, #12195, #12197, #12215, #12221, #12243, #12249, #12254, #12259, #12669 Conch ----- Bugfixes ~~~~~~~~ - twisted.conch.insults.window.Widget.functionKeyReceived now dispatches functional key events to corresponding `func_KEYNAME` methods, where `KEYNAME` can be `F1`, `F2`, `HOME`, `UP_ARROW` etc. This is a regression introduced with #8214 in Twisted 16.5.0, where events changed from `const` objects to bytestrings in square brackets like `[F1]`. (#12046) Web Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-twisted: prepend split PACKAGESGuðni Már Gilbert2024-05-051-1/+1
| | | | | | | | Fixes an issue where split packages were no populated since all the files were picked up by FILES:${PN} Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-twisted: remove obsolete python3-twisted-flowGuðni Már Gilbert2024-05-011-18/+0
| | | | | | | | | | | | | The flow module was removed in Twisted 9.0.0 a long time and currently does not install anything. Let's remove it to cleanup the recipe. This commit also removes python3-twisted-news package because the source files were removed in Twisted 21.2.0. All other files which no longer exist in the source are also removed from FILES. Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-twisted: upgrade 22.10.0 -> 24.3.0Guðni Már Gilbert2024-04-231-0/+194
Changelogs between 22.10.0 and 24.3.0 can be found here: https://github.com/twisted/twisted/releases/tag/twisted-24.3.0 https://github.com/twisted/twisted/releases/tag/twisted-23.10.0 https://github.com/twisted/twisted/releases/tag/twisted-23.8.0 Summary of changes relevant for the Yocto build: - Brings official support for Python 3.11 and 3.12, only Python 3.8 and above supported. - python3-twisted-conch: python3-pyasn1 is no longer a runtime dependency (23.8.0) - build backend changed from setuptools.build_meta to hatchling.build Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>