Hi,

Patch applied, waiting for sponsorship.


Cheers,
Arias Emmanuel
@eamanu
yaerobi.com


On Tue, Jan 19, 2021 at 6:30 PM Sebastian Ramacher <sramac...@debian.org>
wrote:

> Control: tags -1 + patch
>
> On 2021-01-20 01:52:54 +1100, Konomi Kitten wrote:
> > Package: python3-otr
> > Version: python3-potr
> > Severity: grave
> > Justification: renders package unusable
> > X-Debbugs-Cc: konomikit...@gmail.com
> >
> > Trying to import potr throws the following error:
> >
> > $ python3
> > Python 3.9.1+ (default, Jan 10 2021, 15:42:50)
> > [GCC 10.2.1 20201224] on linux
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> import potr
> > Traceback (most recent call last):
> >   File "/usr/lib/python3/dist-packages/potr/compatcrypto/pycrypto.py",
> line 19,
> > in <module>
> >     import Crypto
> > ModuleNotFoundError: No module named 'Crypto'
> >
> > During handling of the above exception, another exception occurred:
> >
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in <module>
> >   File "/usr/lib/python3/dist-packages/potr/__init__.py", line 21, in
> <module>
> >     from potr import context
> >   File "/usr/lib/python3/dist-packages/potr/context.py", line 43, in
> <module>
> >     from potr import crypt
> >   File "/usr/lib/python3/dist-packages/potr/crypt.py", line 25, in
> <module>
> >     from potr.compatcrypto import SHA256, SHA1, SHA1HMAC, SHA256HMAC, \
> >   File "/usr/lib/python3/dist-packages/potr/compatcrypto/__init__.py",
> line 21,
> > in <module>
> >     from potr.compatcrypto.pycrypto import *
> >   File "/usr/lib/python3/dist-packages/potr/compatcrypto/pycrypto.py",
> line 21,
> > in <module>
> >     import crypto as Crypto
> > ModuleNotFoundError: No module named 'crypto'
> > >>>
>
> Please consider applying the attached patch. The package also needs to
> depend on python3-pycryptodome either by manually hardcoding the
> dependency in debian/control or by fixing
> debian/patches/0001-Use-pycryptodome-as-dependency.patch to have
> install_requires=["pycryptodomex"]
>
> Cheers
> --
> Sebastian Ramacher
>

Reply via email to