10 Commits

Author SHA1 Message Date
ZhongShengping
e360a663a7 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: If1ccf57dacbbdd2fd4a837a1ffb79d59d84a0021
2020-11-11 09:08:36 +08:00
Ghanshyam Mann
e0f3fe241f [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: Ide52fc374daac3d2b221cf0d70af002b7468387d
2020-02-15 21:00:34 -06:00
pengyuesheng
ba5fe62efd Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I0abab91217bfc126f436433e017c601b24f6df29
2019-09-26 11:07:53 +08:00
ZhongShengping
38b7d03dc5 Move to opendev
Change-Id: I93f58fd262bc58c410b9311d468a7dc137dee7a5
2019-04-21 14:44:50 +08:00
ZhongShengping
5a6f48c631 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: Ia6c80cefc73a38d21e248df1559c2dab3c17a6b0
2018-10-16 11:40:19 +08:00
ZhongShengping
7e08e04eb0 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: If6be7c98e73160839566e4d2228d3ba24003814e
2018-06-08 14:23:33 +08:00
ZhongShengping
e8deed7a4c 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: I6aa31ba4c2987588e2a843ef387080799a2fe0ac
2018-02-28 14:42:13 +08:00
ZhongShengping
a828faff0a Add environment variable
Add environment variable {toxinidir} in tox.ini

Change-Id: Idc8d98d5d88afc887f83c7d1bc7bd36a9b8b72fe
2017-06-12 16:16:51 +08:00
Alex Schultz
a3f63f3199 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: I6d392b12853d99cb16f8d176d23be133a5b05e6c
2017-05-17 09:51:44 -06:00
Iury Gregory Melo Ferreira
1e3195aba1 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: Ibd44e3ce638ceaea8cec522a1c98f95f8c2eb4f5
2016-10-07 15:01:55 +00:00