OpenStack CI now uses tox4 by default. This patch
drop "skipsdist = True". When skipsdist=True is specified,
a target application is not installed into a tox env, but
there seems no reason to do so. In various other OpenStack
projects, a target applicatin needs to be installed into a
tox venv, for example, in docs and/or linter jobs and it
causes failures with tox4. So dropping it would avoid potential
future failures.
Change-Id: I18d5ee7f96e77e345f304536bbc385d87bb859f2
Update tox config to include upper-constraints as dependencies. This
resolves issues with building PDF docs.
Change-Id: I1d83437079f224a0d560dd3cc339bf3ce5213534
UPPER_CONSTRAINTS_FILE is old name and deprecated.
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
For more info. please refer [1].
[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
Change-Id: Id062b4014a61adf75fd9917a6928c0521739fc01
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: Ia8695eb481235043b6aedda2c92aeb7f49a3c00b
Change I379c086a15477da4b0223fddd48035c829992c88 mistakenly generated
HTML docs into the wrong folder.
Change-Id: Ia9a9025b773448598891fc229166b668f21fb7b4
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
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Update hacking to version 3.0; remove hacking and friends
from requirements, they are not needed; fix warnings found
- Use unittest.mock
Change-Id: I379c086a15477da4b0223fddd48035c829992c88
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
Change-Id: Ib28727f18d3ff2c86f5dc9ab3dc49bb031650b55
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. For more information,
please refer to [1]. This patch also removes py36 from tox.ini.
[1] https://etherpad.openstack.org/p/Enable_Django22_support_in_Horizon_Plugin
Change-Id: I9d0784d1a5b5c48414bb08600cae69002433c30b
Depends-On: https://review.opendev.org/#/c/700733/
Python 2 is no longer supported. Python 3 is required.
This patch stop testing with python2 and issue the release note.
Change-Id: Idb4c37948b9ad5b19229a86fbbc42c2b63f585eb
Horizon defined a project template 'horizon-non-primary-django-jobs'
for django jobs. This patch use that template to run django jobs
here. For information please refer [1]
[1] https://review.opendev.org/#/c/681969/
Change-Id: I750d6acaa3231b60fe1680b59d483fe10b091017
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: I46bff5b942a31b2c33679e2f4414e003510f2687
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: I3e2b7f9990b7d1b269a75070db6c4e6b056e4df7
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 deprecated 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 older Django unit tests from tox.ini
as horizon dropped Django <=1.10 support in Rocky.
Change-Id: I099c7b019c930307d3aae64b1729d6f532fc1653
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.
python-blazarclient 1.0.0 is not available on PyPI,
so the minimum version is bumped to 1.0.1.
Change-Id: Icbecf09ff90d7b5e563df27fe1d8db2438ac6c4a
Co-Authored-by: Akihiro Motoki <amotoki@gmail.com>
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Signed-off-by: Akihiro Motoki <amotoki@gmail.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: I0e2986d2fe06d07b5c08d73ac7f13fc3778eccc3
This patch updates documents for aligning with OpenStack documentation
standards which include using the openstackdocstheme.
This patch also replaces Nova host-list API calls with hypervisor-list
API calls because the former was superseded by the latter [1].
These changes are not related but squashed into one patch for passing
gate tests.
[1] https://docs.openstack.org/releasenotes/python-novaclient/queens.html#id4
Change-Id: I1fe652c17983f2b4505be50d01a26678bf50ef29
Partial-Bug: #1721489
This patch adds a Horizon plugin for Blazar. The following features are
currently supported:
* Show a list of leases
* Show details of a lease
* Update a lease
* Delete lease(s)
Change-Id: I24c14e697d4280fa29d84d11324fb881009f089b
Partially Implements: blueprint climate-dashboard
Co-Authored-By: Pablo Andres Fuente <pablo.a.fuente@intel.com>