17
0

29 Commits

Author SHA256 Message Date
296b91ab01 Accepting request 1333712 from devel:languages:python
- Update to 1.3.1
  * Fixed AttributeError: 'TracebackException' object has no attribute
    'exceptions' when formatting unpickled TBEs from another Python
    process which did not apply the exceptiongroup patches (#144)
- Drop upstreamed patch py314.patch

OBS-URL: https://build.opensuse.org/request/show/1333712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exceptiongroup?expand=0&rev=11
2026-02-18 16:04:34 +00:00
9f19503cf5 - Remove leftover patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=28
2026-02-18 09:44:10 +00:00
61e6bedf53 - Update to 1.3.1
* Fixed AttributeError: 'TracebackException' object has no attribute
    'exceptions' when formatting unpickled TBEs from another Python
    process which did not apply the exceptiongroup patches (#144)
- Drop upstreamed patch py314.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=27
2026-02-18 07:40:07 +00:00
7365ce1cfc Accepting request 1303587 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1303587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exceptiongroup?expand=0&rev=10
2025-09-11 12:38:13 +00:00
b02c8388ca Accepting request 1303226 from home:mcalabkova:branches:devel:languages:python
- Update to 1.3.0
  * Added **kwargs to function and method signatures as appropriate
    to match the signatures in the standard library
  * In line with the stdlib typings in typeshed, updated
    (Base)ExceptionGroup generic types to define defaults for their
    generic arguments (defaulting to BaseExceptionGroup[BaseException]
    and ExceptionGroup[Exception])
  * Changed BaseExceptionGroup.__init__() to directly call
    BaseException.__init__() instead of the superclass __init__()
    in order to emulate the CPython behavior (broken or not) 
  * Changed the exceptions attribute to always return the same tuple
    of exceptions, created from the original exceptions sequence
    passed to BaseExceptionGroup to match CPython behavior
- Add py314.patch to fix tests on Python 3.14

OBS-URL: https://build.opensuse.org/request/show/1303226
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=25
2025-09-10 09:15:34 +00:00
6fb8607779 Accepting request 1189790 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1189790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exceptiongroup?expand=0&rev=9
2024-07-28 15:18:58 +00:00
1c62c3b2d8 Accepting request 1189765 from home:glaubitz:branches:devel:languages:python
- Update to 1.2.2
  * Removed an ``assert`` in ``exceptiongroup._formatting``
    that caused compatibility issues with Sentry (#123)

OBS-URL: https://build.opensuse.org/request/show/1189765
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=23
2024-07-26 13:29:04 +00:00
5aaeab2146 Accepting request 1169658 from devel:languages:python
- Fix tests with python 3.12.3, bsc#1223128
- update to 1.2.1:
  * Updated the copying of __notes__ to match CPython behavior
  * Corrected the type annotation of the exception handler
    callback to accept a BaseExceptionGroup instead of
    BaseException
  * Fixed type errors on Python < 3.10 and the type annotation of
    suppress()

OBS-URL: https://build.opensuse.org/request/show/1169658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exceptiongroup?expand=0&rev=8
2024-04-23 16:55:09 +00:00
862721bd6c - update to 1.2.1:
* Updated the copying of __notes__ to match CPython behavior
  * Corrected the type annotation of the exception handler
    callback to accept a BaseExceptionGroup instead of
    BaseException
  * Fixed type errors on Python < 3.10 and the type annotation of
    suppress()

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=21
2024-04-20 14:09:00 +00:00
cf5b5653e2 Accepting request 1129176 from devel:languages:python
- update to 1.2.0:
  * Added special monkeypatching if `Apport
    <https://github.com/canonical/apport>`_ has
    overridden ``sys.excepthook`` so it will format exception
    groups correctly
  * Added a backport of ``contextlib.suppress()`` from Python
    3.12.1 which also handles suppressing exceptions inside
    exception groups
  * Fixed bare ``raise`` in a handler reraising the original
    naked exception rather than an exception group which is what
    is raised when you do a ``raise`` in an ``except*`` handler
  * ``catch()`` now raises a ``TypeError`` if passed an async
    exception handler instead of just giving a ``RuntimeWarning``
    about the coroutine never being awaited.
  * Fixed plain ``raise`` statement in an exception handler
    callback to work like a ``raise`` in an ``except*`` block
  * Fixed new exception group not being chained to the original
    exception when raising an exception group from exceptions
    raised in handler callbacks
  * Fixed type annotations of the ``derive()``, ``subgroup()``
    and ``split()`` methods to match the ones in typeshed
- drop skip-test_catch_handler_raises-for-older-311.patch
  (upstream)

- Add skip-test_catch_handler_raises-for-older-311.patch

OBS-URL: https://build.opensuse.org/request/show/1129176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exceptiongroup?expand=0&rev=7
2023-11-28 21:18:26 +00:00
16f126540e - update to 1.2.0:
* Added special monkeypatching if `Apport
    <https://github.com/canonical/apport>`_ has
    overridden ``sys.excepthook`` so it will format exception
    groups correctly
  * Added a backport of ``contextlib.suppress()`` from Python
    3.12.1 which also handles suppressing exceptions inside
    exception groups
  * Fixed bare ``raise`` in a handler reraising the original
    naked exception rather than an exception group which is what
    is raised when you do a ``raise`` in an ``except*`` handler
  * ``catch()`` now raises a ``TypeError`` if passed an async
    exception handler instead of just giving a ``RuntimeWarning``
    about the coroutine never being awaited.
  * Fixed plain ``raise`` statement in an exception handler
    callback to work like a ``raise`` in an ``except*`` block
  * Fixed new exception group not being chained to the original
    exception when raising an exception group from exceptions
    raised in handler callbacks
  * Fixed type annotations of the ``derive()``, ``subgroup()``
    and ``split()`` methods to match the ones in typeshed
- drop skip-test_catch_handler_raises-for-older-311.patch
  (upstream)
- Add skip-test_catch_handler_raises-for-older-311.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=19
2023-11-27 15:45:13 +00:00
ad4af8f683 Accepting request 1096944 from devel:languages:python
- Update to 1.1.2:
  - Changed handling of exceptions in exception group handler
    callbacks to not wrap a single exception in an exception
    group, as per CPython issue gh#python/cpython#103590.
- Add skip-test_catch_handler_raises-for-older-311.patch 
  (gh#agronholm/exceptiongroup#64).

OBS-URL: https://build.opensuse.org/request/show/1096944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exceptiongroup?expand=0&rev=6
2023-07-06 16:27:49 +00:00
c2669037b2 - Add skip-test_catch_handler_raises-for-older-311.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=17
2023-07-05 10:24:03 +00:00
0d41613b5d - Skip still failing test_catch_handler_raises
(gh#agronholm/exceptiongroup#64).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=16
2023-07-05 05:29:00 +00:00
9766d5578e REmove unnecessary patch.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=15
2023-07-04 23:45:07 +00:00
283576357f - Add 64_handl_embed_excep.patch fixing
gh#agronholm/exceptiongroup#64.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=14
2023-07-04 23:39:40 +00:00
63dbedfae7 - Update to 1.1.2:
- Changed handling of exceptions in exception group handler
    callbacks to not wrap a single exception in an exception
    group, as per CPython issue gh#python/cpython#103590.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=13
2023-07-04 22:34:59 +00:00
f55d8c4cea Accepting request 1081932 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081932
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exceptiongroup?expand=0&rev=5
2023-04-22 20:01:08 +00:00
08f5a919ce Accepting request 1081400 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081400
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=11
2023-04-21 14:41:12 +00:00
657c81dac0 Accepting request 1071876 from devel:languages:python
- update to 1.1.1:
  * Worked around `CPython issue #98778
    ``urllib.error.HTTPError(..., fp=None)`` raises
    ``KeyError`` on unknown attribute access, on affected
    Python versions.

OBS-URL: https://build.opensuse.org/request/show/1071876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exceptiongroup?expand=0&rev=4
2023-03-17 16:02:05 +00:00
eeded046b1 - update to 1.1.1:
* Worked around `CPython issue #98778
    ``urllib.error.HTTPError(..., fp=None)`` raises
    ``KeyError`` on unknown attribute access, on affected
    Python versions.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=9
2023-03-14 22:20:42 +00:00
936e387d77 Accepting request 1045050 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1045050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exceptiongroup?expand=0&rev=3
2023-01-06 16:04:40 +00:00
a2416e7e8b 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
2022-12-23 16:15:56 +00:00
d5105a5fae - split tests into multibuild to solve cycle with pytest
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=6
2022-12-19 10:09:00 +00:00
67114a3fa8 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
2022-12-02 10:48:41 +00:00
a507e91583 Accepting request 1031409 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1031409
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exceptiongroup?expand=0&rev=2
2022-10-28 17:28:53 +00:00
371e1bb0d5 Accepting request 1031397 from home:mcepl:branches:devel:languages:python:Factory
- The package actually builds with Python 3.11.

OBS-URL: https://build.opensuse.org/request/show/1031397
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=3
2022-10-26 21:25:04 +00:00
ed83493b69 Accepting request 1009421 from devel:languages:python
Pre-release version required by hypothesis

OBS-URL: https://build.opensuse.org/request/show/1009421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exceptiongroup?expand=0&rev=1
2022-10-12 16:23:39 +00:00
9859974d3d Accepting request 1009195 from home:bnavigator:branches:devel:languages:python
(spec-cleaner supersede)
required by hypothesis 6.56

OBS-URL: https://build.opensuse.org/request/show/1009195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=1
2022-10-10 13:00:21 +00:00