Commit Graph

11 Commits

Author SHA1 Message Date
Takashi Kajinami 9e7ebffda1 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: I0aafce297f071cfaea89c3c3882db92c9f6d6783
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
2021-09-29 18:04:32 +09:00
ZhongShengping 74c698339e 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: I0d50f2938ad2dbee418e630f6fdb3c0da5b36e24
2020-11-11 09:08:35 +08:00
Ghanshyam Mann be954bde54 [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: I2b249dd8bba18b0a1fe54a57284df346729c0be5
2020-02-15 18:42:57 -06:00
pengyuesheng 55a0f943a3 Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I28b4b1e39ab291d0d1da77a96b285f89f230a8a2
2019-09-26 10:38:37 +08:00
ZhongShengping da5321f541 Move to opendev
Change-Id: I3fcf0bc4004c605dd4504c4840b91454a6261a15
2019-04-21 14:44:48 +08:00
ZhongShengping 3e7cba5273 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: Ic72886e90d9bd8cb3e4cfb8c7b6b1ab7b29d1756
2018-10-16 11:43:54 +08:00
ZhongShengping e6c31c4659 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: I87aaa50e72e251e39585878a8c2ce80816e735ff
2018-06-08 14:23:31 +08:00
ZhongShengping 928fb38d0c 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: I5731ee22cec8ea8e46b9008fc444c7c3b602c0f7
2018-02-28 14:42:10 +08:00
ZhongShengping c766efaa24 Add environment variable
Add environment variable {toxinidir} in tox.ini

Change-Id: I9bf454d36062f6e65a05e24dced171ac8230cc4f
2017-06-12 15:48:06 +08:00
Giulio Fidente 0ff9c53a2c 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: I1430a2502ecc877bd38cd741510958a026cba628
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2017-05-18 18:06:56 +02:00
Emilien Macchi a293a03723 Prepare puppet-ceph for 1.0.0
Yeah! It's time to release puppet-ceph 1.0.0, that will support Hammer
(LTS) on long term.

Change-Id: I717855b140807ccbe3834afccbcf97f06d7fad7d
2016-05-06 17:54:13 -04:00