git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

[1] https://docs.python.org/3.9/whatsnew/3.9.html#you-should-check-for-deprecationwarning-in-your-code
[2] https://www.python.org/dev/peps/pep-0596/
[3] https://bitbucket.org/jurko/suds/src/default/
[4] https://github.com/suds-community/suds/pull/32
[5] https://python-zeep.readthedocs.io/en/master/