Commit Graph

9 Commits

Author SHA1 Message Date
ZhongShengping d789d0e828 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: I4679acc6338686f41fa195d498cb153963361b00
2020-11-11 09:08:35 +08:00
Andreas Jaeger d010814d3d Cleanup py27 support and docs
Make a few cleanups:
- Remove obsolete sections from setup.cfg
- Remove install_command from tox.ini, merge constraints
  into dependencies
- Enable warnings for doc build, fix all warnings

Change-Id: I3814f1a89882d0d86b621425dc9ff08f5c6b5d41
2020-04-09 13:00:50 +00:00
Ghanshyam Mann 6d343caf39 [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: Id845c06ff69c23d0bfe0949e91b9c7d5a8b93a2c
2020-02-15 20:15:36 -06:00
pengyuesheng 4f161701cf Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: Ie3009591aeb2133a910d946da697f78e0c69e4df
2019-09-29 10:41:05 +08:00
ZhongShengping 989cfae867 Move to opendev
Change-Id: If93f45eda22a72c196d3d4a939a4dfdd4469cd24
2019-04-22 09:07:00 +08:00
ZhongShengping 5ddec83510 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: I04b8f87cc715927c85b20de18fd46e65ed9eefdc
2018-10-16 11:40:18 +08:00
ZhongShengping 51aa802595 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: I9608c27ff4a9ab12bdc359946edb15b58f7ea621
2018-06-08 14:24:59 +08:00
ZhongShengping 73dadc223f 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: If38587b939c3d8630def19a415e737a927af1226
2018-02-28 17:01:14 +08:00
Emilien Macchi c4d1b6c6d0 First commit for Puppet OpenStack Guide
Including basic bits to run sphinx.

Change-Id: Icb718f610d7767850122a54af6a664e63ddbca05
2016-03-27 14:01:54 -04:00