Commit Graph

11 Commits

Author SHA1 Message Date
Takashi Kajinami dad345e872 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: Ibb01a28bc7369b18416354c8aa363780f7841094
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
2021-09-29 18:04:20 +09:00
ZhongShengping 3fc5ed291c 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: I668ab8cdfb3ec49bb26d890630c823419c8cb3de
2020-11-11 09:08:35 +08:00
Ghanshyam Mann 5504f63803 [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: I75097408ed14484092229567246d6fd276848e59
2020-02-15 18:42:57 -06:00
pengyuesheng 64b5df0feb Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I89e07116c11d6ad9ef2809c51715705ba5fc1a9e
2019-09-26 11:41:45 +08:00
ZhongShengping cc4d71253b Move to opendev
Change-Id: I801bceb3e2300032f09d5b72a05606fb322468a5
2019-04-21 14:44:48 +08:00
ZhongShengping 955964ff09 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: Iec83eb48ad402fdd94d5eba127c34e8b891afbe5
2018-10-16 11:43:51 +08:00
ZhongShengping bbe8df55cd 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: I7554206c062b27194a130983c5447abce10daf7f
2018-06-08 14:23:31 +08:00
ZhongShengping 386e5f035e 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: I98025f21472ca21be9e7cf55fc6dcc7412802e78
2018-02-28 14:52:03 +08:00
ZhongShengping 917605c850 Add environment variable
Add environment variable {toxinidir} in tox.ini

Change-Id: I69bb27c96eed775d57881b4d6fe8ffde0511eff0
2017-06-12 15:47:43 +08:00
Alex Schultz 389a67eebc 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: If1b80bbc6fe5bf1c8f49659891add50a5ebcf997
2017-05-17 08:21:34 -06:00
Emilien Macchi 5d9da8bd9a Add basic structure for ReNo
ReNo [1] is the release management tool in OpenStack.
This patch adds the basic structure to start using it.

* Update .gitignore
* Add a basic note "use-reno"
* Add releasenotes/ dir and basic files
* Add python files: setup.cfg, setup.py, test-requirements.txt and
  tox.ini.

[1] http://docs.openstack.org/developer/reno

Change-Id: Ide7c53a7b25a1c0ef4966f60f6fc6bf07f636c83
2016-03-14 08:24:10 -04:00