| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Python runtimes for Zed are 3.8, 3.9 and optionally 3.10 [1][2],
so tox envs in tox.ini are updated accordingly.
Declare python_requires >=3.8 in setup.cfg
python_requires are declared in many projects during dropping
python 2.7 support. It is good to follow the convention and
it also clarifies our python interpreter requirement.
This commit also cleans up python2.7 related stuffs in setup.py.
Both are related to the supported versions of python,
so I made both changes in a single commit.
[1] https://governance.openstack.org/tc/reference/runtimes/zed.html
[2] https://opendev.org/openstack/openstack-zuul-jobs/src/commit/b740b42fb199d4d695391aaaddf46ca55eab79ac/zuul.d/project-templates.yaml#L542
Change-Id: I4161816fd1fec19a3834cc7d994b3f761e1ab2ce
Closes-Bug: #1960887
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Python 2 support was removed during Ussuri cycle. This change adds
the classifier to clearly state that only Python 3 is supported.
Change-Id: I51552cadaed82b29dcd10043ba23a0682e549156
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are
handled by the job template change in openstack-zuul-job
- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286
this commit makes other required changes in ``.zuul.d/cross-jobs.yaml``,
tox.ini and update the classifier in setup.cfg file.
[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html
Change-Id: Ie66460c19e5e670e9be3b1262d5f06e821078be9
|
|
|
|
|
|
|
|
|
|
| |
Resolves warnings like the following:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
Change-Id: I6c40c36603b3d173adcc5c941b5654102778a058
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
Ussuri release won't support Python 2.7 officially [1] so we can
drop CI jobs to test with Python 2.7.
[1] https://governance.openstack.org/tc/reference/runtimes/ussuri.html
Depends-On: https://review.opendev.org/688997
Change-Id: I650ca71c5a7c922a73f20cdf5ceb02caae464d02
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
The detail is described in the following links:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
doc8 command is dropped from docs and releasenotes tox envs.
We run doc8 in pep8 tox env, so this hurts nothing.
Change-Id: I24271b527258b1de4cf26ca7efd625954eb834de
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I9c8d93da24b5e13ca704ccfc761d73e2eb66eeff
|
|
|
|
|
|
| |
It is not strictly needed.
Change-Id: I37b2623ec834533a7ecae63084e2c2c04ecc1751
|
|
|
|
| |
Change-Id: I559e59e3f08a911d3382ab47531d5bb6e8cc1a72
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
update home-page info
Closes-Bug: #1612505
Change-Id: I3934c263ba257ccc3978f8afa9ac6b69c11897ec
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This is part of the new release instructions.
http://lists.openstack.org/pipermail/openstack-dev/2015-November/080692.html
Depends-On: I9adf91048acae17d523aab7b92f19d8643a3e19d
Change-Id: Ie4fd1f0396ca936c1c6a7f96190ca834b9a8f6d8
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
Update the version for Liberty, switching from date-based versioning
to pre-versioning using SemVer. See
http://lists.openstack.org/pipermail/openstack-dev/2015-May/065211.html
and
http://lists.openstack.org/pipermail/openstack-dev/2015-June/067082.html
for details.
Change-Id: I6a35fa0dda798fad93b804d00a46af80f08d475c
|
|
|
|
|
|
|
| |
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 pre-version to 2015.1 to formally open master branch to Kilo
development.
Change-Id: I2ff0fb19a894cb6018807d667e233f4fa6dfa83c
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ibf423f14a5c37aa298b2115bfd4936f660c6f530
|
|
|
|
|
|
|
|
| |
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
|