Commit Graph

11 Commits

Author SHA1 Message Date
Takashi Kajinami 8da9a0dd60 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: I836272fe0c3f912d98a89567ea72be01dce968e0
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
2021-09-29 18:04:03 +09:00
ZhongShengping c3d3600f0d 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: I3e2b26a2b7d6cc267fbf0b26dfadf29d1c0301c7
2020-11-11 09:08:35 +08:00
Ghanshyam Mann 3b4364a0b4 [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: Ic8ebdd14fe4584fe912a464f743b01080d72e886
2020-02-15 18:42:56 -06:00
kangyufei a4b07dd193 Update the constraints url
Change-Id: I985341ca95807763b4ddd6653dbfcfdc87fb903a
2019-10-11 08:54:46 +08:00
ZhongShengping 637b508e99 Move to opendev
Change-Id: I5a874582b740e108bb4c13944ec2ba78a9ac6a87
2019-04-21 14:44:48 +08:00
ZhongShengping 489c57a567 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: Ib0c4e92bcfbd2d861929d385e638f163534312b4
2018-10-16 11:40:17 +08:00
ZhongShengping d01f019f86 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: I544ee747c4a623ff29743108f99db3cb89838ff5
2018-06-08 14:23:31 +08:00
ZhongShengping 2c4b23a4ea 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: I9d5ee3e01e9962e5a2b660f3e72ee10d62633ba0
2018-02-28 14:42:10 +08:00
ZhongShengping 5a2ee335c2 Add environment variable
Add environment variable {toxinidir} in tox.ini

Change-Id: I57da98038e604625e6eaeadbbf2b7d493b9fb031
2017-06-12 15:46:26 +08:00
Alex Schultz f610aa0645 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: I94729a90f410758952ae21889349e9087cc337e1
2017-05-17 08:20:57 -06:00
Emilien Macchi 13399c1873 Add basic structure for reno
Change-Id: Ia8835592794af207778c64f4f53238bf9336556a
2016-05-27 16:14:57 -04:00