[oslo][nova][vmware] Replacement for suds library

Yingji Sun yingjisun at vmware.com
Tue Mar 24 03:54:35 UTC 2020


> 在 2020/3/20 下午10:10,“Stephen Finucane”<stephenfin at redhat.com> 写入:
>
> The suds-jurko library used by oslo.vmware is emitting the following
> warnings in nova tests.
>
>  /nova/.tox/py36/lib/python3.6/site-packages/suds/resolver.py:89: DeprecationWarning: invalid escape sequence \%
>    self.splitp = re.compile('({.+})*[^\%s]+' % ps[0])
>  /nova/.tox/py36/lib/python3.6/site-packages/suds/wsdl.py:619: DeprecationWarning: invalid escape sequence \s
>    body.parts = re.split('[\s,]', parts)
>
> These warnings are going to be errors in Python 3.10 [1]. We have over
> 18 months before we need to worry about this [2], but I'd like to see
> some movement on this well before then. It seems the suds-jurko fork is
> dead [3] and movement on yet another fork, suds-community, is slow [4].
> How difficult would it be to switch over to something that does seem
> maintained like zeep [5] and, assuming it's doable, is anyone from
> VMWare/SAP able to do this work?
> 
> Stephen

Stephen,

Thank you very much for pointing this out. Lichao (xuel at vmware.com) and I from VMware will involve into this issue.

Do you think zeep is a good alternative of suds ? Or did the replacement already take place on other project ?

We would like to make assessment to the zeep first and then make an action plan.

Yingji.


> [1] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.python.org%2F3.9%2Fwhatsnew%2F3.9.html%23you-should-check-for-deprecationwarning-in-your-code&data=02%7C01%7Cyingjisun%40vmware.com%7C95008f1ccf0a43198e5a08d7ccd87134%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637203102337393211&sdata=79f%2B3FFTgC275gINmA3aCvWdTe%2BdN8uZ39%2BPM0l85FU%3D&reserved=0
> [2] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.python.org%2Fdev%2Fpeps%2Fpep-0596%2F&data=02%7C01%7Cyingjisun%40vmware.com%7C95008f1ccf0a43198e5a08d7ccd87134%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637203102337393211&sdata=d0RyU21oygeBi3xxhw20k%2FZTX0xHXQ0Hp7Z2WZb6YEE%3D&reserved=0
> [3] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbitbucket.org%2Fjurko%2Fsuds%2Fsrc%2Fdefault%2F&data=02%7C01%7Cyingjisun%40vmware.com%7C95008f1ccf0a43198e5a08d7ccd87134%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637203102337393211&sdata=lqv3TRF76TL%2B8978gamjson%2FK8B4KnztukYoCNxqSAQ%3D&reserved=0
> [4] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsuds-community%2Fsuds%2Fpull%2F32&data=02%7C01%7Cyingjisun%40vmware.com%7C95008f1ccf0a43198e5a08d7ccd87134%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637203102337393211&sdata=2bWFr5R1e3paJ8Bzrf7fFhkrjKrhYWRJXYpzrZAf45w%3D&reserved=0
> [5] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpython-zeep.readthedocs.io%2Fen%2Fmaster%2F&data=02%7C01%7Cyingjisun%40vmware.com%7C95008f1ccf0a43198e5a08d7ccd87134%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637203102337403198&sdata=G5AtJG%2FZTi2ZgFwZYhKLrfhNren1LliCBEFqa44xcAo%3D&reserved=0





More information about the openstack-discuss mailing list