Accepting request 700983 from home:pgajdos
- 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 <https://github.com/ionelmc/python-tblib/issues/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) OBS-URL: https://build.opensuse.org/request/show/700983 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tblib?expand=0&rev=8
This commit is contained in:
parent
6022fcd26c
commit
2e64fc9c76
@ -1,34 +0,0 @@
|
|||||||
From 9a3141d0a1b67e2c4c8ac18deead830adfdae0de Mon Sep 17 00:00:00 2001
|
|
||||||
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
|
||||||
Date: Sat, 30 Jun 2018 20:51:57 -0400
|
|
||||||
Subject: [PATCH] Patch tests against Python 3.7.
|
|
||||||
|
|
||||||
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
|
||||||
---
|
|
||||||
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',), <traceback object at ...>)
|
|
||||||
+ (<...Exception'>, Exception('fail'...), <traceback object at ...>)
|
|
||||||
|
|
||||||
>>> pickle.loads(s2)
|
|
||||||
- (<...Exception'>, Exception('fail',), <traceback object at ...>)
|
|
||||||
+ (<...Exception'>, Exception('fail'...), <traceback object at ...>)
|
|
||||||
|
|
||||||
>>> pickle.loads(s3)
|
|
||||||
- (<...Exception'>, Exception('fail',), <traceback object at ...>)
|
|
||||||
+ (<...Exception'>, Exception('fail'...), <traceback object at ...>)
|
|
||||||
|
|
||||||
Raising
|
|
||||||
~~~~~~~
|
|
||||||
--
|
|
||||||
2.17.1
|
|
||||||
|
|
@ -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 <https://github.com/ionelmc/python-tblib/issues/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 <jayvdb@gmail.com>
|
Sun Mar 3 10:29:39 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@ -18,15 +18,14 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-tblib
|
Name: python-tblib
|
||||||
Version: 1.3.2
|
Version: 1.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Traceback serialization library
|
Summary: Traceback serialization library
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/ionelmc/python-tblib
|
Url: https://github.com/ionelmc/python-tblib
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/tblib/tblib-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tblib/tblib-%{version}.tar.gz
|
||||||
# https://github.com/ionelmc/python-tblib/issues/36
|
BuildRequires: %{python_module Twisted}
|
||||||
Patch0: https://src.fedoraproject.org/rpms/python-tblib/raw/master/f/0001-Patch-tests-against-Python-3.7.patch
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
@ -58,7 +57,6 @@ the pickle support.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n tblib-%{version}
|
%setup -q -n tblib-%{version}
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -68,9 +66,7 @@ the pickle support.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{python_expand export PYTHONPATH=tests:%{buildroot}%{$python_sitelib}
|
%pytest
|
||||||
$python -m pytest README.rst
|
|
||||||
}
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:436e4200e63d92316551179dc540906652878df4ff39b43db30fcf6400444fe7
|
|
||||||
size 26958
|
|
3
tblib-1.4.0.tar.gz
Normal file
3
tblib-1.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bd1ad564564a158ff62c290687f3db446038f9ac11a0bf6892712e3601af3bcd
|
||||||
|
size 27050
|
Loading…
Reference in New Issue
Block a user