Commit Graph

13 Commits (master)

Author SHA1 Message Date
Takashi Kajinami 7da98c0e3f Remove note about old pip behavior
The note is no longer valid since pip 20.3 introduced the new
dependency resolver.


Change-Id: I836405aeb9863b11630eedc3955e22e353ceee90
2023-06-20 10:04:10 +09:00
Ghanshyam Mann 866d4bbcc5 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.


Change-Id: I7dc431aea5d800f000826cb371c4f1e1c89dc302
2022-05-24 14:05:08 +09:00
manchandavishal 68f5d8c494 Fixed Unit test for Heat-dashboard
After 7052b7f065 merged in openstack/horizon a new Unit
test class introduced in horizon i.e. RestAPITestCase.
This patch updates heat-dashboard to import RestAPITestCase
class instead of TestCase. For more info. see [1]

It also update few packages version in lower-constraints.txt and
other files to fix lower-constraints job.


NOTE: py36 support has been dropped for Zed, so py36 UT no longer works
with upper-constraints for Zed. Thus, the zuul job template is updated
for Zed in this commit together. This commit also needs to be backported
to stable/yoga to fix the UT. When backported, make sure not to include
the zuul template change for Zed.

Co-Authored-By: Akihiro Motoki <>
Change-Id: I81241b2225f1e8b7b38f8f03928d5b4c0b4c8094
2022-05-24 00:42:38 +09:00
Akihiro Motoki bd68639408 Use unittest.mock instead of third party mock
horizon recently switched from the third-party mock to unittest.mock.
This breaks heat-dashboard unit tests somehow.
We no longer support py27 and we can use the standard library
unittest.mock module. Rather than investigating the cause of
the failure, it would be nice to switch to unittest.mock.

horizon dependency is updated to 18.3.1 as unittest.mock is used
since 18.3.0 and 18.3.0 has an issue that it always requires pytest.
lower-constraints is updated to match horizon requirements.

hacking local-check-factory is disabled temporarily due to
the incompatibility with hacking 2.0 or later. will recover it.

Change-Id: I517d6d7d36410c64bf48ad958b3e2115725a6491
2020-04-21 04:56:58 +09:00
manchandavishal 6b1e864318 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].

Change-Id: Ie197efeb0080c5ad7f223823ff8b1888ff7dc0de
2020-01-21 08:08:19 +01:00
Akihiro Motoki be8e3372aa 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 is required at least.

Change-Id: I25cb4aa6558c599d3c1e334c5281dcb6ca7e3b9f
2018-08-17 01:06:34 +09:00
irisayame 9c8eed7eda Replace embedded static files with XStatic-*
Remove embedded js/css, add reference in settings,
 add requirement xstatic libs.

Change-Id: I3424e3f965f65eeb4ddcef18a69a7b33918d8a09
Task: #18882
Story: #1753919
2018-07-09 16:02:37 +09:00
Charles Short 340c2b9323 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.

Change-Id: Ibf41998cb154c5170e8038f5b2708c928b68b8b4
Signed-off-by: Charles Short <>
Story: #2002037
Task: #19678
2018-06-05 02:14:18 +00:00
OpenStack Proposal Bot 7fbb63e2e8 Updated from global requirements
Change-Id: I5fa33e0f658001cea535df8e72d15fbba4f2969c
2018-03-20 13:57:45 +00:00
Andreas Jaeger 0525d28767 Avoid
Instead of using, we can install horizon and neutron
now directly from pypi - or use the current branch in CI system using

Update tox.ini for this change and add horizon to requirements file.

Change-Id: I898fb222f5b36714c61e60c222e8b57ddea99df6
2018-03-20 09:42:20 +01:00
OpenStack Proposal Bot e1650a0daf Updated from global requirements
Change-Id: I240fa4f416719d5424e74d889a1df6065cdc01e3
2017-11-15 11:43:53 +00:00
Keiichi Hikita ad9eba2e20 Add initial files as devstack settings/documents/requirements.
Change-Id: I79e42375151d06dd93a7529b7c6b6c25eafa68df
2017-10-31 15:58:55 +09:00
Keiichi Hikita e63ec107c5 add initial files. 2017-10-06 14:46:17 +09:00