Since tox 3.18.0, the whitelist_externals option has been deprecated in
favor of the new allow_list_externals option[1].
This change bumps the minversion of tox so that we can replace
the deprecated option.
[1] https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
Change-Id: I533fe72cc3a5e1900d8f795582dd63d1f0aab70a
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
- Remove install_command from tox.ini, the default is fine
- Use TOX_CONSTRAINTS_FILE instead of obsolete UPPER_CONSTRAINTS_FILE.
Change-Id: I4807e406cf6238767ceb02590c713f738686fa1f
This patch update hacking version to 3.0.0[1]. In order to make code compatible
with new hacking rules line break before/after binary operator I have added
W504 into ignore list in tox.ini. It also drop flake8, hacking, django-babel,
and mox3 packages from lower-requirements.txt.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I96fc5ca23010958d68cf261793489580b57f3a4f
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 info. please
refer [1].
Depends-On: https://review.opendev.org/#/c/700733/
[1] https://etherpad.openstack.org/p/Enable_Django22_support_in_Horizon_Plugin
Change-Id: If7c7ce79594449637655c4832db50c2c243ce1c0
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: Iabbed6052887ba92c07cb68c2333a197f04348cc
The requirements team has defined a new strategy for handling
upper constraints[1]. This patch applies those strategies to
Octavia dashboard.
[1] http://lists.openstack.org/pipermail/openstack-discuss/ \
2019-May/006478.html
Change-Id: I33588ae6f83b25fd765bc1b2f69ae5f1e2fa0184
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.
Change-Id: Icfa8458931d09fc8c15192619e2c50419fa73ede
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: I3b9a51d79de04279e1872cc41a2bb7c69a0f08f8
This patch updates the octavia-dashboard tox environment to use stestr.
Depends-On: https://review.openstack.org/570260
Change-Id: I122cd42fea3972d2e9488a1c4239e061edb8a54b
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: I65ec3ce0c72467486255868bcff79c70b9bf20f8
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: I0ad0aa3533d324a46289920efb9ad637cbcf37f7
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This patch adds release notes for the work done in Queens and updates the
release notes tox environment for the new docs requirements.txt.
Change-Id: Idd6c5738d0a353244a672ff711151eb16f24d174
There have been recent changes to how docs jobs are run under zuul [1].
This patch updates octavia-dashboard to be able to run under the new
zuul docs jobs.
[1] https://review.openstack.org/#/c/508694/
Change-Id: I44f7ce2538de0ce76860a3a2b477751de322ab02
The exact path can vary in different operating systems, also this will
eliminate the following warning:
WARNING:test command found but not installed in testenv
Change-Id: I19c8728c4d6fe13bd021dbfe22797cf0572c8962
This patch updates the imported code to reflect octavia-dashboard.
More work is required to make this work with the Octavia v2 API.
This will be done in followup patches.
Change-Id: I7363105a53642d0003036cada21c5b0cc25efc1a
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.
This change adds constraints support by also adding a helper script to
edit the constraints to remove neutron-lbaas-dashboard.
Change-Id: Id0a31c878f39355bcb8b2e4b67b0c17b161c8603
The directory openstack/common was used to keep codes from
oslo-incubator, we have retired oslo-incubator, so don't use
this directory any more.
Change-Id: I7010754d7cd3c0d0d601b61bd3a870d59e3e6677
* Update requirements for selenium testing
* Add gate scripts
* Add draft integration test config and test stub
* Update tox for running integration tests
A patch for gate job is: I76ab460a110d93b0186ca126858f79ac9e89f09b
Change-Id: I5ca1bf7003a9882648cdfbeab21d2ada37b951f1
Add lint and unit test environments for JavaScript to tox.ini
Partially-Implements: blueprint horizon-lbaas-v2-ui
Change-Id: I13c1dd18c160c78ef303595cedc8009f58596863
Unit tests for the first patch are failing because
DJANGO_SETTINGS_MODULE is not set. Add the pieces to
do this.
Change-Id: I9aff77126acf7c2e2d59966dd825f105e809edee
Partially-Implements: blueprint horizon-lbaas-v2-ui