[openstack-dev] [goal][python3] week 7 update

Ben Nemec openstack at nemebean.com
Fri Sep 28 18:44:44 UTC 2018



On 9/28/18 1:38 PM, Jeremy Stanley wrote:
> On 2018-09-28 13:58:52 -0400 (-0400), William M Edmonds wrote:
>> Doug Hellmann <doug at doughellmann.com> wrote on 09/26/2018 06:29:11 PM:
>> <snip>
>>> * We do not want to set the override once in testenv, because that
>>>    breaks the more specific versions used in default environments like
>>>    py35 and py36 (at least under older versions of tox).
>> <snip>
>>
>> I assume that something like
>> https://git.openstack.org/cgit/openstack/nova-powervm/commit/?id=fa64a93c965e6a6692711962ad6584534da81695
>>   should be a perfectly acceptable alternative in at least some cases.
>> Agreed?
> 
> I believe the confusion is that ignore_basepython_conflict didn't
> appear in a release of tox until after we started patching projects
> for this effort (in fact it was added to tox in part because we
> discovered the issue in originally attempting to use basepython
> globally).

Yeah, if you're okay with requiring tox 3.1+ then you can use that 
instead. We've been avoiding it for now in other projects because some 
of the distros aren't shipping tox 3.1 yet and some people prefer not to 
mix distro Python packages and pip ones. At some point I expect we'll 
migrate everything to the new behavior though.



More information about the OpenStack-dev mailing list