Commit Graph

14 Commits

Author SHA1 Message Date
elajkat 2903040070 Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver for the release team.
Removed specific doc requirements from test-requirements.txt

Change-Id: Ia88848fd9c4ce35d396bc186ae3894a1d5865db9
2021-01-05 12:52:45 +01:00
Bernard Cafarelli c3bec86663
Update hacking for Focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

This bumps hacking to 3.2.0 in order to work with focal, disabling W504
to align with neutron (W503 is enabled in this version)

Story: #2007865
Task: #40199

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html

Change-Id: Ic7a6da941172aae6dc504eb377c3e94de4805a89
2020-09-10 14:02:37 +02:00
Andreas Jaeger 7dc2857705 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.

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.

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: I02b83b2d2ffa7e007f8150176ac881a8b6a53495
2020-06-02 00:19:08 +00:00
Andreas Jaeger 5719f992d1 Update docs building
Update docs building:
* Switch to sphinx-build
* Update requirements for Sphinx and openstackdocstheme for
  python 3
* Remove unneeded doc and translation sections from setup.cfg

Change-Id: Ie6cae5b1e7b600a2b2396f403a8fa5a90e5f3463
2020-04-19 09:53:19 +02:00
Ghanshyam 42aac38cc8 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

neutron-tempest-plugin is ready with python 3 and ok to drop the
python 2.7 support.

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

Depends-On: https://review.opendev.org/#/c/705184/

Change-Id: I9daafef0847a9a9baa45382b87da71fe8d1fffd0
2020-02-26 15:35:20 +00:00
Zuul 48fa3ced39 Merge "Bump the openstackdocstheme extension to 1.20" 2019-07-27 02:43:09 +00:00
pengyuesheng 88ff7434af Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: I2e12b3da4686bf9f18d55fbb629d8a4525f3bc8d
2019-07-26 11:34:09 +08:00
pengyuesheng 7d5bf8d6a0 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: Ic86546c18dbde251b7cc77955f591677c0de1fd4
2019-07-26 11:31:10 +08:00
jacky06 25cea25f12 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Remove unncessary "=="

Change-Id: Id733fe1f513e756eb7bb2e8314bdb5dacc5dacd3
2019-06-19 22:58:47 +08:00
Slawek Kaplonski aa6baae9e0 Switch to stestr
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I856024f8b66f5edaf40ae7b798fce21c43d021e7
2018-05-29 14:34:42 -04:00
Brian Haley 33ef4607ff Fix some pep8 errors, update tox.ini
Fixed E731, W503 and I201 pep8 errors.

Added flake8-import-order to test-requirements.txt to avoid
an "unknown option 'import-order-style' ignored" warning.

Removed {posargs} from flake8 invocation so it can be called
such as 'tox -e pep8 HEAD~1' in order to only run on files
changed in the top commit.

Removed py34, py27 and pypy from the tox.ini envlist since
there are no unit tests, and tox reports it skipped all tests.

Change-Id: I574cafe074befa59aaee44b092b011e27f5f4211
2018-05-02 11:51:17 -04:00
OpenStack Proposal Bot cf28ac2dc1 Updated from global requirements
Change-Id: I10ca771c181ca3f4f9d29150211ed70486fa3c4e
2018-03-15 07:23:59 +00:00
OpenStack Proposal Bot 1cf8cec6c0 Updated from global requirements
Change-Id: Ia11ef30448a5ca48dd6d9e1c5acd23918e199f65
2018-01-27 20:11:19 +00:00
Chandan Kumar 5e6198734b Apply cookiecutter to newly split project
This tempest plugin is being split out of the main neutron project in
accordance with Queens goal "Split Tempest Plugins into Separate
Repos/Projects"[1]. This patch applies the standard boilerplate files
for OpenStack projects so that it can stand on its own.

[1] https://governance.openstack.org/tc/goals/queens/split-tempest-plugins.html
2017-09-07 22:23:55 +05:30