clone 1030487 -1
reassign -1 python3-service-identity 18.1.0-7
retitle -1 Missing dependency on python3-six makes package unusable
thanks

On Sat, Feb 04, 2023 at 08:58:30AM +0100, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build
> on amd64.

[...]

> > ImportError while importing test module 
> > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/tests/test_trustme.py'.
> > Hint: make sure your test modules/packages have valid Python names.
> > Traceback:
> > /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> >     return _bootstrap._gcd_import(name[level:], package, level)
> > tests/test_trustme.py:21: in <module>
> >     import service_identity.pyopenssl  # type: ignore[import]
> > /usr/lib/python3/dist-packages/service_identity/__init__.py:7: in <module>
> >     from . import cryptography, pyopenssl
> > /usr/lib/python3/dist-packages/service_identity/pyopenssl.py:9: in <module>
> >     import six
> > E   ModuleNotFoundError: No module named 'six'

Looks like python3-service-identity should have a dependency on
python3-six but it does not.

Steps to reproduce:

apt install python3-service-identity
python3
>>> from service_identity.pyopenssl import verify_hostname
...
ModuleNotFoundError: No module named 'six'

This is expected to work as documented at
https://service-identity.readthedocs.io/en/stable/api.html

I will send a fix for this to Salsa shortly.

Robie

Attachment: signature.asc
Description: PGP signature

Reply via email to