[dev][qa] Devstack and SQLAlchemy (Problems with stack.sh)

Jeremy Stanley fungi at yuggoth.org
Tue May 16 14:04:45 UTC 2023


[I'm keeping your address in Cc since you don't appear to be
subscribed, but please reply to the list rather than to me
directly.]

On 2023-05-16 11:31:28 +0100 (+0100), Matt Watkins wrote:
[...]
> Anybody have a possible solution to this; it looks like some kind
> of Python dependency issue?
> 
> Error with SQLAlchemy==1.4.48
[...]

It looks like the constraints file isn't being applied when pip is
deciding what version of SQLA to install, since we currently pin it
to 1.4.41 for master branches:

https://opendev.org/openstack/requirements/src/commit/19eb2d2/upper-constraints.txt#L156

I don't know if that's the reason for the exception you quoted, but
it's probably a good place to start looking. When I check example
output from one of our CI jobs, I see it's passing "-c
/opt/stack/requirements/upper-constraints.txt" in pip install
commands, including when it installs keystone, which (for the master
branch of devstack anyway) currently results in selecting
SQLAlchemy-1.4.41-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
to satisfy the requirement.
-- 
Jeremy Stanley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230516/cc5d14be/attachment.sig>


More information about the openstack-discuss mailing list