Accepting request 1045038 from home:bnavigator:branches:devel:languages:python
- Update to 1.1.0 * Backported upstream fix for gh-99553 (custom subclasses of BaseExceptionGroup that also inherit from Exception should not be able to wrap base exceptions) * Moved all initialization code to __new__() (thus matching Python 3.11 behavior) - Fix multibuild OBS-URL: https://build.opensuse.org/request/show/1045038 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=7
This commit is contained in:
parent
ce7d00b003
commit
f487522a7e
4
_service
4
_service
@ -1,4 +0,0 @@
|
||||
<services>
|
||||
<service name="download_files" mode="disabled">
|
||||
</service>
|
||||
</services>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:69e8a2ddd1b03175ca2c43f474bb1e7eb5074afadf73e63e9c905cdee1a82a6b
|
||||
size 22529
|
3
exceptiongroup-1.1.0-gh.tar.gz
Normal file
3
exceptiongroup-1.1.0-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9036aa671fa6fcd0f40ee80f9f373697c3501fb66ac0dbec3bce50baeda81e1d
|
||||
size 22724
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 23 15:24:56 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 1.1.0
|
||||
* Backported upstream fix for gh-99553 (custom subclasses of
|
||||
BaseExceptionGroup that also inherit from Exception should not
|
||||
be able to wrap base exceptions)
|
||||
* Moved all initialization code to __new__() (thus matching
|
||||
Python 3.11 behavior)
|
||||
- Fix multibuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 19 10:08:40 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -26,8 +26,9 @@
|
||||
%bcond_with test
|
||||
%define psuffix %{nil}
|
||||
%endif
|
||||
|
||||
Name: python-exceptiongroup%{psuffix}
|
||||
Version: 1.0.4
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
Summary: Backport of PEP 654 (exception groups)
|
||||
License: MIT AND Python-2.0
|
||||
@ -37,6 +38,7 @@ BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module flit-scm}
|
||||
BuildRequires: %{python_module pip}
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module exceptiongroup = %{version}}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
@ -74,6 +76,7 @@ and the exception hook won't be installed.
|
||||
%prep
|
||||
%setup -q -n exceptiongroup-%{version}
|
||||
|
||||
%if !%{with test}
|
||||
%build
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%pyproject_wheel
|
||||
@ -81,15 +84,19 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/exceptiongroup*
|
||||
%{python_sitelib}/exceptiongroup
|
||||
%{python_sitelib}/exceptiongroup-%{version}.dist-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user