diff --git a/_service b/_service new file mode 100644 index 0000000..1bd86b8 --- /dev/null +++ b/_service @@ -0,0 +1,4 @@ + + + + diff --git a/exceptiongroup-1.0.0rc9-gh.tar.gz b/exceptiongroup-1.0.0rc9-gh.tar.gz deleted file mode 100644 index 8c9d4c4..0000000 --- a/exceptiongroup-1.0.0rc9-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ddd6f144d7c33f54b9bb6009be2b514416e7c13eb7853d1241d2d82e31212dfd -size 19109 diff --git a/exceptiongroup-1.0.4-gh.tar.gz b/exceptiongroup-1.0.4-gh.tar.gz new file mode 100644 index 0000000..9a3f552 --- /dev/null +++ b/exceptiongroup-1.0.4-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69e8a2ddd1b03175ca2c43f474bb1e7eb5074afadf73e63e9c905cdee1a82a6b +size 22529 diff --git a/python-exceptiongroup.changes b/python-exceptiongroup.changes index df8d605..7adff02 100644 --- a/python-exceptiongroup.changes +++ b/python-exceptiongroup.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Dec 1 09:42:08 UTC 2022 - Johannes Kastl + +- 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 diff --git a/python-exceptiongroup.spec b/python-exceptiongroup.spec index e0b6ea9..50acc04 100644 --- a/python-exceptiongroup.spec +++ b/python-exceptiongroup.spec @@ -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