Textual SQL expressions should be passed using text() method. Passing them as a simple string is deprecated and can be no longer used with modern sqlalchemy. This also squashes patch [1] which replaces pysnmp[1] that is no longer maintained with a fork pysnmp-lextudio[2] to resolve circular dependency [1] https://review.opendev.org/c/openstack/vitrage/+/918415 [2] https://github.com/lextudio/pysnmp Depends-On: https://review.opendev.org/c/openstack/vitrage-tempest-plugin/+/927167 Co-Authored-By: Takashi Kajinami <kajinamit@oss.nttdata.com> Change-Id: Ied45b260415826a09c9c2358d37c34452ab10f32