15
0

Accepting request 731161 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/731161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Twisted?expand=0&rev=36
This commit is contained in:
2019-09-23 10:17:24 +00:00
committed by Git OBS Bridge
6 changed files with 32 additions and 45 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa2c04c2d68a9be7fc3975ba4947f653a57a656776f24be58ff0fe4b9aaf3e52
size 3097651

3
Twisted-19.7.0.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5db93026568f60cacdc0615fcd21d46f694a6bfad0ef3ff53cde2b4bb85a39d
size 3092680

View File

@@ -1,36 +0,0 @@
From 46fc370d6b49a241fb05815ccdc7406f0e430183 Mon Sep 17 00:00:00 2001
From: Tom Most <twm@freecog.net>
Date: Mon, 8 Apr 2019 22:38:23 -0700
Subject: [PATCH] Remove test_parseEqualSignInParamValue
Twisted should not test Hyperlink's behavior so extensively, as
discussed at https://github.com/python-hyper/hyperlink/pull/39
---
src/twisted/python/test/test_url.py | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/src/twisted/python/test/test_url.py b/src/twisted/python/test/test_url.py
index e36c2ca01b..7d55f10fd1 100644
--- a/src/twisted/python/test/test_url.py
+++ b/src/twisted/python/test/test_url.py
@@ -476,20 +476,6 @@ def test_queryRemove(self):
)
- def test_parseEqualSignInParamValue(self):
- """
- Every C{=}-sign after the first in a query parameter is simply included
- in the value of the parameter.
- """
- u = URL.fromText('http://localhost/?=x=x=x')
- self.assertEqual(u.get(u''), ['x=x=x'])
- self.assertEqual(u.asText(), 'http://localhost/?=x%3Dx%3Dx')
- u = URL.fromText('http://localhost/?foo=x=x=x&bar=y')
- self.assertEqual(u.query, (('foo', 'x=x=x'),
- ('bar', 'y')))
- self.assertEqual(u.asText(), 'http://localhost/?foo=x%3Dx%3Dx&bar=y')
-
-
def test_empty(self):
"""
An empty L{URL} should serialize as the empty string.

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Sat Sep 14 15:29:06 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Remove mailmail when only building Python 3 flavour
-------------------------------------------------------------------
Fri Sep 13 13:09:16 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 19.7.0:
* The callable argument to twisted.internet.task.deferLater() is no longer required. (#9577)
* twisted.internet.utils.getProcessOutputAndValue now accepts stdinBytes to write to the child process's standard input. (#9607)
* Add new twisted.logger.capturedLogs context manager for capturing observed log events in tests. (#9617)
* twisted.internet.base.PluggableResolverMixin, which implements the pluggable resolver interfaces for easier re-use in other reactors, has been factored out of ReactorBase. (#9632)
* The PyPI page for Twisted has been enhanced to include more information and useful links. (#9648)
- Refresh patch:
* skip_MultiCast.patch
- Remove merged patch hyperlink.patch
-------------------------------------------------------------------
Wed Jun 12 05:55:44 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>

View File

@@ -20,7 +20,7 @@
%define oldpython python
%define modname Twisted
Name: python-Twisted
Version: 19.2.1
Version: 19.7.0
Release: 0
Summary: An asynchronous networking framework written in Python
License: MIT
@@ -30,7 +30,6 @@ Source: https://files.pythonhosted.org/packages/source/T/Twisted/%{modna
Patch1: skip_MultiCast.patch
Patch2: no-pygtkcompat.patch
Patch3: test-mktime-invalid-tm_isdst.patch
Patch4: hyperlink.patch
BuildRequires: %{python_module Automat >= 0.3.0}
BuildRequires: %{python_module PyHamcrest >= 1.9.0}
BuildRequires: %{python_module appdirs >= 1.4.0}
@@ -138,6 +137,10 @@ done
%python_clone %{buildroot}%{_bindir}/mailmail
%python_clone %{buildroot}%{_mandir}/man1/mailmail.1
%endif
%if ! 0%{?have_python2} || 0%{?skip_python2}
rm %{buildroot}%{_bindir}/mailmail %{buildroot}%{_mandir}/man1/mailmail.1
%endif
# no manpage for twist yet:
%python_clone %{buildroot}%{_bindir}/twist

View File

@@ -1,7 +1,9 @@
--- a/src/twisted/test/test_udp.py
+++ b/src/twisted/test/test_udp.py
@@ -503,6 +503,7 @@ class ReactorShutdownInteractionTests(un
class MulticastTests(unittest.TestCase):
Index: Twisted-19.7.0/src/twisted/test/test_udp.py
===================================================================
--- Twisted-19.7.0.orig/src/twisted/test/test_udp.py
+++ Twisted-19.7.0/src/twisted/test/test_udp.py
@@ -514,6 +514,7 @@ class MulticastTests(unittest.TestCase):
skip = "Does not work on Azure Pipelines"
def setUp(self):
+ raise unittest.SkipTest("Multicast networking doesn't work with OBS")