Commit Graph

16 Commits

Author SHA1 Message Date
Anand Bhat 556a43ef31 Migrate from testr to stestr
* Replace .testr.conf by .stestr.conf for migration and update
  .gitignore,test-requirements files accordingly
* Use 3.18.0 as the minversion for tox

Change-Id: I6bf98adecb772896c6243a90271a1b258569a4df
2021-07-18 00:05:10 +05:30
Andreas Jaeger 53026b9867 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Disable openstackdocs_auto_version to not auto-version the documents.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from test-requirements, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I7a752815abf068c8fecadfa8ecbf01e77bf6efdc
2020-05-21 12:45:38 +02:00
Ghanshyam Mann ca6016d486 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I093d57f49f7da215e9d18b231aed2358fb268d47
2020-05-12 21:32:27 -05:00
Andreas Jaeger 805d94e985 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Cleanup */source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme, reno, Sphinx, hacking versions
  for python3
- Add pytest as requirement, horizon does not provide this anymore and
  the tests here call horizon files that need it.

Change-Id: I5983a19cadb210d55c30107fb963cfeaae0f1ee9
2020-04-17 17:16:41 +02:00
Eyal eaacb594e2 Update hacking and fix warning
Change-Id: I4cc01d1f496cf216619e763be2719b60d164d25d
2020-01-07 15:36:51 +02:00
pengyuesheng 2b8c9b92b0 Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details
Depend-On: https://review.opendev.org/#/c/663060/

Change-Id: I617139ebde72eafde01e2fc3bef9d917fd6ca2da
2019-07-04 10:24:56 +08:00
gujin 76a8879815 Sync Sphinx requirement
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

Change-Id: I655ee24030b06c25ded9df6e88e44bd5f4b78b6a
Closes-Bug: #1831528
2019-06-04 10:50:57 +08:00
Ivan Kolodyazhny 2a7b111307 Add vitrage-dashboard integration tests
This patch adds basic tests to verify that vitrage-dashboard is
installed and could be opened.

Also it removes oslotest which is not used.

vitrage-dashboard-integration-tests job is added in a non-voting mode.

Change-Id: I03c6a28014a73605b72441a0241e1dc1cd3f908c
2019-02-17 15:25:54 +02:00
Ivan Kolodyazhny fad0c1f101 Fix npm tests on local env and CI
This patch adds upper-contraints support both for Python and JavaScript
tests.

Change-Id: Ied15af4c3c16043f8fb657b11cfce6fc44ff006f
2019-01-20 23:01:00 +02:00
jacky06 c9eff7caf2 Update hacking version to latest
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: I7d0661b59684271d08e240299a2a23a6d16da95d
2019-01-12 03:45:28 +00:00
zhang.lei fd66448175 Using storyboard to collect project bugs
This is a supplement for https://review.openstack.org/576651

Change-Id: I111739ab4cc737de3e06ae8883cd84205c38dde7
2018-09-17 07:24:18 +00:00
Van Hung Pham acf517bb3e Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: Ie9b81c1edeb938ad9e5e06ee2d604ce28a9dea43
2017-06-30 17:11:37 +07:00
ricolin 3da7693849 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: I09e931c5c99d3e14e50397267665e2fb3df3c16f
2017-03-02 18:44:18 +08:00
Ifat Afek a620a33f0f Added release notes to vitrage-dashboard
Change-Id: I2164a31c1ccb9047bda69909a2d835e4fdf055e8
2017-02-01 11:51:27 +00:00
Swapnil Kulkarni (coolsvap) c79fa78720 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: Iea922c9a61b3c6ce33d3a0c53494743c32b0aa44
2016-07-21 07:53:58 +00:00
mgrosz f88201dc9e vitrage-dashboard project init
Change-Id: Ie553530bff9df52012f26316237ed5b04692e128
2015-11-16 11:35:25 +02:00