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
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
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
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
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