]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: barbican: restrict python packages with upper-constraints 59241/head
authorTobias Urdin <tobias.urdin@binero.com>
Thu, 15 Aug 2024 15:17:14 +0000 (17:17 +0200)
committerTobias Urdin <tobias.urdin@binero.com>
Mon, 19 Aug 2024 13:02:16 +0000 (15:02 +0200)
commitbbcb820c779ed6c48ff4fa7c10730228f43e9305
tree57fe89a50b418ebc5f9e2ea8da692010a8a2c1eb
parent489919e1b897779c2961b7bb4bdb9280fa8afdd6
qa: barbican: restrict python packages with upper-constraints

We install barbican by doing a pip install directly on the
cloned git repository but we don't honor the upper-constraints
from the OpenStack Requirements project that handles what
versions is supported.

This changes the pip install command that we issue when
installing barbican to honor the requirements for the
version (derived from the branch) that we use, in
this case it's the 2023.1 release upper-constraints [1].

This prevents us from pulling in untested Python packages.

This only updates Barbican because for the Keystone job
we dont directly issue pip but install using tox using the
`venv` environment which already by default sets the
constraints as you can see in [2].

[1] https://releases.openstack.org/constraints/upper/2023.1
[2] https://github.com/openstack/keystone/blob/stable/2023.1/tox.ini#L12

Fixes: https://tracker.ceph.com/issues/67444
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
qa/tasks/barbican.py