Commit Graph

11 Commits

Author SHA1 Message Date
Brian Haley e5e141f134 Update envlist for tox4
tox4 even when running specific env with -e option tries
to find python version for all envs defined in envlist[1]
when running with --skip-missing-interpreters=false and
fails if interpreter missing for any of the env.

With py38 in envlist it tries to find python3.8
which is not available in ubuntu-jammy by default
and fails, hence use generic version instead i.e py3
to handle it.

Even though [1] is fixed we are still seeing this failure.

[1] https://github.com/tox-dev/tox/issues/2811

Also had to add "ignore_basepython_conflict = True".

Change-Id: I351870695b1c6706888d8a51fa33ea0fcbc63cd7
2023-01-17 09:47:07 -05:00
Rodolfo Alonso Hernandez af0209a18f Fix tox.ini for tox4
This patch also replaces the outdated py36 job with the py38 one.

Change-Id: Id330d8cdbcf70b0403e8283228ce9dec10403012
2023-01-03 15:11:01 +00:00
zhangboye 8286d94a0d Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: I2c450c25cb8f97575df3f4f518ca179c4cf2dffd
2020-12-24 15:28:29 +08:00
Andreas Jaeger a70af8268e Cleanup py27 support
Make a few cleanups:
- Remove obsolete sections from setup.cfg
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine;
  cleanup tox.ini for python3

Change-Id: I306fe1dd080839004e206ac08f3526812e406f19
2020-04-10 11:09:47 +02:00
pengyuesheng e14bf25335 Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I4727942e9946160c059412f0c7d03bdfd9542505
2019-09-24 15:58:49 +08:00
Akihiro Motoki 635de2f087 Switch py27 job to py36
Change-Id: I1633b3cccced0b37de667ff6d440f39ebe66fccc
2019-05-04 17:38:15 +00:00
Vieri 5e3f3ce32a Update min tox version to 2.0
The commands used by constraints need at least tox 2.0.  Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: Ie69f0a6fa56fd1fceaa7893bece8b2735095216c
Related-Bug: 1801465
2018-11-10 02:20:56 +00:00
Doug Hellmann 8857a844ba fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

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.

Change-Id: I6e18dd70a74694ba2e7aad535f487498a26d05bb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-17 00:16:11 -04:00
Slawek Kaplonski c886130f15 Switch to stestr
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: Idd7629f2a051aadaf53b04a1b331b20d7fa690de
2018-06-22 12:50:11 +02:00
ZhaoBo c95726bbf0 Need to follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

To handle this, this commit changes:

- Introduce doc/requirements.txt
- Update tox.ini [docs] target for developer convenience
- Fixes a lot of warnings caused by a newer sphinx 1.6.5 because
  sphinx specified in upper-constraints.txt is used in the new PTI.
- Drop unnecessary [pbrp] warnerrors in favor of warning-is-error.

Change-Id: If40305044c9dfe0024b64bd3921232bb0a6c9372
2018-02-28 23:58:22 +09:00
Kyle Mestery 4f354e9fd2 Add base neutron-specs framework
Build the base framework for the neutron-specs repository. This was taken
from the nova-specs repository and has been slightly tweaked for neutron.

Change-Id: I1f3ce2f1992491e1420a2f35e97a06b6b604f9e0
2014-04-14 03:08:02 +00:00