Commit Graph

11 Commits

Author SHA1 Message Date
Takashi Kajinami 4a50a0a889 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: Ifb838237e5eca207a473dcb6f23573e5e4bb6cc6
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
2021-09-29 18:04:45 +09:00
ZhongShengping a6a9889c58 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: I7f02f5ac2c039f1ccb8ee57a8f2982e9290a3ac7
2020-11-11 09:08:35 +08:00
Ghanshyam Mann 72fa158676 [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: Ib0910a0176a69c29ed991ea62bae92c641da5a15
2020-02-15 18:52:25 -06:00
pengyuesheng a04f27646d Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I074f116154c31eede18c5d021de01381dcf97bc0
2019-09-26 11:34:14 +08:00
ZhongShengping fbb19055c0 Move to opendev
Change-Id: I5fd7c609f43f7f990ded26782d27fd2e4d63effd
2019-04-21 14:44:48 +08:00
ZhongShengping 03e5366bba 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: I90ed02367acdb022aa9a419b2cb37d4865a664f7
2018-10-16 11:40:17 +08:00
ZhongShengping a549f4de0d 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: I164e60e6310fb0f899973ac2460b213c6c7cb5f5
2018-06-08 14:34:32 +08:00
ZhongShengping 95cfdeda27 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: Ia2f84563a40151c760a0ec8ee2c8989acf083daf
2018-02-28 14:42:10 +08:00
ZhongShengping bb2f2947dd Add environment variable
Add environment variable {toxinidir} in tox.ini

Change-Id: Ie937959a6b7cd3fb8655c99d1c5268ea9e42ae91
2017-06-12 15:49:03 +08:00
Alex Schultz 28dfbae96c 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: Iede45a8ef863f602c98031781c53bb6627d74ace
2017-05-17 08:22:14 -06:00
Xingchao Yu 78f52ecfac This is the initial commit for puppet-cloudkitty.
It has been automatically generated using cookiecutter[1] and msync[2].

[1] https://github.com/openstack/puppet-openstack-cookiecutter
[2] https://github.com/openstack/puppet-modulesync-configs

Change-Id: I43e8be43f6c77d55ff0c5879344020942eb9cf43
2016-10-20 10:53:32 +08:00