9 Commits

Author SHA1 Message Date
ZhongShengping
db1f88cf72 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: I57b06800075922b1cd765cad7d717b85d3f5cf17
2020-11-11 09:08:35 +08:00
Ghanshyam Mann
cdd7813cc8 [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: I190f45bcd110ee6e40a8a3af216165d9602042b1
2020-02-15 20:15:25 -06:00
pengyuesheng
8c3b4d0751 Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I3d44cf805f25d9977011b2e1d645ed9efa5092ad
2019-09-26 10:41:05 +08:00
ZhongShengping
cad16e87cb Move to opendev
Change-Id: Icd1e7a7ad67f1c3f50c3843640fc6434ce5570dc
2019-04-21 14:44:49 +08:00
ZhongShengping
a040311dfc 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: I71a8f303eabc43fcb88fbbe3c569e686c03024d5
2018-10-16 11:40:18 +08:00
ZhongShengping
8ee762df46 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: If66e1b44133eecaf227e8e3cd9c23614405866b9
2018-06-08 14:23:32 +08:00
ZhongShengping
72abc575f6 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: I78d1d9104f4fc2c4eaa2f5c8ddd1ede066eed2a1
2018-02-28 14:42:11 +08:00
ZhongShengping
81188f49a2 Add environment variable
Add environment variable {toxinidir} in tox.ini

Change-Id: I01c77140f030a68cfb3ce30f4e282ba5d0563500
2017-06-12 15:58:23 +08:00
Iury Gregory Melo Ferreira
97acdd0fff 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 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: I052df3cd4bd4f0a031b2565393d7d4075436429d
2016-10-07 14:57:23 +00:00