Commit Graph

14 Commits

Author SHA1 Message Date
zhouhenglc 6ab2105bd9 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I5bc51f982fa516acbda4b48466504be336cf4933
2022-05-03 15:19:57 +08:00
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
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
manchandavishal 6c7034ee95 Fix pyScss version in lower-constraints.txt
Horizon requires  pyScss>=1.3.7 [1] but lower-constraints.txt
in neutron-fwaas-dashboard uses pyScss 1.3.4 which can cause the
failure in future. So this patch update pyScss version in
lower-constraints.txt to sync the change.

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

Change-Id: I34620d6673936e2fd225d2de63205d355503ac63
2020-04-01 18:22:06 +00:00
Akihiro Motoki b7b288f030 Drop Django 1.11 support
Django 1.11 ends its extended support in April 2020 (which is before
Ussuri release), so horizon drops Django 1.11 support in Ussuri.

tox envs for non-primary Django versions are no longer needed in tox.ini
as testing environments for non-primary Django versions are setup in
the zuul jobs now.

horizon>=17.1.0 is required to use Django 2.2. requirements.txt and
lower-constraints.txt are updated accordingly.

Depends-On: https://review.opendev.org/#/c/700733/
Change-Id: I21b71ad592559e40a8ac6e5abee34cbbad4ea417
2019-12-29 07:16:42 +09: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 acf3f91833 Update lower-constraints to match horizon
Change-Id: Ib4367529451a1ee5d5d83afd9797eb6fbc660fcf
2018-12-17 06:12:33 +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
Chuck Short 677c631b0b Remove use_mox directive
As of horizon 14.0.0.0b2 or later the use_mox directive is unecessary
so we can remove it.

Change-Id: I1191bb4223556b7da1f4377bec70277abf58dd39
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-08-15 08:54:05 -04: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
Doug Hellmann 0653854bbd add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: Ifc0a37fc787ed3340aefb7e182dbc74bb36352f2
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 16:30:55 -04:00