Commit Graph

62 Commits

Author SHA1 Message Date
Takashi Kajinami 5c150c8cf4 Bump hacking
hacking 3.1.x is too old.

Change-Id: I111e9aabea6470611b1eb1a83cbdc34d2f1e1c59
2024-01-27 23:34:44 +09:00
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
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
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 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 a150665d56 Remove six usage
This repo does not support Python 2 anymore, so we don't need
six for compatibility between Python2 and 3, convert six usage to Python
3 code.

Note that six.text_type is "str" in Python 3, so we can remove the
clause completly.

Change-Id: Icfb44404971b18ff865e28e551687707d52f3762
2020-01-15 00:29:16 +00: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
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
Akihiro Motoki 592d4ea699 Drop Django depdency from requirements.txt
Horizon depends on Django and manila-ui depends on horizon,
so we don't need to have Django dependency explicitly.
In Rocky cycle, horizon supports Django 2.x and manila-ui has not
followed it yet. It is a good chance to drop explicit Django dependency.

Change-Id: Idedf03bf2b34d4756eafd4d6694286e14e6eaa68
2018-08-04 21:05:44 +09: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
OpenStack Proposal Bot 8ba2d5f275 Updated from global requirements
Change-Id: I4016d3c5fb18ecc911c144504aad4c25824a60aa
2018-04-15 02:23:54 +00:00
Victoria Martinez de la Cruz 9ca03cd68c Add horizon to requirements
Change-Id: I6ae1575f44f7619341d3009423abc9230a865955
2018-03-15 15:46:30 -03:00
OpenStack Proposal Bot 47af9f04ac Updated from global requirements
Change-Id: Ie5753af381979b7975651e48cc26d9ea16195a78
2017-12-19 01:22:51 +00:00
Zuul 0c95273c87 Merge "Drop django_openstack_auth from requirements.txt" 2017-11-18 11:31:50 +00:00
OpenStack Proposal Bot dff468d1c6 Updated from global requirements
Change-Id: I2c29221e080af113d82297a2e840f1386dca6c27
2017-11-16 11:09:28 +00:00
Akihiro Motoki 8d55f925ad Drop django_openstack_auth from requirements.txt
django_openstack_auth has been merged into horizon tree
as an effort of blueprint merge-openstack-auth.
There is no need to depend on django_openstack_auth from now on.

Change-Id: I93f6365ccf661568b37ea9c737f8ce6115873739
2017-11-16 06:33:43 +00:00
OpenStack Proposal Bot ea7df50ac9 Updated from global requirements
Change-Id: Idbb650daaae5e685c5bbc3f8f3ec2b2c23092996
2017-11-12 20:59:39 +00:00
OpenStack Proposal Bot 149f491505 Updated from global requirements
Change-Id: I950c5e7dc9d13873d916a2f5f595f9b61e875872
2017-09-17 17:44:41 +00:00
OpenStack Proposal Bot f4a86046f8 Updated from global requirements
Change-Id: I0968955f19a21276cd28d2ad7fa69ca2c1e24b11
2017-07-29 21:45:55 +00:00
OpenStack Proposal Bot b999ecec2f Updated from global requirements
Change-Id: If97f3ee6a6eb0586f4f43bafaad8e9a1a0b1fad1
2017-07-20 13:16:27 +00:00
OpenStack Proposal Bot e5f5ee4cec Updated from global requirements
Change-Id: Iec4c5f054bc89e40b7b5330fe7dff19e423e16d1
2017-07-06 01:36:49 +00:00
OpenStack Proposal Bot 60fa6a763e Updated from global requirements
Change-Id: I57288c605047e84545c833c45cb3933697adf28d
2017-04-18 16:48:58 +00:00
OpenStack Proposal Bot 77c07d94ea Updated from global requirements
Change-Id: Ie71cb5ed85ebe1a87aae2dde3fe4ed7a51ddd7f8
2017-04-12 04:13:50 +00:00
OpenStack Proposal Bot fe08a0f494 Updated from global requirements
Change-Id: I4bcfa04c1bacb40f8385bdbfeacc6e3e379c94aa
2017-04-07 06:06:56 +00:00
OpenStack Proposal Bot df4f509077 Updated from global requirements
Change-Id: I42e655622d1b39471b9e70853c1603ad8864cefa
2017-03-02 11:46:45 +00:00
OpenStack Proposal Bot 82b0479e15 Updated from global requirements
Change-Id: I72ac8283686c356c783e70c9a8ae3cbba50a82e6
2017-01-25 20:22:36 +00:00
OpenStack Proposal Bot c65247457d Updated from global requirements
Change-Id: I0903983d1df097839a1e0ec14f88bab2b5310da6
2017-01-24 22:26:16 +00:00
OpenStack Proposal Bot 5b361feae0 Updated from global requirements
Change-Id: If57ce6fb4e0afd9020e25fd9ac5c31611b25032b
2016-12-02 17:11:23 +00:00
OpenStack Proposal Bot 98c5c840b2 Updated from global requirements
Change-Id: I0a006ee76c3ced7ce32c05f038258823c003b322
2016-11-09 04:17:12 +00:00
OpenStack Proposal Bot 34ff6423cd Updated from global requirements
Change-Id: If86c8f9333ca109f73992695439000132ac57fc5
2016-11-06 02:00:17 +00:00
OpenStack Proposal Bot d381cda5c5 Updated from global requirements
Change-Id: Ib0dcc2557ec8aba24720f3aeaf939776f7d50fa2
2016-10-21 00:43:58 +00:00
OpenStack Proposal Bot 31b89b7429 Updated from global requirements
Change-Id: I8f9c09e42979dc3a01395b63de0cab05bafefc3c
2016-10-19 03:52:25 +00:00
OpenStack Proposal Bot 7f0dc6aee4 Updated from global requirements
Change-Id: I90e93deb934fa1223aa5c4dfe86fb31ed4bb1b89
2016-08-18 23:44:50 +00:00
OpenStack Proposal Bot 770df8497c Updated from global requirements
Change-Id: I4c8f298d48afc8bed4817e948e32a73fe0701cf5
2016-08-11 18:12:05 +00:00
OpenStack Proposal Bot 4d65944c86 Updated from global requirements
Change-Id: I049a3a986ee1fd56971a3f2cb1ede5a05ca7e087
2016-07-29 02:29:31 +00:00
OpenStack Proposal Bot 2382916e3a Updated from global requirements
Change-Id: I4b0f9646a558f3b9705b293d3322b044c5f5c9e0
2016-07-19 15:26:31 +00:00
OpenStack Proposal Bot c5b0de864b Updated from global requirements
Change-Id: If20f2aec041c8793dae1b891e048a5ba411f6006
2016-07-09 19:21:42 +00:00
OpenStack Proposal Bot 4ce981cd9f Updated from global requirements
Change-Id: I8bf9a13f4b55f26087cc183cbebc80a5ced62151
2016-06-30 18:44:14 +00:00
OpenStack Proposal Bot 445a35c783 Updated from global requirements
Change-Id: I59dd20d8263399aac739f9860927b527522e8b58
2016-06-02 21:06:41 +00:00
OpenStack Proposal Bot be15605dae Updated from global requirements
Change-Id: I1dd97d330de84ca5e869cd0f91c9e84aafa67292
2016-05-31 03:01:40 +00:00
OpenStack Proposal Bot 6faab82743 Updated from global requirements
Change-Id: Ifc7194f539baa2c91f956eee57f3f6f1e14e8b21
2016-05-30 22:20:34 +00:00
OpenStack Proposal Bot 42b6b1b514 Updated from global requirements
Change-Id: I4425d866c12a20492687c0dbf8de00363f3c6dfc
2016-05-18 20:23:21 +00:00
Valeriy Ponomaryov e07d64aedf Fix mocks in unit tests
Use only local mocks and add assertions with expected
amount of calls and used attributes. Remove dead code that was
carried over from Cinder-related logic.

Also, use 'memoized' decorator to avoid redundant API calls.

Change-Id: I82ae8c484e709b93862219a4d36180239aadd234
Closes-Bug: #1575747
2016-05-18 09:00:31 +00:00
Valeriy Ponomaryov dac67a96b4 Remove redundant API calls from admin dashboard
Manila UI has two dashboards - "project" and "admin". Each of them
contains several different tabs that are loaded at once.
"admin" dashboard adds "project_name" to table rows and
takes list of projects from Keystone to perform mapping of ID-Name.

Now, it takes list of projects for each tab separately - 5 times.
It is redundant.
Make it do only one such call and reuse it among tabs.

Also, fix usage of mocked objects in unit tests making them be
mocked only for single test.

Change-Id: I01e7283ff18fe403c86c54982269893c1397a98f
Partial-Bug: #1575747
Closes-Bug: #1575660
2016-05-18 11:32:27 +03:00
OpenStack Proposal Bot a00917bace Updated from global requirements
Change-Id: I2d591985ade4129c3339e61567d93524a636877c
2016-05-17 02:58:08 +00:00
OpenStack Proposal Bot a32e0d29b0 Updated from global requirements
Change-Id: I2e77f4cbb85a0e920bfa394cf021d55215d9eba5
2016-05-10 18:38:11 +00:00
OpenStack Proposal Bot 144d73702d Updated from global requirements
Change-Id: Icc9d550427113c972996116e1416601ca97644b4
2016-05-04 22:08:32 +00:00