1629614926
- update to 24.10.0: * Python 3.13 is now supported. * twisted.internet.defer.succeed() is significantly faster, and awaiting Deferred has also been sped up. * twisted.python.failure.Failure creation no longer records the place where it was created. This reduces creation time by 60% at least, thereby speeding up Deferred error handling. * twisted.internet.defer.Deferred no longer removes the traceback object from Failures. This may result in more objects staying in memory if you don't clean up failed Deferreds, but it speeds up error handling and enables improvements to traceback reporting. * twisted.internet.defer APIs are 2%-4% faster in many cases. * twisted.internet.defer.Deferred runs callbacks with chained Deferreds a little faster. * The reactor now will use a little less CPU when events have been scheduled with callLater(). * Creation of twisted.python.failure.Failure is now faster. * Fixed unreleased regression caused by PR 12109. * twisted.logger.eventAsText can now format the output having types/classes as input. This was a regression introduced in Twisted 24.3.0. * twisted.internet.endpoints.clientFromString for TLS endpoints with "bindAddress=" no longer crashes during connect. twisted.internet.endpoints.HostnameEndpoint() no longer crashes when given a bindAddress= argument that is just a string, and that argument now accepts either address strings or (address, port) tuples. * The URLs from README and pyproject.toml were updated. * #11236, #12060, #12062, #12099, #12219, #12290, #12296,
Dirk Mueller2024-10-29 18:01:24 +00:00
fefd4e58e8
- update to 24.10.0: * Python 3.13 is now supported. * twisted.internet.defer.succeed() is significantly faster, and awaiting Deferred has also been sped up. * twisted.python.failure.Failure creation no longer records the place where it was created. This reduces creation time by 60% at least, thereby speeding up Deferred error handling. * twisted.internet.defer.Deferred no longer removes the traceback object from Failures. This may result in more objects staying in memory if you don't clean up failed Deferreds, but it speeds up error handling and enables improvements to traceback reporting. * twisted.internet.defer APIs are 2%-4% faster in many cases. * twisted.internet.defer.Deferred runs callbacks with chained Deferreds a little faster. * The reactor now will use a little less CPU when events have been scheduled with callLater(). * Creation of twisted.python.failure.Failure is now faster. * Fixed unreleased regression caused by PR 12109. * twisted.logger.eventAsText can now format the output having types/classes as input. This was a regression introduced in Twisted 24.3.0. * twisted.internet.endpoints.clientFromString for TLS endpoints with "bindAddress=" no longer crashes during connect. twisted.internet.endpoints.HostnameEndpoint() no longer crashes when given a bindAddress= argument that is just a string, and that argument now accepts either address strings or (address, port) tuples. * The URLs from README and pyproject.toml were updated. * #11236, #12060, #12062, #12099, #12219, #12290, #12296,
Dirk Mueller2024-10-29 18:01:24 +00:00
5871edc46d
Accepting request 1203276 from devel:languages:python
Ana Guerrero2024-09-26 16:52:44 +00:00
b9d2a97d0b
Accepting request 1203276 from devel:languages:python
Ana Guerrero2024-09-26 16:52:44 +00:00
4b9343c635
- Add upstream patch 12313-fix-test_manhole.patch to fix test failure with latest python312
Markéta Machová2024-09-25 06:56:19 +00:00
0c7ac456d2
Accepting request 1203266 from home:mcalabkova:branches:devel:languages:python:stagings
Markéta Machová2024-09-25 06:56:19 +00:00
954350af7b
- Update to 24.7.0 * 24.7.0.rc2 fixed an unreleased regression caused by PR 12109. (#12279) * 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) * 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) * 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
Matej Cepl2024-09-20 21:39:51 +00:00
6b989a244e
Accepting request 1199704 from home:glaubitz:branches:devel:languages:python
Matej Cepl2024-09-20 21:39:51 +00:00
b6cea33ef8
disclosure (CVE-2024-41671, bsc#1228549) and XSS via html injection (CVE-2024-41810, bsc#1228552):
Daniel Garcia2024-07-31 06:18:32 +00:00
214b6ac5b9
disclosure (CVE-2024-41671, bsc#1228549) and XSS via html injection (CVE-2024-41810, bsc#1228552):
Daniel Garcia2024-07-31 06:18:32 +00:00
cee0a22994
- Add a couple of upstream patches to fix http process information disclosure (CVE-2024-41671) and XSS via html injection (CVE-2024-41810): * CVE-2024-41671.patch gh#twisted/twisted@4a930de12fb6 * CVE-2024-41810.patch gh#twisted/twisted@046a164f89a0
Daniel Garcia2024-07-31 06:15:56 +00:00
54d9c7a32b
- Add a couple of upstream patches to fix http process information disclosure (CVE-2024-41671) and XSS via html injection (CVE-2024-41810): * CVE-2024-41671.patch gh#twisted/twisted@4a930de12fb6 * CVE-2024-41810.patch gh#twisted/twisted@046a164f89a0
Daniel Garcia2024-07-31 06:15:56 +00:00
eb3157063b
Accepting request 1184937 from devel:languages:python
Ana Guerrero2024-07-03 18:29:45 +00:00
72fb22cffe
Accepting request 1184937 from devel:languages:python
Ana Guerrero2024-07-03 18:29:45 +00:00
4c692692ad
- update to 24.3.0: * twisted.logger.formatEvent now honors dotted method names, not just flat function names, in format strings, as it has long been explicitly documented to do. So, you will now get the expected result from formatEvent("here's the result of calling a method at log-format time: {obj.method()}", obj=...) * twisted.web.http.HTTPChannel now ignores the trailer headers provided in the last chunk of a chunked encoded response, rather than raising an exception. * twisted.protocols.tls.BufferingTLSTransport, used by default by twisted.protocols.tls.TLSMemoryBIOFactory, was refactored for improved performance when doing a high number of small writes. * twisted.python.failure.Failure now throws exception for generators without triggering a deprecation warnings on Python 3.12. * twisted.internet.process.Process, used by reactor.spawnProcess, now copies the parent environment when the env=None argument is passed on Posix systems and os.posix_spawnp is used internally. * twisted.internet.defer.inlineCallbacks.returnValue's stack introspection was adjusted for the latest PyPy 7.3.14 release, allowing legacy @inlineCallbacks to run on new PyPY versions. * twisted.trial.reporter.TestRun.startTest() is no longer called for tests with skip annotation or skip attribute for Python 3.12.1 or newer. This is the result of upstream Python gh-106584 change. The behavior is not change in 3.12.0 or older.
Dirk Mueller2024-07-02 19:53:38 +00:00
c19eb61c65
- update to 24.3.0: * twisted.logger.formatEvent now honors dotted method names, not just flat function names, in format strings, as it has long been explicitly documented to do. So, you will now get the expected result from formatEvent("here's the result of calling a method at log-format time: {obj.method()}", obj=...) * twisted.web.http.HTTPChannel now ignores the trailer headers provided in the last chunk of a chunked encoded response, rather than raising an exception. * twisted.protocols.tls.BufferingTLSTransport, used by default by twisted.protocols.tls.TLSMemoryBIOFactory, was refactored for improved performance when doing a high number of small writes. * twisted.python.failure.Failure now throws exception for generators without triggering a deprecation warnings on Python 3.12. * twisted.internet.process.Process, used by reactor.spawnProcess, now copies the parent environment when the env=None argument is passed on Posix systems and os.posix_spawnp is used internally. * twisted.internet.defer.inlineCallbacks.returnValue's stack introspection was adjusted for the latest PyPy 7.3.14 release, allowing legacy @inlineCallbacks to run on new PyPY versions. * twisted.trial.reporter.TestRun.startTest() is no longer called for tests with skip annotation or skip attribute for Python 3.12.1 or newer. This is the result of upstream Python gh-106584 change. The behavior is not change in 3.12.0 or older.
Dirk Mueller2024-07-02 19:53:38 +00:00
56e074c280
Accepting request 1143215 from devel:languages:python
Ana Guerrero2024-02-01 17:04:13 +00:00
74092d8d45
Accepting request 1143215 from devel:languages:python
Ana Guerrero2024-02-01 17:04:13 +00:00
7903b149ff
- Add stop-using-3-arg-throw.patch: * Avoid 3-arg throw to fix a DeprecationWarning in Python 3.12.
Steve Kowalik2024-02-01 08:34:36 +00:00
db51a8bbe5
- Add stop-using-3-arg-throw.patch: * Avoid 3-arg throw to fix a DeprecationWarning in Python 3.12.
Steve Kowalik2024-02-01 08:34:36 +00:00
e0d9c4da22
Accepting request 1139828 from devel:languages:python
Ana Guerrero2024-01-21 22:07:48 +00:00
71f2e4cd0f
Accepting request 1139828 from devel:languages:python
Ana Guerrero2024-01-21 22:07:48 +00:00
3873fcd029
Accepting request 1139817 from home:bnavigator:branches:devel:languages:python
Matej Cepl2024-01-19 00:14:59 +00:00
f7ff5bf4ba
Accepting request 1139817 from home:bnavigator:branches:devel:languages:python
Matej Cepl2024-01-19 00:14:59 +00:00
e7ffb9ae04
Accepting request 1128372 from devel:languages:python
Ana Guerrero2023-11-23 20:38:42 +00:00
2cd4f04d14
Accepting request 1128372 from devel:languages:python
Ana Guerrero2023-11-23 20:38:42 +00:00
f469573120
Accepting request 1128275 from home:mcalabkova:branches:devel:languages:python:numeric
Matej Cepl2023-11-23 16:03:01 +00:00
2ae86c857d
Accepting request 1128275 from home:mcalabkova:branches:devel:languages:python:numeric
Matej Cepl2023-11-23 16:03:01 +00:00
c3931270c4
Accepting request 1126660 from devel:languages:python
Ana Guerrero2023-11-16 19:27:14 +00:00
22c0995b1f
Accepting request 1126660 from devel:languages:python
Ana Guerrero2023-11-16 19:27:14 +00:00
aeb654dcef
- add regenerate-cert-to-work-with-latest-service-identity.patch remove-pynacl-optional-dependency.patch: backports from main git to fix tests with newer dependency versions
Dirk Mueller2023-06-26 20:22:25 +00:00
094afcf612
- add regenerate-cert-to-work-with-latest-service-identity.patch remove-pynacl-optional-dependency.patch: backports from main git to fix tests with newer dependency versions
Dirk Mueller2023-06-26 20:22:25 +00:00
3b762340f5
osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python-Twisted revision:8, using keep-link, using expand
Dirk Mueller2023-05-25 15:53:01 +00:00
9cc440d73e
osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python-Twisted revision:8, using keep-link, using expand
Dirk Mueller2023-05-25 15:53:01 +00:00
b19a638d00
- Update to 22.10.0: * Features + twisted.internet.defer.maybeDeferred will now schedule a coroutine result as asynchronous operation and return a Deferred that fires with the result of the coroutine. + Twisted now works with Cryptography versions 37 and above, and as a result, its minimum TLS protocol version has been upgraded to TLSv1.2. + The systemd: endpoint parser now supports "named" file descriptors. This is a more reliable mechanism for choosing among several inherited descriptors. * Bugfixes + twisted.internet.base.DelayedCall.__repr__ will no longer raise AttributeError if the DelayedCall was created before debug mode was enabled. As a side-effect, twisted.internet.base.DelayedCall.creator is now defined as None in cases where previously it was undefined. + twisted.internet.iocpreactor.udp now properly re-queues its listener when there is a failure condition on the read from the socket. + twisted.internet.defer.inlineCallbacks no longer causes confusing StopIteration tracebacks to be added to the top of tracebacks originating in triggered callbacks. + The typing of twisted.internet.task.react no longer constrains the type of argv. + ContextVar.reset() now works correctly inside inlineCallbacks functions and coroutines. + Implement twisted.python.failure._Code.co_positions for compatibility with Python 3.11. + twisted.pair.tuntap._TUNSETIFF and ._TUNGETIFF values are now correct parisc, powerpc and sparc architectures. + twisted.web.vhost.NameVirtualHost will no longerreturn a NoResource error. (bsc#1204781, CVE-2022-39348)
Steve Kowalik2022-11-01 05:50:34 +00:00
665b13996a
- Update to 22.10.0: * Features + twisted.internet.defer.maybeDeferred will now schedule a coroutine result as asynchronous operation and return a Deferred that fires with the result of the coroutine. + Twisted now works with Cryptography versions 37 and above, and as a result, its minimum TLS protocol version has been upgraded to TLSv1.2. + The systemd: endpoint parser now supports "named" file descriptors. This is a more reliable mechanism for choosing among several inherited descriptors. * Bugfixes + twisted.internet.base.DelayedCall.__repr__ will no longer raise AttributeError if the DelayedCall was created before debug mode was enabled. As a side-effect, twisted.internet.base.DelayedCall.creator is now defined as None in cases where previously it was undefined. + twisted.internet.iocpreactor.udp now properly re-queues its listener when there is a failure condition on the read from the socket. + twisted.internet.defer.inlineCallbacks no longer causes confusing StopIteration tracebacks to be added to the top of tracebacks originating in triggered callbacks. + The typing of twisted.internet.task.react no longer constrains the type of argv. + ContextVar.reset() now works correctly inside inlineCallbacks functions and coroutines. + Implement twisted.python.failure._Code.co_positions for compatibility with Python 3.11. + twisted.pair.tuntap._TUNSETIFF and ._TUNGETIFF values are now correct parisc, powerpc and sparc architectures. + twisted.web.vhost.NameVirtualHost will no longerreturn a NoResource error. (bsc#1204781, CVE-2022-39348)
Steve Kowalik2022-11-01 05:50:34 +00:00
fa38c52c99
- Add patch CVE-2022-24801-http-1.1-leniency.patch: * Be stricter about HTTP/1.1 headers.
Steve Kowalik2022-04-07 02:32:52 +00:00
4460f5972d
- Add patch CVE-2022-24801-http-1.1-leniency.patch: * Be stricter about HTTP/1.1 headers.
Steve Kowalik2022-04-07 02:32:52 +00:00
54d44c61d1
- Update to 22.2.0: * Bugfixes + twisted.internet.gireactor.PortableGIReactor.simulate and twisted.internet.gtk2reactor.PortableGtkReactor.simulate no longer raises TypeError when there are no delayed called. This was a regression introduced with the migration to Python 3 in which the builtin min function no longer accepts None as an argument. (#9660) + twisted.conch.ssh.transport.SSHTransportBase now disconnects the remote peer if the SSH version string is not sent in the first 4096 bytes. (#10284, CVE-2022-21716, GHSA-rv6r-3f5q-9rgx) (bsc#1198086) * Improved Documentation + Add type annotations for twisted.web.http.Request.getHeader. (#10270) * Deprecations and Removals + Support for Python 3.6, which is EoL as of 2021-09-04, has been deprecated. (#10303)
Steve Kowalik2022-04-06 07:09:11 +00:00
4a286c8fa9
- Update to 22.2.0: * Bugfixes + twisted.internet.gireactor.PortableGIReactor.simulate and twisted.internet.gtk2reactor.PortableGtkReactor.simulate no longer raises TypeError when there are no delayed called. This was a regression introduced with the migration to Python 3 in which the builtin min function no longer accepts None as an argument. (#9660) + twisted.conch.ssh.transport.SSHTransportBase now disconnects the remote peer if the SSH version string is not sent in the first 4096 bytes. (#10284, CVE-2022-21716, GHSA-rv6r-3f5q-9rgx) (bsc#1198086) * Improved Documentation + Add type annotations for twisted.web.http.Request.getHeader. (#10270) * Deprecations and Removals + Support for Python 3.6, which is EoL as of 2021-09-04, has been deprecated. (#10303)
Steve Kowalik2022-04-06 07:09:11 +00:00