Commit Graph

11 Commits

Author SHA1 Message Date
Takashi Kajinami 58c7a19e39 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: I7600f6bd553792833dce85aa3347d5770ab61e3c
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
2021-09-29 18:20:41 +09:00
ZhongShengping 99704cdd7f 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: I5639418aa8fdd3b4c345b9587434e07c83e8b226
2020-11-11 09:08:36 +08:00
Ghanshyam Mann d9992eea4f [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: Ib4686fa941fcac42365d9da862f8194d12681d34
2020-02-15 20:52:07 -06:00
pengyuesheng 776bd41202 Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: Ibf9d35294d4cbc7fe5170c2f92a60dc1e1361605
2019-09-26 10:27:03 +08:00
ZhongShengping ce1abdd7ec Move to opendev
Change-Id: I9711abddc938b14c9b51762a3ba7e76f8a05ba40
2019-04-21 14:44:49 +08:00
ZhongShengping 457cf65a5b 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: I0dfb4f4c59e4e6c002d5bd9428d43254ef26ef0f
2018-10-16 11:43:45 +08:00
ZhongShengping 5ee0559cd9 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: I2c0affb1596f5454a6862945a35b7533ea029fc3
2018-06-08 14:23:33 +08:00
ZhongShengping a9044c9776 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: Ie43dd9d350f76b727384b86dc069552841e9c3fb
2018-02-28 14:42:12 +08:00
ZhongShengping fcb143cda7 Add environment variable
Add environment variable {toxinidir} in tox.ini

Change-Id: Ia87a07e8d585db64b0fd9e7c3b673294fd8adf5c
2017-06-12 16:05:08 +08:00
Alex Schultz e6aec1f199 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: I290282a1cffa598c3e64be41c902102980f424e6
2017-05-17 09:46:53 -06:00
Emilien Macchi d0cfff2a1e 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: I4259d9a019171a210ac6100275d9b2ef67162ec3
2016-03-14 08:36:00 -04:00