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