As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.
Story: #2007865
Task: #40194
Closes-Bug: #1886298
Change-Id: Iecdea43886a2bfb232d7560914969f8a5cd485bd
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Ic888f31814431683d8cd71e1ab25c0dc63bcc8ef
We don't use this third party lib anymore,
since https://review.opendev.org/#/c/717325/
Change-Id: Ibe4423cf3893981128addbf4fa31ba9003a7e968
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
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
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove Babel from requirements, it's not needed for running.
- Update lower-constraints for osprofiler as required by
other dependencies.
Change-Id: I84ec7cae5b051bb9c69969d8ccaa28b053914840
We need this library to run unit tests
that depend on base classes in horizon.
See https://review.opendev.org/#/c/711195/
for the horizon change.
Change-Id: I39fcb629c44db156b3d59481b78f24338d494a7c
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Horizon requires pyScss>=1.3.7 [1] but lower-constraints.txt
in manila-ui uses pyScss 1.3.4 which can cause the
failure in future. So this patch update pyScss version in
lower-constraints.txt to sync the change.
[1] https://review.opendev.org/#/c/715241/
Change-Id: I534fd9201e400697875295af352d3d7fbc0de591
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Remove hacking and friends from lower-constraints, they are not
installed in a running system.
Change-Id: Ia62b221aa0807300eaee7b075607ac6b56256b76
As we add support to newer versions of the Manila
API, to allow newer features be used by UI consumers,
we need a newer version of the SDK.
Change-Id: Ia3f8a5c1cffd87e90c33e98700854f0aa1dd7041
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: Ide8df87a29eb94eb17ea9d132a1162f2915948ee
This patch adds basic tests to verify that manila-ui is
installed and could be opened.
manila-ui-integration-tests job is added in a
non-voting mode.
Depends-On: https://review.openstack.org/634712
Change-Id: I67e876a5cb26637b62225fc854a906dc1a714e76
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: Ic462de67d57ad96887bd321323b8ff88d2c71185
As of horizon 14.0.0.0b2 or later the use_mox directive is
unecessary so we can remove it.
So remove it from the manila-ui and bump the requirements to b2.
Change-Id: I90b62737f6af94bec7d374742148cea480d65c99
Signed-off-by: Chuck Short <chucks@redhat.com>
... or at least the first published tarball which will lead to Rocky.
On the other side this means forcing the usage of mox as long as
there are tests that depends on it (the switch was already flipped
in Horizon, so it needs to be enabled here).
This allows us to depend on newer Horizon features, including changes
to the test suite that are useful for the mox removal effort.
Also remove mox since there are no unit tests that need it.
Change-Id: Ia8e0d5512f11e3d191ca2f6259075e35490290c2
Signed-off-by: Charles Short <zulcss@gmail.com>
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.
Note that manila-ui does not support python3 yet so lower-constraints
env uses python2 unlike other projects.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Ia808cae058ab5d7bd5435ad57543eb8b9bcc96db
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Signed-off-by: Akihiro Motoki <amotoki@gmail.com>