upper-constraints breaking tests for older tempest builds
Bug #1742824 reported by
Jake Yip
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Invalid
|
Undecided
|
Unassigned |
Bug Description
We maintain patches to tempest in-house, and realised that tests to tempest<17.0.0 no longer work. This is due to upper-constraints master branch upgrading olsotest to 3.0.0 and moving mockpatch.
I wonder if it is possible to peg upper-constraints in tox.ini to the current stable release, so that tests for commits from now on will still work in the future when they are checked out, even if upper-constraints master branch has libraries with incompatible versions.
We have to patch it like https:/
Changed in tempest: | |
status: | New → Invalid |
To post a comment you must log in.
Tempest master follows master global requirements and is branchless meaning we don't have a mechanism to backport changes like that. We also can't land something like 533014 because that will break upstream development.
But, this was anticipated as a potential conflict for downstream consumers doing things similar to you (or just running unit tests on a stable release) and that's why the upper constraints file should be able to override it. Just export UPPER_CONSTRAIN TS_FILE= "https:/ /git.openstack. org/cgit/ openstack/ requirements/ plain/upper- constraints. txt?h=stable/ pike" in your pipeline for your downstream fork.