Commit Graph

20 Commits

Author SHA1 Message Date
Ghanshyam Mann 68294505b1 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: I81024f02006206ea1d58e47d81a6f473ef148c32
2022-04-30 20:19:12 -05:00
Goutham Pacha Ravi 4f6acc28f5 Update python-manilaclient and horizon required
We need a newer version of the SDK to enable
features supported by newer API versions. While
this commit doesn't enable new features, future
commits will; so bumping up the required SDK
version is a necessary predecessor. Using 2.7.0
gives us access to API versions upto 2.63.
Version 2.7.0 was released in June 2021. [1][2]

Horizon 18.3.1 is off of the stable/ussuri release
of horizon, shipped in Apr 2020 [3]

[1] https://lists.openstack.org/pipermail/release-announce/2021-June/011255.html
[2] https://docs.openstack.org/releasenotes/python-manilaclient/xena.html#relnotes-2-7-0-stable-xena
[3] https://review.opendev.org/c/openstack/releases/+/721047
Change-Id: I100a1ec20a0c59c0a7023136e0eab7a0b63b6709
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2022-02-23 13:34:35 -08:00
Dina Saparbaeva 275c132fd5 Update requirements
pip 20.3 brings in a strict dependency resolver which
is enabled by default. This causes our lower-constraints
tests to fail, because the requirement files were out
of date from reality - they had conflicting requirements
which previous versions of pip were ignoring. Let's catch
up package versions to newer ones that are supported in
the python runtimes that the Wallaby release will be
deployed to.

[1] http://pyfound.blogspot.com/2020/11/pip-20-3-new-resolver.html
[2] https://pip.pypa.io/en/stable/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020

Change-Id: I6ddd11535e9365e8b55a6829967b886c2253d6f0
2020-12-31 20:48:15 -03:00
Ghanshyam Mann 5831bc91f6 [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
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
2020-08-02 19:29:28 +00:00
Andreas Jaeger 62031d8a7c 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.

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
2020-05-21 14:01:02 +02:00
Goutham Pacha Ravi d064975150 Drop install_command usage in tox
Use the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

See discussion on the openstack-discuss ML [1]
for the complete context.

Adjust the python-keystoneclient library requirement
to the minimum required by horizon.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014237.html

Change-Id: I6344f44fb955d631a4f0a13fa53ecc19826c7ea6
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-04-22 19:31:23 -07:00
Goutham Pacha Ravi 3382ce81f6 Remove mock from requirements
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>
2020-04-17 15:02:36 -07:00
Andreas Jaeger 4d19dcd9ea Cleanup py27 support
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
2020-04-17 22:28:25 +02:00
Goutham Pacha Ravi a2dcb0e4eb Add pytest to test-requirements
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>
2020-04-14 17:19:00 -07:00
Zuul 109c90cd7c Merge "Fix pyScss version in lower-constraints.txt" 2020-04-06 13:16:44 +00:00
manchandavishal 97e3fa8d39 Fix pyScss version in lower-constraints.txt
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
2020-04-04 16:08:00 +00:00
Andreas Jaeger ca070fe479 Update hacking for Python3
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
2020-04-01 13:37:50 +02:00
Goutham Pacha Ravi 4f307a773d Raise python-manilaclient req to 1.29.0
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
2020-02-10 14:03:48 -08:00
manchandavishal dcf276d829 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: Ide8df87a29eb94eb17ea9d132a1162f2915948ee
2020-01-01 20:48:13 +00:00
pengyuesheng 55e42a390e Modify the url of upper_constraints_file
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I3811ffd422107dcf05f79fce01482e432aed0b5c
2019-07-02 11:09:32 +08:00
Ivan Kolodyazhny 019526b5f8 Add manila-ui integration tests
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
2019-02-07 10:07:26 +00:00
Akihiro Motoki c63b745776 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.

Change-Id: Ic462de67d57ad96887bd321323b8ff88d2c71185
2018-08-17 00:49:09 +09:00
Chuck Short 1ef104519d Remove use_mox directive
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>
2018-08-04 12:08:04 +00:00
Charles Short 0969553276 Require the (soon-to-be) Rocky version of Horizon
... 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>
2018-05-14 07:48:29 -04:00
Doug Hellmann cdf90f2f34 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.

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>
2018-04-22 09:46:45 +09:00