Accepting request 1039279 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 1.0.4 OBS-URL: https://build.opensuse.org/request/show/1039279 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=5
This commit is contained in:
parent
9028e3df74
commit
e433759168
4
_service
Normal file
4
_service
Normal file
@ -0,0 +1,4 @@
|
||||
<services>
|
||||
<service name="download_files" mode="disabled">
|
||||
</service>
|
||||
</services>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ddd6f144d7c33f54b9bb6009be2b514416e7c13eb7853d1241d2d82e31212dfd
|
||||
size 19109
|
3
exceptiongroup-1.0.4-gh.tar.gz
Normal file
3
exceptiongroup-1.0.4-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:69e8a2ddd1b03175ca2c43f474bb1e7eb5074afadf73e63e9c905cdee1a82a6b
|
||||
size 22529
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 1 09:42:08 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- update to 1.0.4:
|
||||
* Fixed regression introduced in v1.0.3 where the code computing the suggestions would assume that both the obj attribute of AttributeError is always available, even though this is only true from Python 3.10 onwards (#43; PR by Carl Friedrich Bolz-Tereick)
|
||||
- update to 1.0.3:
|
||||
* Fixed monkey patching breaking suggestions (on a NameError or AttributeError) on Python 3.10 (#41; PR by Carl Friedrich Bolz-Tereick)
|
||||
- update to 1.0.2:
|
||||
* Updated type annotations to match the ones in typeshed
|
||||
- update to 1.0.1:
|
||||
* Fixed formatted traceback missing exceptions beyond 2 nesting levels of __context__ or __cause__
|
||||
- update to 1.0.0:
|
||||
* Fixed AttributeError: 'PatchedTracebackException' object has no attribute '__cause__' on Python 3.10 (only) when a traceback is printed from an exception where an exception group is set as the cause (#33)
|
||||
* Fixed a loop in exception groups being rendered incorrectly (#35)
|
||||
* Fixed the patched formatting functions (format_exception()``etc.) not passing the ``compact=True flag on Python 3.10 like the original functions do
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 26 19:53:01 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -16,14 +16,13 @@
|
||||
#
|
||||
|
||||
|
||||
%define pyversion 1.0.0rc9
|
||||
Name: python-exceptiongroup
|
||||
Version: 1.0.0~rc9
|
||||
Version: 1.0.4
|
||||
Release: 0
|
||||
Summary: Backport of PEP 654 (exception groups)
|
||||
License: MIT AND Python-2.0
|
||||
URL: https://github.com/agronholm/exceptiongroup
|
||||
Source: https://github.com/agronholm/exceptiongroup/archive/refs/tags/%{pyversion}.tar.gz#/exceptiongroup-%{pyversion}-gh.tar.gz
|
||||
Source: https://github.com/agronholm/exceptiongroup/archive/refs/tags/%{version}.tar.gz#/exceptiongroup-%{version}-gh.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module flit-scm}
|
||||
BuildRequires: %{python_module pip}
|
||||
@ -61,10 +60,10 @@ exception group classes are used instead, ``TracebackException`` is not monkey p
|
||||
and the exception hook won't be installed.
|
||||
|
||||
%prep
|
||||
%setup -q -n exceptiongroup-%{pyversion}
|
||||
%setup -q -n exceptiongroup-%{version}
|
||||
|
||||
%build
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{pyversion}
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
@ -77,7 +76,6 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=%{pyversion}
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/exceptiongroup
|
||||
%{python_sitelib}/exceptiongroup-%{pyversion}*-info
|
||||
%{python_sitelib}/exceptiongroup*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user