14
0

- update to 4.6:

* Catch exceptions in ``formatExceptionOnly``.
  Getting an exception when reporting about a different exception is not helpful.
  On Python 3.11 this is needed for some HTTPErrors.
  * Add official support for Python 3.11.
  * Add official support for Python 3.9 and 3.10.
  * Undo dropping support for Python 3.5.
  * Drop support for running the tests using ``python setup.py test``.
- drop zope.exceptions-pr19+pr21-py310.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.exceptions?expand=0&rev=23
This commit is contained in:
2023-01-06 12:44:31 +00:00
committed by Git OBS Bridge
parent 13ccc714bd
commit 7295e7fa19
5 changed files with 18 additions and 33 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,15 +26,13 @@
%bcond_with test
%endif
Name: python-zope.exceptions%{psuffix}
Version: 4.4
Version: 4.6
Release: 0
Summary: Zope Exceptions
License: ZPL-2.1
Group: Development/Languages/Python
URL: http://cheeseshop.python.org/pypi/zope.exceptions
Source: https://files.pythonhosted.org/packages/source/z/zope.exceptions/zope.exceptions-%{version}.tar.gz
# PATCH-FIX-UPSTREAM zope.exceptions-pr19+pr21-py310.patch -- gh#zopefoundation/zope.exceptions#21
Patch0: zope.exceptions-pr19+pr21-py310.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros