Commit Graph

18 Commits

Author SHA1 Message Date
Jonathan Rosser 65a14576c7 Cleanup setup.py config
Change-Id: Idf2fcb80b6d777fd428e2d131cf719811058eaef
2022-04-04 10:11:04 +01:00
likui f8a2116875 Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: I953e69dbd07f724562ee6c913a944d0fdf45192e
2021-07-03 21:29:37 +08:00
zhoulinhui 740806fa1d Replace deprecated UPPER_CONSTRAINTS_FILE variable
Change-Id: I949deb56eda385c427847e392efb5da53830f23b
2020-11-10 13:11:37 +08:00
melissaml 750bfc8e15 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Use warnings for sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.

Change-Id: I49d20c142af9345125540de61e9476f317ab6a38
2020-04-14 16:29:31 +08:00
Ghanshyam Mann f269fd987a [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

Only update required is in tox to define common baspython as py3 os that
all tox env including [testenv:functional] will use py3 instead of py2.

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: Ie9f74786b1d2856e1ee3d4e86e159006cb48bc19
2020-03-01 16:00:10 +00:00
Zuul 155fa917a3 Merge "tox: Keeping going with docs" 2019-12-12 21:03:23 +00:00
Andriy Shevchenko 3aedf38811 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: I7b41835ed28d6fc09cfd579b4b5a9d0b67ca10ec
Closes-Bug:  #1801657
2019-11-06 11:35:23 +00:00
jacky06 08b99fe611 tox: Keeping going with docs
1. Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
2. Remove the unnecessary blank line for tox.ini

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Depends-On: Ie837d376bb1a1d93367369d25140dd8a9d5ac14e
Change-Id: I476525b7ca565e81b4bd303263902f5bbaa80632
2019-10-24 00:02:13 +08:00
Dmitriy Rabotyagov 23ed64b6fc PDF Documentation Build tox target
This patch adds a `pdf-docs` tox target that will build
PDF versions of our docs. As per the Train community goal:

  https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html

Add sphinxcontrib-svg2pdfconverter to doc/requirements.txt
to convert our SVGs.

Change-Id: Ic5d3234ca20699222eb7c866e269fec9690a4f49
Story: 2006105
2019-10-18 12:56:37 +00:00
Zuul a20ca233c5 Merge "Update the git to opendev" 2019-05-21 12:29:29 +00:00
tonybrad 218bfca450 Update the git to opendev
Change-Id: I42415a733d0c502e4756473d0cde3f8ccd6a7cbf
2019-05-21 08:50:25 +00:00
Andreas Jaeger 0ecabb3844 Remove docs from linters
The openstack-ansible-linters job runs the linters tox environment - and
the docs jobs runs the docs environment.

Remove the docs jobs from the linters environment, there's no need to
run the docs jobs in both linters and docs environment, it just wastes
testing resources.

Change-Id: Ie72970439c498f7c4ff274138544af0611376e87
2019-05-18 11:18:03 +02:00
Doug Hellmann 5c6c447b83 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: Ib2feb65b1f23578ea7ddcff4802425a5a5708a0f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:42:54 -04:00
Taseer Ahmed 0ad0677d26 Fix functional tests for Blazar
The functional test check the responsiveness of the Blazar API. A
return of 204 code from the API verifies the success.

Rest of the changes ensure compliance with all the standards required
to make the linter and docs tests pass.

Change-Id: I640877817ad1ae312436932af87ad15094616f12
2018-09-04 18:38:34 +05:00
Heba Naser 8d8411196e Use tests repo for common role test requirements
Using tox for requirements management requires in-repo
requirements files for all our repositories. Rather than
do that, we make use of the tests repo to capture our
common requirements and use this to install them.

This reduces our review requirement rate and simplifies
maintenance for us for the tox config. It also makes it
usable with 'Depends-On', which is marvellous!

The tox requirements definitions for docs/releasenotes
builds are left in-place as those are standard entries
across the community. If that changes at some point, we
can re-assess those entries too.

Some old test cruft is also removed.

Depends-On: https://review.openstack.org/579208
Change-Id: Iee798c2660f69afe7c40cd3d2e9b801434944eff
2018-07-14 15:07:54 +01:00
Jesse Pretorius e0a27e69a8 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

For more details information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

In order to pass the requirements check, a new lower bound is set for the
'pyasn1' and 'requests' packages.

Change-Id: I7c1a9f6e2e4f74b90a12ccf277f829b67b7f332f
2018-07-14 15:06:06 +01:00
Taseer Ahmed ad1142cc60 Filling in more content
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2018-01-25 12:14:58 +05:00
Taseer Ahmed 6d3c5fb31c Outline the structure 2017-12-24 19:17:51 +05:00