FS#80234 - [python-utils] should depend on python-typing_extensions

Attached to Project: Arch Linux
Opened by Pierce Lopez (ploxiln) - Saturday, 11 November 2023, 19:40 GMT
Last edited by David Runge (dvzrv) - Sunday, 12 November 2023, 16:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

diffoscope complained that:
> WARNING:root:Progress bar was requested but the "progressbar" module is unavailable

so I investigated why:

```
>>> import progressbar
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/site-packages/progressbar/__init__.py", line 5, in <module>
from .bar import DataTransferBar
File "/usr/lib/python3.11/site-packages/progressbar/bar.py", line 13, in <module>
from python_utils import types
File "/usr/lib/python3.11/site-packages/python_utils/__init__.py", line 1, in <module>
from . import (
File "/usr/lib/python3.11/site-packages/python_utils/aio.py", line 8, in <module>
from . import types
File "/usr/lib/python3.11/site-packages/python_utils/types.py", line 4, in <module>
from typing_extensions import * # type: ignore # noqa: F403
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'typing_extensions'
```

... and installing python-typing_extensions fixed it.

package version:
* python-3.11.5-2
* python-utils-3.8.1-1
* python-progressbar-4.2.0-3
This task depends upon

Closed by  David Runge (dvzrv)
Sunday, 12 November 2023, 16:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with python-utils 3.8.1-2
Comment by Toolybird (Toolybird) - Saturday, 11 November 2023, 22:36 GMT
$ pip check
python-utils 3.8.1 requires typing-extensions, which is not installed.