Commit Graph

15 Commits

Author SHA1 Message Date
HeroicHitesh 44b552e071 Remove testr
* Remove .testr.conf as there is no tests dir 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: I0efdc4dd0ce658cc13c543946c6af1da867e6d4b
2021-06-30 20:32:32 +05:30
zhangboye ad4af697d1 Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: I41ca7856d5900ff1805bce017ede4d08528f1e7a
2020-12-24 15:58:18 +08:00
Stephen Finucane f7b9477905 Remove setup.cfg, setup.py
This project is not a Python project and doesn't need packaging. Remove
it.

Change-Id: Id8d3be8830908f8e7cffdccc8b8ab09690db8481
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-02-10 11:00:56 +00:00
Andreas Jaeger c119831e56 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

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: I74896f0f66e4646fbe85b1f0a25fd0a87f39051f
2020-02-03 17:39:41 +01:00
Hervé Beraud 8344c5ce65 tox: Trivial cleanup
Move 'basepython' to the top-level 'testenv'.
Use the default 'install_command'

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

Change-Id: I792f90f68c1f9f9848445c8ba8f9f7a207806fc5
2020-01-08 20:21:14 +01:00
caoyuan 0350db11d4 tox: Keeping going with docs
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.

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

Change-Id: Idec07bdb441a2f30351267686f2f74888655a6df
2019-10-24 14:39:05 +08:00
jacky06 a760439b5a Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I00ba5df2ece7f783830e794affd944f2b48bcf48
2019-05-28 18:50:44 +08:00
Vieri 4c9945ef6e 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: I38e04cf7d06e26667913097786b84f85349cf18f
2018-11-02 07:01:31 +00:00
Doug Hellmann 64a8dd5250 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: I5ea198ad806f7a65c4c4f17b9cf06cdd08bba251
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:59:31 -04:00
Doug Hellmann f7c5eabf79 fix doc build
Apparently pip 10 dropped the options for allowing external and
insecure packages. We shouldn't need those anyway.

Remove the index pages within each series directory, since the specs are
linked using a glob pattern in the main table of contents. This removes
all of the "$series Release" entries from the main table of contents.

Add the rocky directory specs to the master toctree

Change-Id: Ic8714c42f31a98020dfb70e65e9b2d9240fcf41b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-05-16 09:49:23 -04:00
Nam Nguyen Hoai b51d79bb54 Update installing requirements.txt
This patch set is to update the command to install
requirements.txt and add .eggs to gitignore.

Change-Id: I6f090e97cfa5f45b62e425990a80d684326d346d
2018-03-28 11:34:30 +07:00
melissaml 69ea5d7dca Add -W for document build
For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: Id06803a45d088e1e4292598a79b7515d3eb91a11
2018-03-12 04:46:14 +08:00
ZhongShengping 291b307d9d 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 detials information, please refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I32b98aea4b2720a527c0e436eaf1e6874df1a967
2018-03-02 08:49:42 +08:00
Doug Hellmann b786cafbbe Require spec filenames to match blueprint names
Add a Sphinx extension to look at the specs as they are processed and
ensure that each filename corresponds to a blueprint name in Launchpad.

Change-Id: I579c779366539d3f083b4ba5ef8fe3638cc022d1
2014-12-02 10:19:24 -05:00
Doug Hellmann b41ddab806 initialize specs repo from cookiecutter
Change-Id: I130e1a4afe0989e01fbd429a54184d64bdbfecd2
2014-05-07 08:06:15 -07:00