tox.ini started failing with tox4 which had some
incompatible changes. One of them is to allow
external command to run by adding them into allowlist_externals
and make passenv in new lines.
Fixing tox.ini for tox4 changes.
Change-Id: Ic10c68cf73f0e181c1182b348f49b9fff1f4cf24
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>.
Change-Id: I5a45367ad1086d3a079ab54481d1d0460298e47d
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: I77603777138a8f39f22ac9f51c2beb8e63c00c02
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
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 is updated accordingly.
Depends-On: https://review.opendev.org/#/c/700733/
Change-Id: I8f97ac0e749c6c108d809f246b044ba3e8a0010d
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: Ib3e48ff828faef59a6594f9a1155eaa3a8bf0cf0
Since we've entered Train and the runtime proposed include py37[1],
we need to include it in gate as well as local env.
This patch adds the support for the same.
[1] https://governance.openstack.org/tc/reference/runtimes/train.html
Change-Id: Ie9da36e048c8f13f625369b59c8c46eb5673194f
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I739cd53efa4f685d721dc4c9095d5df273b2acae
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: I84c22c847929650e4ea8a8670e704d8002d792ab
Using "python setup.py check -r -s" method of checking the package has
been deprecated with the new recommendation to build the sdist and
wheel, then running "twine check" against the output.
Luckily, there is already a job that covers this that only runs when the
README, setup.py, or setup.cfg files change, making running this in the
pep8 job redundant. This covered by the test-release-openstack-python3
that is defined in the publish-to-pypi-python3 template.
More details can be found in this mailing list post:
http://lists.openstack.org/pipermail/openstack-dev/2018-October/136136.html
Change-Id: I17ac028930428a5c3cc4a9954a189dae56715864
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
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: I716ec44a6dd6d14f1ac221e058f365b8d44fb423
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
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.
Change-Id: I6d2e38201387012ba9a02c4b0bd8377895a5919a
Add py35 to tox.ini so we can check
for pyhton3 compatibility.
Change-Id: I9a652d01fcc1a13e07f94a9a7e48b23d1877e1c8
Signed-off-by: Charles Short <zulcss@gmail.com>
Specify test directory so that tox won't complain
`ImportError: Start directory is not importable`.
Also fix a warning when running debug.
Change-Id: I7111c553bef110130abcd23f1e402d35868e3852
Closes-Bug: #1666560
Django < 1.8 is not supported any more by upstream, and Horizon
has dropped django 1.7 and lower version support, so we don't need
to keep them here.
Change-Id: Ic4c1500c3403652f5e0936d81ad2797f1ab4b368
* Due to this dependency mistral devstack pluging doesn't get
installed properly because it can't constrain this dependency
to a certain version
Change-Id: Ife4a2e3ace9d6325b27f995ceeafcd345dd8cc6d
To be co-installable with other OpenStack projects and have consistent
testing it's a good idea (tm) to use constraints when creating tox
environments.
Change-Id: If3e7de5c46d92a096db239611a24393f3ffb9e15
There is not *openstack/common* directory in mistral-dashboard,
we should drop it for improving searching efficiency.
Change-Id: I0f41e65e78e082cdd0f637ab07fb872b1b195a86
All the components of openstack maintain releasenotes. Similarly,
mistral dashboard must also maintain releasenotes. This adds
the releasenotes directory to the mistralclient repo.
Change-Id: Ia095ec4d6ac286cf6c27817765855a97a61502b1
Implements: blueprint maintain-releasenotes
This should eliminate the need to clean -x -i to kill pyc files in
your local directory to get tests to pass.
Change-Id: I668c1baac23b29750fa19ccb0a4302504399dd75
Enable Unit Test add additional tooling to support running tests
and building virtual environments to mirror what is done in horizon.
Partially implements blueprint mistral-enrich-dashboard
Change-Id: I15b2b28a3a30e8c2ead3b2f68bf2986becbe7914
Also:
- add license headers
- set up tox for flake8 checks and venv
- remove run_tests.sh, tools/ and other stuff we don't need at the moment
- add basic sphinx setup for later use
Change-Id: I0d34fb9fd0bfd351d20474da88715b30ff3c3d61