FS#59584 - [python-zeep] python-zeep v3+ requires python-attrs

Attached to Project: Community Packages
Opened by McFyrn (McFyrn) - Thursday, 09 August 2018, 07:05 GMT
Last edited by Felix Yan (felixonmars) - Friday, 10 August 2018, 13:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since zeep v3.0 the file settings.py "import attr", which exists only if python-attrs is installed.


Additional info:
* package version(s)
python-zeep v3.0.0 and above


Steps to reproduce:
Install python-zeep on a system without python-attrs installed, open a python shell, write "import zeep":

>>> import zeep
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.7/site-packages/zeep/__init__.py", line 1, in <module>
from zeep.client import CachingClient, Client # noqa
File "/usr/lib/python3.7/site-packages/zeep/client.py", line 2, in <module>
from zeep.settings import Settings
File "/usr/lib/python3.7/site-packages/zeep/settings.py", line 4, in <module>
import attr
ModuleNotFoundError: No module named 'attr'
This task depends upon

Closed by  Felix Yan (felixonmars)
Friday, 10 August 2018, 13:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.1.0-2

Loading...