15
0
Files
python-Twisted/skip_MultiCast.patch
Matej Cepl 5f273cc925 - Update to 21.7.0:
- Python 3.10 beta is now a supported platform and should be ready for
    the final 3.10 release.
  - twisted.web.template.renderElement() now accepts any IRequest
    implementer instead of only twisted.web.server.Request. Add type
    hints to twisted.web.template. (#10184)
  - Type hinting was added to twisted.internet.defer, making this the
    first release  of Twisted where you might reasonably be able to use
    mypy without your own custom stub files. (#10017)
- Patch incremental-21.patch removed, because included in the
  upstream tarball.
    - The enableSessions argument to
      twisted.internet.ssl.CertificateOptions now
    - actually enables/disables OpenSSL's session cache. Also, due to
    - session-related bugs, it defaults to False. (#9583)
    - twisted.internet.defer.inlineCallbacks and ensureDeferred will now
      associate a contextvars.Context with the coroutines they run,
      meaning that ContextVar objects will maintain their value within
      the same coroutine, similarly to asyncio Tasks. This functionality
      requires Python 3.7+, or the contextvars PyPI backport to be
      installed for Python 3.5-3.6. (#9719, #9826)
    - twisted.internet.defer.Deferred.fromCoroutine has been added. This
      is similar to the existing ensureDeferred function, but is named
      more consistently inside Twisted and does not pass through
      Deferreds. (#9825)
    - trial now allows the @unittest.skipIf decorator to specify that an
      entire test class should be skipped. (#9829)
    - The twisted.python.deprecate.deprecatedKeywordParameter decorator
      can be used to mark a keyword paramater of a function or method as
      deprecated. (#9844)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=107
2021-07-31 06:18:53 +00:00

24 lines
765 B
Diff

---
src/twisted/test/test_udp.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/src/twisted/test/test_udp.py
+++ b/src/twisted/test/test_udp.py
@@ -9,7 +9,7 @@ Tests for implementations of L{IReactorU
import os
-from unittest import skipIf
+from unittest import skipIf, SkipTest
from twisted.trial.unittest import TestCase
from twisted.internet.defer import Deferred, gatherResults, maybeDeferred
@@ -522,6 +522,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