Commit Graph

12 Commits

Author SHA1 Message Date
Damian Dabrowski 4976893a68 Switch sphinx language to en
With sphinx release of 5.0.0, they changed default for language variable
to 'en' from None. With that current None valuable is not valid and
should not be used.

Additionally, a typo for `allowlist_externals` was fixed.

Change-Id: I25359feb4c207f174a3e3f9fa7e61076e423abbc
2023-01-31 18:48:17 +01:00
sonpn13 2b72a22f77 PDF Documentation Build tox target
Change-Id: I54e3d3d6fbe0b753597703b6e61f884703c4e7e7
Signed-off-by: sonpn13 <sonpn13@viettel.com.vn>
Story: 2006105
Task: 35341
2022-04-27 09:53:18 -04:00
HeroicHitesh b7df3a48e4 Remove testr
* Remove tests and tools directories since openstack-specs-jobs runs
  only docs
* Remove .testr.conf as there are will be no tests directory present in
  this repository after this change and update .gitignore accordingly
* Use 3.18.0 as the minversion for tox in order to use
  allowlist_externals option

Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: I345f16d0956b8e397b282902a211159e11f902c8
2021-07-05 17:33:18 +05:30
zhoulinhui eb2f69cfb2 Replace deprecated UPPER_CONSTRAINTS_FILE variable
Change-Id: I649ae7090692a2486a3fc4475a7ac6cf92421877
2020-11-10 13:12:15 +08:00
Andreas Jaeger a73df5a05f Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Switch to using sphinx-build, fix doc warnings
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine

Change-Id: I23a2d62a8853f01e8574ef37b5ee1ac2ee09acd0
2020-04-10 11:21:00 +02:00
Ghanshyam Mann 3e6eab5fc3 [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

openstack-ansible repos need few updates on requirements
and tox file.

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: Ic6cb1eb547efa7cda472950a49dd8adbd7760ffe
2020-02-29 18:42:40 -06:00
jacky06 5e992058ee tox: Keeping going with docs
Change-Id: Ib54892df6c23a27c625bd4818dd03989c30f4141
2019-10-24 01:23:11 +08:00
Doug Hellmann e69e04c5d0 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: I662ba48fc90d86bbe2fe88959fdff043758ff76b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:45:13 -04:00
Jesse Pretorius 18a39e8f07 tox.ini: Expose USER environment variable to execution environment
In order to allow the use of the environment variable which informs
Ansible which user executed the playbook, we pass the USER env var
into the environment that tox builds.

Change-Id: I38418890950d11d9afe85cae4de6463727b2cf94
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-03-15 18:04:19 +00:00
Jesse Pretorius 3e065e97e3 Implement doc8 checks
Change-Id: Ic830833f6abef29a5fc5ca13500a9a8d9a7c036d
2016-09-28 12:21:11 +01:00
Jesse Pretorius 5e2d9643d6 Update tox configuration
This patch updates the tox configuration to take advantage
of upper-constraints. This ensures that all tests/builds
are executed using known good versions of packages.

Change-Id: I3223f63b4a2fef96c8da96345c185c64191e684a
2016-08-20 17:48:12 +01:00
Kevin Carter 05b9c2e76f Initial commit for OS-Ansible-Deployment specs
This commit adds basic repo configuration and testing for specs.
Changes include:

* Doc testing
* Index testing
* Build testing
* Initial spec template

Change-Id: I48e4ef1794fb3b698a8346345848bdfa67ccb08b
2015-03-17 14:19:19 -05:00