[all][requirements] sqlalchemy 1.4.x release/upgrade
Radosław Piliszek
radoslaw.piliszek at gmail.com
Wed Apr 28 08:05:26 UTC 2021
On Tue, Apr 27, 2021 at 10:50 PM Matthew Thode <mthode at mthode.org> wrote:
>
> Looks like a new release of sqlalchemy is upon us and is breaking tests
> in openstack (1.4.11 for now). Please test against
> https://review.opendev.org/788339 to get your project working against
> the newest version.
>
> currently failing are cinder ironic keystone masakari neutron and nova
> cross gates
Thanks for the early notice.
It seems we need to fix oslo.db as well since I am getting this:
File "/home/zuul/src/opendev.org/openstack/masakari/.tox/py36/lib/python3.6/site-packages/oslo_db/sqlalchemy/test_base.py",
line 180, in setUp
self, skip_on_unavailable_db=self.SKIP_ON_UNAVAILABLE_DB))
...
File "/home/zuul/src/opendev.org/openstack/masakari/.tox/py36/lib/python3.6/site-packages/oslo_db/sqlalchemy/test_base.py",
line 66, in setUp
self.test, self.test.resources, testresources._get_result())
...
File "/home/zuul/src/opendev.org/openstack/masakari/.tox/py36/lib/python3.6/site-packages/oslo_db/sqlalchemy/provision.py",
line 133, in make
url = backend.provisioned_database_url(db_token)
File "/home/zuul/src/opendev.org/openstack/masakari/.tox/py36/lib/python3.6/site-packages/oslo_db/sqlalchemy/provision.py",
line 337, in provisioned_database_url
return self.impl.provisioned_database_url(self.url, ident)
File "/home/zuul/src/opendev.org/openstack/masakari/.tox/py36/lib/python3.6/site-packages/oslo_db/sqlalchemy/provision.py",
line 498, in provisioned_database_url
url.database = ident
AttributeError: can't set attribute
I've just run unit tests on oslo.db with new SQLAlchemy and it fails 5
tests there.
-yoctozepto
More information about the openstack-discuss
mailing list