FS#75795 - [python-hypothesis] Missing dependency python-exceptiongroup

Attached to Project: Community Packages
Opened by Chih-Hsuan Yen (yan12125) - Sunday, 04 September 2022, 05:58 GMT
Last edited by Daniel M. Capella (polyzen) - Sunday, 04 September 2022, 20:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Filipe Laíns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

$ python -c 'import hypothesis'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/hypothesis/internal/compat.py", line 18, in <module>
BaseExceptionGroup = BaseExceptionGroup
NameError: name 'BaseExceptionGroup' is not defined. Did you mean: 'BaseException'?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.10/site-packages/hypothesis/__init__.py", line 19, in <module>
from hypothesis._settings import HealthCheck, Phase, Verbosity, settings
File "/usr/lib/python3.10/site-packages/hypothesis/_settings.py", line 32, in <module>
from hypothesis.internal.reflection import get_pretty_function_description
File "/usr/lib/python3.10/site-packages/hypothesis/internal/reflection.py", line 29, in <module>
from hypothesis.internal.compat import is_typed_named_tuple, update_code_location
File "/usr/lib/python3.10/site-packages/hypothesis/internal/compat.py", line 21, in <module>
from exceptiongroup import (
ModuleNotFoundError: No module named 'exceptiongroup'

Additional info:

* community/python-hypothesis 6.54.4-1
* Since hypothesis-python-6.47.2, exceptiongroup is needed for Python < 3.11 https://github.com/HypothesisWorks/hypothesis/commit/dcb41212837c98ecf5759d9cbb15c95fe7453241

Steps to reproduce:

See above
This task depends upon

Closed by  Daniel M. Capella (polyzen)
Sunday, 04 September 2022, 20:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  https://github.com/archlinux/svntogit-co mmunity/commit/832e3529f405b26f13af24a26 67497f4bed77f38

Loading...