Hi aodh team,

 

Hi I'm Ueha from tacker team.

Tacker CI fails with the following error since a few days ago:

---from h-eng log---

  Traceback (most recent call last):

    ...

    File "/usr/local/lib/python3.8/dist-packages/aodhclient/utils.py", line 43, in <module>

      expr = pp.operatorPrecedence(condition, [

  AttributeError: module 'pyparsing' has no attribute 'operatorPrecedence'

--------------------

 

As I have researched, the version of pyparsing has been updated to v3.0.6 in global requirements [1].

And operatorPrecedence was already deprecated in pyparsing v3.0.6.

 

A patch to fix this appears to have already been posted to python-aodhclient [2].

 

Could you consider merging the fixes to avoid errors in the CI?

 

For your information, it have been merged similar fixes in cinder [3] and manila [4].

 

[1] https://review.opendev.org/c/openstack/requirements/+/818614

[2] https://review.opendev.org/c/openstack/python-aodhclient/+/819054

[3] https://review.opendev.org/c/openstack/cinder/+/818834

[4] https://review.opendev.org/c/openstack/manila/+/818829

 

Regards,

Ueha