Commit Graph

10 Commits

Author SHA1 Message Date
Hervé Beraud 8cce66b545 Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].

Removing specific doc requirements from test-requirements.txt.

The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to pull requirements [4].

This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.

This project meet the conditions leading to the bug.

[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36

Change-Id: I472c4ba4511e474a7d944769884284c5bc9219ac
2021-01-07 12:55:24 +01:00
lkuchlan 1d1461d232 Add flake8-import-order extension to tox.ini
This package adds 3 new flake8 warnings

* ``I100``: Your import statements are in the wrong order.
* ``I101``: The names in your from import are in the wrong order.
* ``I201``: Missing newline between sections or imports.

Change-Id: I4feabcd4db583d213e0e4d414eee267b0ddb8870
2020-08-18 10:01:00 +03:00
Ghanshyam Mann 0e78026163 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: I1816e2c948a02967471d440a6aa512706d3fb4f1
2020-05-12 19:28:00 -05:00
Andreas Jaeger a3fef5ccca 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: Ic1a93606cb73778fc43e58b85ad65bee46c3c631
2020-04-23 10:03:17 +02:00
Tom Barron ad6f7de944 Fix hacking test requirement
A recent change [1] updated the hacking version
in manila-tempest-plugin and made corresponding
fixes but unfortunately is python 2 incompatible.
We really only need hacking on master anyways,
where we no longer support python 2, so here we
make the requirement specific to python 3.

[1] https://review.opendev.org/#/c/716559

Closes-bug: #1870621

Change-Id: I9771cf31d50dbbfc0eb978ffb8f485c431cf2767
2020-04-03 21:41:12 +00:00
Andreas Jaeger 0cb685be7d Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: I76d42ef91d3cfc133a6f7a4dfdf982e5fec0d443
2020-04-01 13:47:59 +02:00
OpenStack Proposal Bot 72710a2da0 Updated from global requirements
Change-Id: If93ab86bc626ed49d3270a3bc6d69b84b6205372
2018-03-15 07:08:58 +00:00
OpenStack Proposal Bot 5058021870 Updated from global requirements
Change-Id: Ic24a064c1dfe9efd6ce8aaab4af5a6187d3e248f
2018-03-10 13:20:08 +00:00
OpenStack Proposal Bot b09dcebd20 Updated from global requirements
Change-Id: I1aef3ea5717976810be54afb2805d86cd32dd61e
2018-01-22 10:57:03 +00:00
Raissa Sarmento 3dd627bdec Apply cookiecutter to newly split project
This tempest plugin is being split out of the main manila 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-27 12:25:46 +01:00