Commit Graph

16 Commits

Author SHA1 Message Date
Ghanshyam Mann 4c63756e4b Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I54657ef425f274cc6ed860b3600652dfd2c03438
2022-05-11 09:55:21 +00:00
manchandavishal a09bcb0623 Update lower-constraints for new pip
This patch bump a series of lower-constraints and
requirements to work with new pip resolver. For
more information please refer [1]. It also fix some
pep8 issues.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019285.html

Change-Id: I0ce1e41b6e064866ef1e5e7cf8c55bb8a2cc5963
2020-12-23 13:24:13 +00:00
Ghanshyam Mann 6fa4868a77 [goal] Migrate testing to ubuntu focal
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
2020-08-04 10:33:24 +00:00
Hervé Beraud 8b3bf823f6 drop mock from lower-constraints
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
2020-06-09 01:20:49 +02:00
Andreas Jaeger 147272b172 Switch to newer openstackdocstheme and reno versions
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
2020-05-21 16:16:20 +02:00
manchandavishal fd677c302a Add pytest requirement to fix jobs
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
2020-04-17 07:22:46 +00:00
manchandavishal eac2461a80 Fix pyScss version in lower-constraints.txt
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
2020-04-01 18:22:17 +00:00
manchandavishal 417f606dcc Drop Django 1.11 support
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
2020-01-01 21:00:16 +00:00
Simon Merrick 0bfd85d4c1 Add ui for resizing clusters
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
2019-12-12 11:48:16 +13:00
jacky06 74a312d6ed Update json module to jsonutils
oslo project provide jsonutils, and magnum use it in many place[1],
this PS to update the remained json module to oslo jsonutils for
consistency.

[1]: https://github.com/openstack/magnum/search?utf8=%E2%9C%93&q=jsonutils&type=

Change-Id: I06910797c44c2b1bd2297d4398da9ab984a8f770
2019-03-06 15:32:52 +08:00
Shu Muto 9721b495be Bump horizon for Stein
Change-Id: I77b9c41cf32fdd0a041bd2a863adbe7feb9207fb
2018-12-21 10:14:47 +09:00
Shu Muto f2f3e9ec71 Remove mox3 from doc/requirements.txt
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
2018-08-22 10:36:37 +09:00
Akihiro Motoki 1676384c03 Drop nose dependencies
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
2018-08-17 01:30:59 +09:00
Akihiro Motoki 530ba016ad Follow the new PTI for document build
Comment 7887b3f41a invented a wrong
way which violates the recent PTI. This commit clean them up and
follow the new PTL for documentation build.

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

pbr autodoc is now converted into sphinxcontrib-autodoc.
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129147.html

Change-Id: I158440ef40426593981774307af982028573042b
2018-05-01 23:18:01 +09:00
Akihiro Motoki 22ebfedbbe Bump min version of magnumclient
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
2018-04-22 11:38:52 +09:00
Doug Hellmann 70c99a9449 add lower-constraints job
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>
2018-03-22 15:13:47 -04:00