[nova] openstack-tox-lower-constraints broken

Jeremy Stanley fungi at yuggoth.org
Tue Aug 4 13:16:43 UTC 2020


On 2020-08-04 14:11:03 +0100 (+0100), Sean Mooney wrote:
[...]
> so if i understand the workaound correclty we woudl add -c
> {env:CONSTRAINTS_OPT} to install_command so "install_command = pip
> install -U {opts} {packages} -c {env:CONSTRAINTS_OPT}" in our case
> and then for the lower contriats jobs in stead of
> 
> deps =
>   -c{toxinidir}/lower-constraints.txt
>   -r{toxinidir}/requirements.txt
>   -r{toxinidir}/test-requirements.txt
>   -r{toxinidir}/doc/requirements.txt
> 
> we would do
> 
> setenv =
>  CONSTRAINTS_OPT=-c{toxinidir}/lower-constraints.txt
> deps =
>   -r{toxinidir}/requirements.txt
>   -r{toxinidir}/test-requirements.txt
>   -r{toxinidir}/doc/requirements.txt
> 
> that way we can keep the same install command for both but use the
> correct constrint file.
[...]

Yep, Sean McGinnis is trying a variant of that in
https://review.opendev.org/744698 now to see if it alters tox's
behavior like we expect.
-- 
Jeremy Stanley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200804/ed7edc75/attachment.sig>


More information about the openstack-discuss mailing list