Commit Graph

27 Commits

Author SHA1 Message Date
ZhouHeng e8463a1ad4 Revert "Retire neutron-fwaas-dashboard project"
This reverts commit 4a0f1a3ae5.

Reason for revert:
Neutron drivers team agreed to include neutron-fwaas again to Neutron
stadium[1], and goverance change is proposed at [2].

[1] https://meetings.opendev.org/meetings/neutron_drivers/2022/neutron_drivers.2022-01-28-14.00.log.html#l-14
[2] https://review.opendev.org/c/openstack/governance/+/828078

Change-Id: I5018dfdf9ea866e113a17f9bd5a3b153e4f1c08f
2022-02-10 20:58:31 +08:00
Slawek Kaplonski 4a0f1a3ae5 Retire neutron-fwaas-dashboard project
Governance change is proposed at [1] and project config patch is
proposed at [2]

[1] https://review.opendev.org/735828
[2] https://review.opendev.org/#/c/735812/

Change-Id: Ib78ff301076c0295aad9b1bf49eed0f1a7adb7c2
2020-06-16 12:39:14 +02:00
Hervé Beraud 6451d3dbff Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: I72feb6bdcee015029beb274b57600e3e5b4b9ed9
2020-06-11 10:53:14 +02:00
Andreas Jaeger 393a8583d5 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_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.

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: I467bf0ecbe308cfc39aed6aedd58f5947d2fc3df
2020-05-23 17:49:10 +02:00
Ghanshyam Mann b0fef79c06 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: I4e37d6101f957db0f4a4a9ebb9c9b5d3936e1335
2020-05-12 19:48:41 -05:00
Andreas Jaeger 0f9a50ed8d 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
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.

Change-Id: Icab2b68608002968bbc56791faedd119db7516e7
2020-04-22 07:34:10 +00:00
Andreas Jaeger 6882b4232f Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Change-Id: I55462940a883caac05e9d1cfc804bd9ea1b1b42c
2020-03-31 13:12:59 +00:00
Ivan Kolodyazhny 725e1ac496 Add neutron-fwaas-dashboard integration tests
This patch adds basic tests to verify that neutron-fwaas-dashboard
is installed and could be opened.

Also this patch decoupless sphinx vesrions for Python 2.7 and 3.x
to fix gates.

neutron-fwaas-dashboard job is added in a non-voting mode.

Change-Id: I1dca0bfbdc44186fffcbe757a142c930f5bc14b4
2019-10-21 17:33:35 +03:00
Akihiro Motoki cb790cc9e2 Bump hacking to 1.1.0
Ignore W504 and F405 by configurations.
Reasons of disabling them are explained as comments in tox.ini.
They are already ignored in the horizon repository and
AFAICT it is not easy to avoid them in horizon plugins as well.

Change-Id: Ie25ad2dc20102e7ae34629747566d77ff12c80ad
2019-02-14 01:52:10 +09:00
Akihiro Motoki 156900a00e Drop nose dependencies
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.

The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.

Change-Id: Ib54eb9e4cd0b4b8574a07d3b6884d4657ed296f2
2018-08-18 04:27:36 +09:00
Akihiro Motoki 6faaf2cad7 Drop mox3 from test-requirements.txt
create_stubs in test.helpers is also dropped in this commit
because this creates a stub using mox.

This is part of mox-removal community goal in Rocky.

lower-constraints.txt are updated to pass requirements-check
as this file is updated automatically now and we need to update
it when updating this file from some reasons.

Change-Id: Ib4c7c3003ce5d895c9c514aa0af6491da1667891
Closes-Bug: #1753504
2018-04-04 00:13:02 +09:00
OpenStack Proposal Bot ba79751f23 Updated from global requirements
Change-Id: I38897d147e2d12d1dde982339a262679167b0b85
2018-03-15 07:22:35 +00:00
OpenStack Proposal Bot 37267becc7 Updated from global requirements
Change-Id: If5d096a207759f9ac7e320e2f9d2c81b3975ce56
2018-03-13 07:06:39 +00:00
OpenStack Proposal Bot 63a01b8752 Updated from global requirements
Change-Id: I43537742c843c251823bf5b8ff2926aab75582bd
2018-03-10 13:28:01 +00:00
OpenStack Proposal Bot 2fa23ef2f1 Updated from global requirements
Change-Id: Ife11929e2e6b969f20589c5c03141be3829f718a
2018-01-27 18:01:31 +00:00
OpenStack Proposal Bot acebc2a7e2 Updated from global requirements
Change-Id: If4f41eb24950bc4f592dda4d4734d132172554da
2018-01-24 02:04:57 +00:00
zhangyangyang 17a07b7891 Cleanup test-requirements dependencies
python-subunit and some test modules are not needed anymore.

Change-Id: Id9037c4efe32b4a5922608eab8e5b751399e9a5d
2017-09-23 11:03:37 +00:00
OpenStack Proposal Bot 639754b315 Updated from global requirements
Change-Id: If438931dc6eeb7af19b0f48c3a46418166708ecf
2017-09-13 12:55:23 +00:00
OpenStack Proposal Bot f25d368610 Updated from global requirements
Change-Id: I29a8bd695008b7e4fd37d3f46d1b4d699828fec6
2017-09-11 21:41:39 +00:00
OpenStack Proposal Bot 90e74bbf69 Updated from global requirements
Change-Id: I8ae4c3c281ddb917936f1067abcbae77c5f4d35b
2017-08-23 12:14:52 +00:00
Akihiro Motoki 5a85b444d0 Use flake8-import-order plugin
In reviews we usually check import grouping but it is boring.
By using flake8-import-order plugin, we can avoid this.
It enforces loose checking so it sounds good to use it.
This flake8 plugin is already used in tempest.

Note that flake8-import-order version is pinned to avoid unexpected
breakage of pep8 job.

Setup for unit tests of hacking rules is tweaked to disable
flake8-import-order checks. This extension assumes an actual file exists
and causes hacking rule unit tests.

application-import-names needs to be specified in tox.ini
to ensure application imports are placed after third-party imports.

Change-Id: I4d6703c7cbad6ed0845d0605ecf494b0b3a8f154
2017-08-19 07:39:35 +00:00
OpenStack Proposal Bot e0967e3f45 Updated from global requirements
Change-Id: I9b4aa94c01490b1ed198eb7df596283a8db616ac
2017-07-27 19:14:20 +00:00
Dirk Mueller 88185e56d6 manually sync with g-r
Change-Id: I9ce1c63454887e41a4eb91347ac7d45b0dd854e1
2017-06-28 22:49:25 +02:00
Akihiro Motoki 56f6472620 Generate HTML reports for unit tests
Change-Id: I820230ee3d914d5072d5cda3ca8bd01c133b050d
2017-06-28 14:06:18 +00:00
Akihiro Motoki 47544ced46 Update openstackdocstheme configuration
In openstackdocstheme 0.11.0, the way to configure openstackdocstheme
was changed and the new way is really simple. Let's use it.

Change-Id: I94e5e0af47f5d9bf2321a6d93c18ce29848bb900
2017-06-28 13:27:38 +00:00
Akihiro Motoki 5833d578b4 Prepare initial documentationn
* Adopt openstackdocstheme
* Document structure follows doc-migration spec
  https://review.openstack.org/#/c/472275/

Change-Id: I3440cc66937022174fcddb0ce36005df9b97b4e2
2017-06-22 17:02:22 +09:00
Akihiro Motoki e489f47798 Initial commit 2017-05-22 13:36:41 +09:00