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
- bug#1886296
Bump the lower constraints for required deps which added python3.8
support in their later version.
Bump the pyflakes to 2.1.1 as min version to run pep8 jobs
on py3.8 which is default python vesion in ubuntu focal.
Story: #2007865
Task: #40193
Closes-Bug: #1886298
Closes-Bug: #1886296
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal
Change-Id: I3c535fc21dddce6e07817c9af8016fb407d9ed31
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.
These changes will help us to drop `mock` from openstack/requirements
Change-Id: I3debdfe332a5d6374eccb0c99bef29703fc2700c
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.
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: I9a27209ebe8067b6681105dfedd51e45991fb2b0
Recently horizon added pytest d6fe0170ee2bc14eab27f8bdf0deb57706b85bb7
which causes the job failure here. This patch adds the pytest in
the 'lower-constraints.txt' and 'test-requirements.txt' to fix
gate.
Change-Id: Iebc13eabb514377d7efd02391d20d2e6e14b451c
Horizon requires pyScss>=1.3.7 [1] but lower-constraints.txt
in magnum-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: I09c33697cf934fc34313ad7e8b4e4bed336eca4e
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: Iea3bfeba70fc91c4c5b3f5741111dcd5afa5b324
Create new row action on clusters panel
Create new modal form for resizing cluster:wq
Create REST endpoint for resizing cluster
Bump python-magnumclient lower constraint
Add heatclient lower constraint
Change-Id: I591d4e6ebe85adac0bcefb3f95b1a7d2abf0ba88
Dependency for mox3 is fully removed. So this patch removes mox3
dependency from doc/requirements.txt
This should be cherry-picked into stable/rocky branch.
Change-Id: Iaa6c091a8934a6814ef1e6975916e7caebf47f2a
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.
Also drops unnecessary Django dependencies. There is no need to
install Django explicitly as it is a horizon dependency.
Babel is dropped from the same reason.
Change-Id: I8bc25f8530f25cdb0519bd611812379ef183fca1
magnum-ui depends on cluster_templates and quotas.
To satisfy this magnumclient 2.6.0 or later is required.
Also fixes lower-constraints.txt to match correct min versions
as the original script has a bug and proposed wrong versions
as minimum constraints.
Change-Id: I2c0e28ffb722fbd7aaaf8828eb269a736a1168f9
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: I530d7fced04c8e6668e92ed5feb78ae3a863979c
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>