Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.
Change-Id: I9e0c6fa404093a9165b981c3a59006eb22e1b9a2
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Configurations of the integration tests are maintained both
in horizon.conf and in-code configuration. It is redundant.
Configurations of the integration tests are defined by oslo.config.
We can use default values from them and generate a sample config file
using oslo-config-generator.
This commit drops horizon.conf and generates the sample config.
We no longer have horizon.conf, so the logic to load the config files
is updated accordingly.
Also makes the usage of single and double quotes in config.py consistent.
Change-Id: Id16c9fd4114316ade63c74097e486623d0c5be9f
Babel allows us to register babel extractors via entry points.
This means we no longer need to have extractor definitions in
each babel config files. All horizon plugins have copies of
babel-django.cfg and babel-djangojs.cfg now. By dropping the
extractor defintiions from babel config files, we can make
a potential migration from django-babel to enmerkar (and
we can also avoid more modifications of babel config files
even if more transition is required).
django-babel and enmerkar both define 'django' extractor
in the entry point, so we can drop it from babel-django.cfg.
This commit also registers 'angular' extractor, so we can drop
the extractor for AngularJS from babel-djangojs.cfg.
Change-Id: Icf93d4551bd3db1baa84c110f06dcc1c36e18b7e
In Train, we will use python 3.6 and 3.7 for python3 runtime
in our gate jobs [1]. This commit drops python 3.5 info
and adds python 3.6 and 3.7 info.
[1] https://governance.openstack.org/tc/reference/runtimes/train.html
Change-Id: I8f024505ed9b37c9f2b480f49b5000d75da42cc0
Python 3 and python 3.6 classifiers are added
so that DevStack recognizes horizon works with python3.
Change-Id: I2ab0a1a9df9292090f8f14b1591b98d691e16bc4
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss
Change-Id: Ibae62f0fd43a4fb8a67c560c72e02f86683dff09
Commit I7fb2fd7dd40f301ea822154b9809a9a07610c507 changed test runner to
not use nose. So it's safe to remove all references now.
Change-Id: I8856e4e91b25f059645eb5e0356d207f6fc119f2
In order to deal with horizon going into the upper-constraints file so
that horizon plugins can consume it normally, we need to align the
constraints invocation in horizon's tox.ini. This means putting the -C
argument into the dependencies list rather than the pip install line so
that it doesn't get appended to tox installing horizon itself.
While we're in here, move nosehtmloutput into test-requirements so that
we don't need to do .[test] which also doesn't work with constraints.
Needed-By: https://review.openstack.org/550475
Change-Id: I736f79010c2d34e25d41d967a38128c2263ed13f
This patch adds the infrastructure needed to move the configuration
of Horizon into oslo.config-compatible configuration file, instead of
the Django's Python-based configuration. It doesn't actually define
any configuration options, just the mechanism for loading them and the
additional types necessary to handle Horizon's complex configuration,
and the integration with oslo-config-generator.
Subsequent patches will add groups of options, making it possible to use
them in the local_settings.conf file instead of the local_settings.py
file. Note, that the options specified in the local_settings.py file
will continue to work.
Partially-Implements: blueprint ini-based-configuration
Change-Id: I2ed79ef0c6ac6d3816bba13346b7d001c46a7e80
Moves Django OpenStack Auth content to Horizon, since they are so
tightly coupled. This cleans up the development workflow and should
make keystone / auth related contributions easier.
Implements: blueprint merge-openstack-auth
Change-Id: Ia1cdc47bad1ca6e633073a9f9445b0c7f70d05bc
warning-on-error option is avaialble in sphinx setup command integration
since Sphinx 1.5 [0]. This is useful to prevent future warnings.
Note that there is no sphinx error or warning in the current
horizon code base :)
Also renames 'all_files' to 'all-files' in [build_sphinx] section
as this is the actual option name defined in sphinx [0].
The underscore version 'all_files' also works as pbr
handles it properly, but we use hyphen version for sphinx options,
so the consistent usage is less confusing.
[0] https://github.com/sphinx-doc/sphinx/blob/1.5.3/sphinx/setup_command.py#L69
Change-Id: Ic9d1b0e4db30891c694537d43d7f7a51ff92be49
Now that there is a passing gate job, we can claim
support for Python 3.5 in the classifier.
Horizon passes the py35 tests, make it voting at:
https://review.openstack.org/#/c/359123/
Change-Id: Ib098cf6dd3208a3e9fac93929ac2d40dba20cd4d
Several changes:
- Dont rely on run_tests.sh and run the commands directly
- Move the coverage options to the setup.cfg
- Set py27 envs under the same umbrella
- Split horizon and openstack_dashboard tests into 2
different envs
- Remove usedevelop from most envs as its not needed
- Set basepython to 27 on the default env
- Allow adding posargs to py34 env
- Add npm environment which defaults to npm run test
- Add runserver as a new env
- Move pep8 to be the first tests so we fail fast
- Provide an env to tests against system packages, useful
for package builders that DONT want to test against pip
install but their local packages installation.
- Allow to pass TOX_EXTRA_DEPS to the system_packages
tests in case some extra pip packages are needed
- Add a manage env to pass commands to manage.py
- Add an environment to createmessages
- Add an environment to check only if we can create
messages
- pep8 environment also runs the check for messages
- All python commands use {envpython} so no escape
from the venv is possible
- Uses {toxinidir} for a clear indication of where
the files to be executed are
- Moves all keywords for pybabel to the setup.cfg
- Removes not needed whitelist_external for all envs
and uses only git for one specific env
Change-Id: Ia1be8f60265d9dab2639a05912b4b7c51f1d4033
Implements: blueprint enhance-tox
Bump preversion to mark the start of the Mitaka development branch.
The liberty release branch will be cut from the previous commit.
Change-Id: I8da5a8c2938ba1c5268118f2a78ced65b0a2be10
Bump pre-version in setup.cfg to formally open Liberty development.
Kilo release branch will be cut from the previous commit.
Change-Id: I8bb60f38956c44ae961e1da69f51e7f37c6beece
Horizon does not support Python 2.6 anymore starting with Kilo and might
not work correctly with it, so remove the classifier.
Change-Id: Idb2a044968bf35c1fbe4ab42188c6f7df096d442
Bump preversion to 2014.2 to formally open Juno development.
The Icehouse release branch (milestone-proposed) will be cut
from the last commit before this one.
Change-Id: I098875288a7090de75110166b72cc00181ff278c
This bumps the target version to 2014.1, opening the master
branch for Icehouse development and ending the feature freeze.
The Havana release branch is cut from the commit preceding this.
Change-Id: I59e298f38bb18acfc42aea7f1de075a212befa51
pbr is the library-ified version of the code that was in
openstack.common.setup and version. It builds on top of d2to1 to
provide declarative build configuration.
Change-Id: Ic264fa33e17fe5fdc71d8c53412495b069ab74a4
To better facilitate the building and publishing of sphinx
documentation by Jenkins we are moving all openstack projects with
sphinx documentation to a common doc tree structure. Documentation
goes in project/doc and build results go in project/doc/build.
Change-Id: Ic523a716e4113198b777d6dc3db8bb8a729e7696
Horizon is the last project that doesn't have support for the common
Project Testing Interface. This gets horizon up to speed with the
other bits, but shouldn't break any of the existing interfaces.
Change-Id: I464c3b10d9708a0b7b5ffd42c88cd3cf515ef6a7