Tox version 4 introduced changes that causes new failures in tox jobs.
This patch fixes these issues.
Change-Id: I76b01501a60941ff33caf9064a7771f60a1b891b
In Zed cycle, we have dropped the python 3.6/3.7[1] testing and its
support. Add release notes and update the python classfier for the same.
[1]https://governance.openstack.org/tc/reference/runtimes/zed.html
Change-Id: I3598276117406260194e9469ae8420ed901c15b0
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.
This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.
Change-Id: Ied60fa88c5a2538cdc908d119253a5296b05f816
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
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
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
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
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
The document is simple enough, so 'howto' is specified as
documentclass instead of 'manual' as most projects do.
Change-Id: Ic6d9e893afc9853fe054756eba34767677510cfe
Story: 2006099
Task: 35130
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
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I77b4d2de48d9c637424dfb5cb7e00332835690d8
Django 2.0 is now used in tox py35 job, so there is no need for
py35dj20 job. Instead, Django 1.11 with python3 is not covered.
- py35dj20 job is dropped from tox.ini.
- python3-django111 is added to tox.ini.
python3 is specified to basepython to avoid a specific python version.
- .zuul.yaml is updated to consume horizon-openstack-tox-python3-django111
and drop horizon-openstack-tox-py35dj20.
Change-Id: I4bf1a19f46a895f3569d7a79739ac1a7ebf91cbc
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I31a783516ef06ec0a97dc3dd7a9f610f581b560c
Replace django.core.urlresolves with django.urls
(In Django 2.0) The django.core.urlresolvers module is removed
in favor of its new location, django.urls.
It was depreacted in Django 1.10:
https://docs.djangoproject.com/en/2.0/releases/1.10/#id3
Add py35dj20 job to test Django 2.0 integration.
Also drops py27dj110 from tox.ini as horizon droped
Django 1.10 support in Rocky.
blueprint django2-support
Change-Id: I8e0dcb64e1c82580767db482631450ba38654fc3
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>
Instead of using tox-install.sh, we can install horizon and neutron
now directly from pypi - or use the current branch in CI system using
tox-siblings.
Update tox.ini for this change and add horizon to requirements file.
Change-Id: Ife1aa2df08181fb7d7fcc00fdc225c92425fe6c8
The tox_install.sh here behaves a bit differently than the others, which
is causing some problems when trying to rework some of the shared gate
jobs.
Align it to the form used in other repos.
Change-Id: I843c4e104c6d694074899912cbdf0332bfcf2a26
While running tox, I see it runs against py34 instead of py35.
This patch update this point as per Infra.
Change-Id: Ibb128aeadc93601a29c3277b52eb002178f52b9e
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
neutron-fwaas-dashboard adopts cycle-with-intermediary in Pike
so we still use the master branch for Pike development.
requirements and horizon repositories are now open for Queens.
We need to pin them to stable/pike for a while.
This patch should be reverted once stable/pike branch is cut.
Change-Id: I59e3ea94d4e5e4cf72ab26c6366d41b66bfbeb99
Previously the repository consumes horizon from amotoki's
private github repository for initial testing.
Let's switch it to the main horizon repository.
To test this, local.conf needs to be something like below:
(Patch set number may need to be changed.)
-----
enable_plugin neutron-fwaas https://git.openstack.org/openstack/neutron-fwaas
enable_service q-fwaas-v1
enable_plugin neutron-fwaas-dashboard https://git.openstack.org/openstack/neutron-fwaas-dashboard refs/changes/13/476413/1
-----
Implement blueprint split-out-neutron-xaas-dashboards
Depends-On: Ieaca88dbe28cc2330d9b333082ff7e92c91e8639
Change-Id: Ie46e54ad732e816b02d56f52b09382773f481643