forked from pool/python-Twisted
* 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)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=125
26 lines
952 B
Diff
26 lines
952 B
Diff
---
|
|
src/twisted/test/test_udp.py | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
Index: Twisted-22.10.0/src/twisted/test/test_udp.py
|
|
===================================================================
|
|
--- Twisted-22.10.0.orig/src/twisted/test/test_udp.py
|
|
+++ Twisted-22.10.0/src/twisted/test/test_udp.py
|
|
@@ -8,7 +8,7 @@ Tests for implementations of L{IReactorU
|
|
|
|
|
|
import os
|
|
-from unittest import skipIf
|
|
+from unittest import skipIf, SkipTest
|
|
|
|
from twisted.internet import defer, error, interfaces, protocol, reactor, udp
|
|
from twisted.internet.defer import Deferred, gatherResults, maybeDeferred
|
|
@@ -581,6 +581,7 @@ class MulticastTests(TestCase):
|
|
skip = "This reactor does not support multicast"
|
|
|
|
def setUp(self):
|
|
+ raise SkipTest("Multicast networking doesn't work with OBS")
|
|
self.server = Server()
|
|
self.client = Client()
|
|
# multicast won't work if we listen over loopback, apparently
|