Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#54799 - [python2-m2crypto] missing dependency

Attached to Project: Community Packages
Opened by Daniel Wendler (BMRMorph) - Friday, 14 July 2017, 08:26 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 14 July 2017, 12:40 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
After Upgrade of python2-m2crypto to Version 0.26.0-1 there is a missing dependency which prevents loading of the module.

Steps to reproduce:
~ $ python2
Python 2.7.13 (default, Jul 2 2017, 22:24:59)
[GCC 7.1.1 20170621] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import M2Crypto
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/M2Crypto/__init__.py", line 26, in <module>
from M2Crypto import (ASN1, AuthCookie, BIO, BN, DH, DSA, EVP, Engine, Err,
File "/usr/lib/python2.7/site-packages/M2Crypto/ASN1.py", line 15, in <module>
from M2Crypto import BIO, m2, util
File "/usr/lib/python2.7/site-packages/M2Crypto/BIO.py", line 10, in <module>
from M2Crypto import m2, util
File "/usr/lib/python2.7/site-packages/M2Crypto/util.py", line 20, in <module>
from typing import AnyStr, Tuple, Union # noqa
ImportError: No module named typing
>>>

So i have to install python2-typing and afterwards it works again:
pacman -S python2-typing
Löse Abhängigkeiten auf...
Suche nach in Konflikt stehenden Paketen...

Paket (1) Neue Version Netto-Veränderung Größe des Downloads

community/python2-typing 3.6.1-1 0,22 MiB 0,03 MiB

Gesamtgröße des Downloads: 0,03 MiB
Gesamtgröße der installierten Pakete: 0,22 MiB

:: Installation fortsetzen? [J/n]
:: Empfange Pakete...
<snip>

~ $ python2
Python 2.7.13 (default, Jul 2 2017, 22:24:59)
[GCC 7.1.1 20170621] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import M2Crypto
>>>
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 14 July 2017, 12:40 GMT
Reason for closing:  Fixed

Loading...