14
0
forked from pool/python-tblib

- Update to 3.1.0

* Improved performance of ``as_traceback`` by a large factor.
  * Dropped support for now-EOL Python 3.8 and added 3.13 in the
    test grid.
- Drop more-aggressive-location-stripping.patch, fixed upstream
- Drop vendore-reraise-from-six.patch, merged upstream
- Renumber patches

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tblib?expand=0&rev=22
This commit is contained in:
2025-04-14 14:43:33 +00:00
committed by Git OBS Bridge
parent 30dd65e081
commit 030b89dd76
6 changed files with 17 additions and 117 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-tblib
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,19 +26,15 @@
%endif
%{?sle15_python_module_pythons}
Name: python-tblib%{?psuffix}
Version: 3.0.0
Version: 3.1.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
# PATCH-FIX-UPSTREAM https://github.com/ionelmc/python-tblib/pull/77 vendore reraise() from six
Patch0: vendore-reraise-from-six.patch
# PATCH-FIX-UPSTREAM https://github.com/ionelmc/python-tblib/issues/74 More aggressive location stripping. Ref #74.
Patch1: more-aggressive-location-stripping.patch
# PATCH-FIX-FEDORA https://src.fedoraproject.org/rpms/python-tblib/blob/rawhide/f/0001-test_pickle_exception-even-harder-location-stripping.patch
Patch2: test_pickle_exception-even-harder-location-stripping.patch
Patch1: test_pickle_exception-even-harder-location-stripping.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}