diff --git a/0001-Patch-tests-against-Python-3.7.patch b/0001-Patch-tests-against-Python-3.7.patch deleted file mode 100644 index 65e36b0..0000000 --- a/0001-Patch-tests-against-Python-3.7.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 9a3141d0a1b67e2c4c8ac18deead830adfdae0de Mon Sep 17 00:00:00 2001 -From: Elliott Sales de Andrade -Date: Sat, 30 Jun 2018 20:51:57 -0400 -Subject: [PATCH] Patch tests against Python 3.7. - -Signed-off-by: Elliott Sales de Andrade ---- - README.rst | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/README.rst b/README.rst -index a4838e7..e034cb2 100644 ---- a/README.rst -+++ b/README.rst -@@ -162,13 +162,13 @@ Unpickling - :: - - >>> pickle.loads(s1) -- (<...Exception'>, Exception('fail',), ) -+ (<...Exception'>, Exception('fail'...), ) - - >>> pickle.loads(s2) -- (<...Exception'>, Exception('fail',), ) -+ (<...Exception'>, Exception('fail'...), ) - - >>> pickle.loads(s3) -- (<...Exception'>, Exception('fail',), ) -+ (<...Exception'>, Exception('fail'...), ) - - Raising - ~~~~~~~ --- -2.17.1 - diff --git a/python-tblib.changes b/python-tblib.changes index 5ca650b..2c6464e 100644 --- a/python-tblib.changes +++ b/python-tblib.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon May 6 07:56:48 UTC 2019 - pgajdos@suse.com + +- version update to 1.4.0 + * Remove support for end of life Python 3.3. + * Fixed tests for Python 3.7. Contributed by Elliott Sales de Andrade in + `#36 `_. + * Fixed compatibility issue with Twised (``twisted.python.failure.Failure`` + expected a ``co_code`` attribute). +- deleted patches + - 0001-Patch-tests-against-Python-3.7.patch (upstreamed) + ------------------------------------------------------------------- Sun Mar 3 10:29:39 UTC 2019 - John Vandenberg diff --git a/python-tblib.spec b/python-tblib.spec index 8f860b2..4721f33 100644 --- a/python-tblib.spec +++ b/python-tblib.spec @@ -18,15 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tblib -Version: 1.3.2 +Version: 1.4.0 Release: 0 Summary: Traceback serialization library License: BSD-2-Clause Group: Development/Languages/Python Url: https://github.com/ionelmc/python-tblib Source: https://files.pythonhosted.org/packages/source/t/tblib/tblib-%{version}.tar.gz -# https://github.com/ionelmc/python-tblib/issues/36 -Patch0: https://src.fedoraproject.org/rpms/python-tblib/raw/master/f/0001-Patch-tests-against-Python-3.7.patch +BuildRequires: %{python_module Twisted} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} @@ -58,7 +57,6 @@ the pickle support. %prep %setup -q -n tblib-%{version} -%patch0 -p1 %build %python_build @@ -68,9 +66,7 @@ the pickle support. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%{python_expand export PYTHONPATH=tests:%{buildroot}%{$python_sitelib} -$python -m pytest README.rst -} +%pytest %files %{python_files} %doc AUTHORS.rst CHANGELOG.rst README.rst diff --git a/tblib-1.3.2.tar.gz b/tblib-1.3.2.tar.gz deleted file mode 100644 index f7f0026..0000000 --- a/tblib-1.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:436e4200e63d92316551179dc540906652878df4ff39b43db30fcf6400444fe7 -size 26958 diff --git a/tblib-1.4.0.tar.gz b/tblib-1.4.0.tar.gz new file mode 100644 index 0000000..10a7321 --- /dev/null +++ b/tblib-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd1ad564564a158ff62c290687f3db446038f9ac11a0bf6892712e3601af3bcd +size 27050