]> git.pld-linux.org Git - packages/python-future.git/commitdiff
- updated to 0.18.2 auto/th/python-future-0.18.2-1
authorMarcin Krol <hawk@tld-linux.org>
Thu, 12 Dec 2019 13:24:31 +0000 (14:24 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 12 Dec 2019 13:24:31 +0000 (14:24 +0100)
python-future-tests.patch
python-future.spec

index bfaf900d064f635e21d3c04823d20f4b84179abb..069ab3e7d4b76d5b2eb2d64c70823832bcd0b491 100644 (file)
  class urlopenNetworkTests(unittest.TestCase):
      """Tests urllib.reqest.urlopen using the network.
  
+--- future-0.18.2/tests/test_future/test_urllib2.py.orig       2019-10-31 01:56:12.000000000 +0100
++++ future-0.18.2/tests/test_future/test_urllib2.py    2019-12-12 13:58:33.947000000 +0100
+@@ -668,6 +668,7 @@
+ class HandlerTests(unittest.TestCase):
++    @unittest.skip("uses network")
+     def test_ftp(self):
+         class MockFTPWrapper(object):
+             def __init__(self, data): self.data = data
+--- future-0.18.2/tests/test_future/test_builtins.py.orig      2019-10-31 01:56:12.000000000 +0100
++++ future-0.18.2/tests/test_future/test_builtins.py   2019-12-12 14:03:02.070000000 +0100
+@@ -1260,6 +1260,7 @@
+         self.assertEqual(ord(chr(sys.maxunicode)), sys.maxunicode)
+         self.assertRaises(TypeError, ord, 42)
++    @unittest.skip("broken with Python > 3.7")
+     def test_pow(self):
+         self.assertEqual(pow(0,0), 1)
+         self.assertEqual(pow(0,1), 0)
index 51884349f032cb9e4d86e7a661f69a631f5105f2..f19c95d48dce6a9ec7516b4e5628601a5db608c4 100644 (file)
@@ -8,13 +8,13 @@
 Summary:       Clean single-source support for Python 3 and 2
 Summary(pl.UTF-8):     Czysta obsługa Pythona 3 i 2 w jednych źródłach
 Name:          python-future
-Version:       0.17.1
-Release:       2
+Version:       0.18.2
+Release:       1
 License:       MIT
 Group:         Libraries/Python
 #Source0Download: https://pypi.org/simple/future/
 Source0:       https://files.pythonhosted.org/packages/source/f/future/future-%{version}.tar.gz
-# Source0-md5: e42113b4b72fabb5273ff88417104913
+# Source0-md5: e4579c836b9c025872efe230f6270349
 Patch0:                %{name}-tests.patch
 URL:           https://python-future.org/
 %if %{with python2}
@@ -24,6 +24,7 @@ BuildRequires:        python-setuptools
 BuildRequires: python-argparse
 BuildRequires: python-importlib
 %if %{with tests}
+BuildRequires: python-2to3
 BuildRequires: python-unittest2
 %endif
 %endif
This page took 0.081696 seconds and 4 git commands to generate.