Commit Graph

11 Commits

Author SHA1 Message Date
Takashi Kajinami 6841fe24f9 Stop configuring install_command in tox.
It turns out that this is the the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

So we can remove the line and simply use the default value.

Change-Id: I48447b8f4a723bae6ac44c0d8c698c0acd79f751
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
2021-09-29 18:09:00 +09:00
ZhongShengping c610a97028 Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is deprecated and TOX_CONSTRAINTS_FILE is
the new environment variable name that replaces it [1].

This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
[2] https://review.opendev.org/#/c/722814/

Change-Id: Ib7199d3f1e22a2b5b8c3eb76c2f575320c4861be
2020-11-11 09:08:35 +08:00
Ghanshyam Mann e64334e278 [ussuri][goal] Cleanup for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

puppet-* repos have to cleanup the requirement and tox
for py2.7 drop.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I3d81ef8549907354dd204ae5f2e9966a77141da1
2020-02-15 19:20:38 -06:00
pengyuesheng 6c473f028a Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: If96d7e257d6551f1d700020936192ee68e0bfa3b
2019-09-26 11:37:01 +08:00
ZhongShengping bbf8382057 Move to opendev
Change-Id: Ibca256ec7cb17d9b2c2c1c15206ec80d9303104d
2019-04-21 14:44:48 +08:00
ZhongShengping 3d05aa4639 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: Ia52b54601fd9dd6dd03356355cd563b6dbc7904b
2018-10-16 11:40:18 +08:00
ZhongShengping cf6ede97b1 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: I243dff9ee97d7b35b8f662df702d09aa6da0f9b1
2018-06-08 14:23:32 +08:00
ZhongShengping bd3be4e1cd 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

Refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124815.html

Change-Id: Iebc2c4569d8c417f387ff7fe5d3ead94127d1f5a
2018-02-28 14:42:11 +08:00
ZhongShengping 9699bd1b03 Add environment variable
Add environment variable {toxinidir} in tox.ini

Change-Id: Ibce35dc916bc78394be50e96f008a39eb945a52a
2017-06-12 15:54:56 +08:00
Alex Schultz 0e2460d2e9 Update tox configuration
Update the tox configuration to pull in the openstack
upper-constraints.txt when running releasenotes. This will
fix the releasenotes job that is currently failing due to
a new version of sphinx. Additionally this change includes
updates from puppet-modulesync-configs.

Change-Id: I51e6bfa3d3a365c74386182d53bf25e7a345f8ed
2017-05-17 08:26:54 -06:00
Emilien Macchi 0aeabcb175 Add basic structure for reno
Change-Id: Ie3e55e3b669930e5e0980b63b8bbddb1b66a157d
2016-05-27 16:15:44 -04:00