The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found by updated hacking version.
Remove hacking and friends from lower-constraints, they are not needed
for co-installing.
Change-Id: Ibef3bbaceb61612d678c542bc8c95da24a7e2c87
In order to make monasca-ui python3 compatible this
patch set:
- Add six to requirements.txt
- Add py35 to tox.ini
- Replace dict.iteritems() with six.iteritems(dict)
- Replace prit msg with print(msg)
- Replace unicode with six.text_type(msg)
- Replaces urlparse with six.moves.urllib
- Python 3 getting the keys() of a dict returns
a dict_keys object instead of a list
- python 2.x calling keys makes a copy of the key
that you can iterate over while modifying the dict.
This doesn't work in python 3.x because keys
returns an iterator instead of a list.
Another way is to use list to force a copy of the keys
to be made.
Story: 2000975
Task: 4129
Signed-off-by: Charles Short <zulcss@gmail.com>
Change-Id: Ibc644a734edceea0b36f2df2c73300d1e4db925f
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: Ife02518fce62083661bf06c0fb98e683c5c3d311
Previously taken approach, where python-monascacient, is installed
from the Zuul reference or master made the new ZuulV3 based
tox gates failing.
Change-Id: I864a83862958ec21a681254d7c7a0efb72cf194a
In overall following change adjustes monasca-ui code to the
shape of the python-monascaclient (integrated with osc-lib,
see Depends-On for details).
Extra:
- added profiling capabilities
- added caching of client instances
- installing master python-monascaclient for test purposes
- supporting installing python-monascaclient if specified via Depends-On
Depends-On: I1712a24739438e2d8331a495f18f357749a633c5
Change-Id: I01d0f3d9814376f9358feb23494e1ca5231aedac
Sync tools/tox_install.sh with python-openstackclient. This brings in
the following improvements:
* Do not leave temporary directory around, instead delete temporary
directory directly after usage (change
I939eae82dba3287fd4e4086128ebf4609a0e0770).
* Do not set ZUUL_BRANCH explicitely and remove unused if condition
(change I0077c986a17d6bb92791474e03d1e77776e9382f).
Change-Id: Ie56634fcb4dcf670510771efffccb4214c87359c
Adding constraints support to clients is slightly more complex than
services as the clients themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.
This change adds constraints support by also adding a helper script to
edit the constraints to remove monasca-ui.
Change-Id: Ie2f4e3ed3e309b1176ec8bffa5466da25345fd64
- Update horizon version
- Remove --upgrade option in venv installer and tox.ini
- Freeze oslo libs versions
Change-Id: I4b6697cba20699da59af8f9cc7440a669d9f0c6e