Commit Graph

14 Commits

Author SHA1 Message Date
Rodolfo Alonso Hernandez 6eac211b03 Explicitly convert ``assertQuerysetEqual`` input parameters
Since [1], Django do not implicitly call ``repr()`` on the input
queries. It is needed to explicitly convert the input values
before comparing. This patch is present in Django 4.1.

This patch also bumps horizon to version 23.4.0. This version
contains [2], that bumped the required version of Django to 4.2.

[1]e2be307b3a
[2]https://review.opendev.org/c/openstack/horizon/+/905218

Closes-Bug: #2057914
Change-Id: I48ec7a57b9a9774ce0cd5853a6486c4acb7d9fb3
2024-03-14 15:11:02 +00:00
Ghanshyam Mann 106f64aaef 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: I083dd5453c6ec0d6d7f35159a8caee053166f860
2022-07-30 01:13:24 +09:00
Elod Illes 7f951c364b Fix lower constraints
To make the lower-constraints job pass the following changes need to be
made:
* bump decorator version, as newer setuptools removed use_2to3
  parameter support
* bump horizon version, as third party mock was removed and pytest was
  introduced. new horizon version involves need for newer XStatic-mdi
  as well

Change-Id: I046ea04f80f73405a33e3d24cbb809e0449b00fd
2022-03-31 16:10:57 +02:00
manchandavishal d409f50aaa 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: If78d9ce4206dae403f0cc03eb3c8601ba3bab752
2020-01-02 19:56:04 +00:00
Akihiro Motoki f0c89106fd Bump horizon lower-constraints
Change-Id: I2476c965605dc50373e5d17d6743dd4edf6f6bef
2018-12-17 05:57:10 +09:00
Akihiro Motoki eebb9946b1 Switch test runner to django default runner
nose is not actively maintained now and Django default test runner
seems to have enough features.

Also drops unnecessary python dependencies so that
the maintenance of requirements files easily.
There is no need to install Django explicitly as it is a horizon dependency.
testscenarios, testrepository, testtools are not used actually.

Depends-On: https://review.openstack.org/#/c/544296/
Change-Id: Ic360c181d1f3278957007fc7188560893cc5ed03
2018-06-11 08:37:50 +09:00
OpenStack Proposal Bot 200dc1c32a Updated from global requirements
Change-Id: I9edadc3db3b0c2ed9e72d45a95538bf4e15966f1
2018-03-26 12:09:14 +00:00
OpenStack Proposal Bot 8c63de3433 Updated from global requirements
Change-Id: Ic8f841552a20b6e6190134600ea5f04af49ddc85
2018-03-15 00:11:47 +00:00
Akihiro Motoki fb159c0d41 Avoid tox-install.sh
Instead of using tox-install.sh, we can install horizon and neutron
now directly from pypi - or use the current branch in CI system using
tox-siblings.

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

Change-Id: I114221774cf0e76774e9abfa26852fe3e9f8cb5d
2018-03-15 05:29:34 +09:00
OpenStack Proposal Bot 624719c84e Updated from global requirements
Change-Id: Ia0ece4afe40bff1525d578e6721055e1ebaf93a1
2018-02-14 12:16:42 +00:00
OpenStack Proposal Bot 7c0b975b30 Updated from global requirements
Change-Id: If911f2874a390067073d3950397859b0f11edfd5
2017-07-27 19:14:47 +00:00
OpenStack Proposal Bot 9336261cc4 Updated from global requirements
Change-Id: I0b4e1db4dca0c94a38722ac2ff2fc014c49fa545
2017-07-06 01:39:24 +00:00
Dirk Mueller 96051ca0f4 Manually sync with g-r
Change-Id: Ib79f03c4b90c8082794c48788fbb5bd06cc4469b
2017-06-28 22:48:49 +02:00
Akihiro Motoki 7fada8ebbf Initial commit 2017-05-20 08:39:06 +09:00