Hello community, here is the log from the commit of package python-Twisted for openSUSE:Factory checked in at 2018-11-06 14:00:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Twisted (Old) and /work/SRC/openSUSE:Factory/.python-Twisted.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Twisted" Tue Nov 6 14:00:50 2018 rev:31 rq:645890 version:18.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Twisted/python-Twisted.changes 2018-07-26 10:16:28.599727636 +0200 +++ /work/SRC/openSUSE:Factory/.python-Twisted.new/python-Twisted.changes 2018-11-06 14:00:54.727724327 +0100 @@ -1,0 +2,37 @@ +Thu Nov 1 09:21:03 UTC 2018 - Tomáš Chvátal <[email protected]> + +- Version update to 18.9.0: + * Fixes for the 3.7 python +- Remove merged python37.patch +- Add patch openssl111.patch which fixes tests with new pyOpenssl + * Asserts changed behaviour + +------------------------------------------------------------------- +Mon Oct 22 08:48:37 UTC 2018 - Tomáš Chvátal <[email protected]> + +- Do not write bytecode stuff when running the tests + +------------------------------------------------------------------- +Fri Oct 19 13:27:25 UTC 2018 - Matěj Cepl <[email protected]> + +- Add BuildRequires python-tz, which seems to be required to test suite + to pass. +- Also, add skip_MultiCast.patch to skip tests requiring full + netrworking stack. + +------------------------------------------------------------------- +Fri Oct 12 09:06:36 UTC 2018 - [email protected] + +- Add missing Requires. + +------------------------------------------------------------------- +Thu Oct 11 08:32:44 UTC 2018 - Tomáš Chvátal <[email protected]> + +- Fix the dependencies to match up upstream setup.py +- Run the tests +- Add patch to build with python3.7: + * python37.patch +- Add missing dependency on pyamcrest +- Remove unused patch lp1102685.diff + +------------------------------------------------------------------- Old: ---- Twisted-18.7.0.tar.bz2 lp1102685.diff New: ---- Twisted-18.9.0.tar.bz2 openssl111.patch skip_MultiCast.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Twisted.spec ++++++ --- /var/tmp/diff_new_pack.45Db4J/_old 2018-11-06 14:00:55.671723103 +0100 +++ /var/tmp/diff_new_pack.45Db4J/_new 2018-11-06 14:00:55.675723098 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,37 +20,53 @@ %define oldpython python %define modname Twisted Name: python-Twisted -Version: 18.7.0 +Version: 18.9.0 Release: 0 Summary: An asynchronous networking framework written in Python License: MIT Group: Development/Languages/Python -Url: http://twistedmatrix.com/ +URL: http://twistedmatrix.com/ Source: https://files.pythonhosted.org/packages/source/T/Twisted/%{modname}-%{version}.tar.bz2 -# PATCH-FIX-UPSTREAM -- https://twistedmatrix.com/trac/ticket/6280 -Patch0: lp1102685.diff -BuildRequires: %{python_module constantly} +Patch1: skip_MultiCast.patch +Patch2: openssl111.patch +BuildRequires: %{python_module Automat >= 0.3.0} +BuildRequires: %{python_module PyHamcrest >= 1.9.0} +BuildRequires: %{python_module appdirs >= 1.4.0} +BuildRequires: %{python_module attrs >= 17.4.0} +BuildRequires: %{python_module constantly >= 15.1} +BuildRequires: %{python_module cryptography >= 1.5} BuildRequires: %{python_module devel} -BuildRequires: %{python_module hyperlink} -BuildRequires: %{python_module incremental} -BuildRequires: %{python_module pyOpenSSL} +BuildRequires: %{python_module h2 >= 3.0} +BuildRequires: %{python_module hyperlink >= 17.1.1} +BuildRequires: %{python_module idna >= 0.6} +BuildRequires: %{python_module incremental >= 16.10.1} +BuildRequires: %{python_module pyOpenSSL >= 16.0.0} +BuildRequires: %{python_module pyasn1} +BuildRequires: %{python_module pyserial >= 3.0} BuildRequires: %{python_module pyserial} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-subunit} +BuildRequires: %{python_module pytz} +BuildRequires: %{python_module service_identity} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module zope.interface} +BuildRequires: %{python_module zope.interface >= 4.4.2} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Automat >= 0.3.0 +Requires: python-PyHamcrest >= 1.9.0 +Requires: python-appdirs >= 1.4.0 +Requires: python-attrs >= 17.4.0 Requires: python-constantly >= 15.1 -Requires: python-cryptography +Requires: python-cryptography >= 1.5 +Requires: python-h2 >= 3.0 Requires: python-hyperlink >= 17.1.1 +Requires: python-idna >= 0.6 Requires: python-incremental >= 16.10.1 Requires: python-pyOpenSSL >= 16.0.0 Requires: python-pyasn1 Requires: python-pyserial >= 3.0 +Requires: python-service_identity Requires: python-zope.interface >= 4.4.2 -Recommends: python-service_identity -BuildRoot: %{_tmppath}/%{name}-%{version}-build %ifpython2 Provides: %{oldpython}-twisted = %{version} Obsoletes: %{oldpython}-twisted < %{version} @@ -93,8 +109,7 @@ %prep %setup -q -n %{modname}-%{version} -#%%patch0 -p1 -#sed -i "1d" twisted/{mail/test/pop3testserver,trial/test/scripttest}.py +%autopatch -p1 %build %python_build @@ -106,7 +121,7 @@ install -m0644 docs/*/man/*.1 %{buildroot}%{_mandir}/man1/ # Install man pages find docs -type f -print0 | xargs -0 chmod a-x # Fix doc-file dependency by removing x flags #sed -i "s/\r//" docs/core/howto/listings/udp/{MulticastClient,MulticastServer}.py -%fdupes %{buildroot}%{_prefix} +%python_expand %fdupes %{buildroot}%{$python_sitearch} # Prepare for update-alternatives usage for p in twistd cftp ckeygen conch pyhtmlizer tkconch trial ; do @@ -122,12 +137,16 @@ # no manpage for twist yet: %python_clone %{buildroot}%{_bindir}/twist +%check +export LANG=en_US.UTF-8 +export PATH=%{buildroot}%{_bindir}:$PATH +export PYTHONDONTWRITEBYTECODE=1 +%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m twisted.trial twisted + %files -n %{name}-doc -%defattr(-,root,root,-) %doc docs/* %files %{python_files} -%defattr(-,root,root,-) %license LICENSE %doc NEWS.rst README.rst %{_bindir}/*-%{python_bin_suffix} ++++++ Twisted-18.7.0.tar.bz2 -> Twisted-18.9.0.tar.bz2 ++++++ ++++ 9290 lines of diff (skipped) ++++++ openssl111.patch ++++++ Index: Twisted-18.9.0/src/twisted/test/test_sslverify.py =================================================================== --- Twisted-18.9.0.orig/src/twisted/test/test_sslverify.py +++ Twisted-18.9.0/src/twisted/test/test_sslverify.py @@ -898,21 +898,6 @@ class OpenSSLOptionsTests(OpenSSLOptions self.assertEqual(opts._cipherString.encode('ascii'), ctx._cipherList) - def test_givesMeaningfulErrorMessageIfNoCipherMatches(self): - """ - If there is no valid cipher that matches the user's wishes, - a L{ValueError} is raised. - """ - self.assertRaises( - ValueError, - sslverify.OpenSSLCertificateOptions, - privateKey=self.sKey, - certificate=self.sCert, - acceptableCiphers= - sslverify.OpenSSLAcceptableCiphers.fromOpenSSLCipherString('') - ) - - def test_honorsAcceptableCiphersArgument(self): """ If acceptable ciphers are passed, they are used. @@ -2706,15 +2691,6 @@ class ExpandCipherStringTests(unittest.T if skipSSL: skip = skipSSL - def test_doesNotStumbleOverEmptyList(self): - """ - If the expanded cipher list is empty, an empty L{list} is returned. - """ - self.assertEqual( - [], - sslverify._expandCipherString(u'', SSL.SSLv23_METHOD, 0) - ) - def test_doesNotSwallowOtherSSLErrors(self): """ ++++++ skip_MultiCast.patch ++++++ --- 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): def setUp(self): + raise unittest.SkipTest("Multicast networking doesn't work with OBS") self.server = Server() self.client = Client() # multicast won't work if we listen over loopback, apparently
