Commit Graph

28 Commits

Author SHA1 Message Date
Ghanshyam Mann d791f72d3f 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: Id1033264dea1d8b72ee49e33cc776d5dac6193b9
2022-04-30 20:25:10 -05:00
manchandavishal ced9789139 Bump decorator version in lower-constraints.txt
This patch update decorator version to 4.4.2 in
lower-constraints.txt to fix the lower-constraints job.
It also update horizon version in requiremnets.txt to
sync with horizon version in lower-constraints.txt.

Change-Id: Ifacecc79608df3d052679779bc7a9f1338d2d2f6
2021-09-17 12:47:19 +05:30
wangzihao c1ae54b120 Remove six
Remove six Replace the following items with Python 3 style code.
- six.text_type
- six.moves.urllib
- six.PY3

Change-Id: I8d2357e51d570e9e0513326248878fd0133144bb
Story: 2008305
Task: 41203
2020-11-03 11:21:10 +01:00
manchandavishal f8d3417d0b 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: I3cd4ad5c3fe590cb1522b2be1b2059d7c70b45cc
2020-01-02 19:40:26 +00:00
Witold Bedyk 36b30a74c1 Fix README.rst and add syntax check
Additionally:
* fix Zuul configuration for lower-constraints job
* raise lower bound for Horizon (due to mox3 removal)
* remove Django from requirements.txt (already included from Horizon)

Change-Id: I44d6cd7477ac0d318705077109b4dc233a5a37d8
Story: 2002163
Task: 24398
2018-08-08 18:04:12 +02:00
Martin Chacon Piza 999bfa2a05 Support Django 2.0
Change-Id: I559cfece3e696a83eee3cb9aeec22b6b65d34bfc
story: 2002191
task: 20064
2018-06-12 10:38:30 +02:00
Zuul 6b81870164 Merge "add lower-constraints job" 2018-04-11 09:45:01 +00:00
Doug Hellmann b526e21436 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

monasca-ui specific changes:
- Unlike other projects, monasca-ui does not support python3 unit tests yet.
  python2.7 is used as basepython. This should be updated to python3 later.
- Bump the the minimum version of python-monascaclient to 1.8.0
  to pass test_client unit tests.
- nose-exclude needs to bumped to 0.5.0 to run all existing unit tests.

lower-constraints.txt is modified to match the latest horizon requirements
https://review.openstack.org/#/c/555491/:
- unit tests fails with Django 1.8. It passes with Django 1.11.
  Horizon Rocky bumped the Django min version to >=1.11, so it makes sense
  to bump the Django min version to 1.11.
- django-babel needs to bumped to 0.6.2 to support Django 1.11 and 2.0.

https://review.openstack.org/555402 allows us to bump lower requirements.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Ifd967b598db259429cc83046ae88abaf3d50e081
Depends-On: https://review.openstack.org/555034
Depends-On: https://review.openstack.org/555402
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Signed-off-by: Akihiro Motoki <amotoki@gmail.com>
2018-04-10 16:42:22 +00:00
Zuul 39ded000eb Merge "Make monasca-ui python3 compatible" 2018-04-10 15:39:04 +00:00
Charles Short 4cfdc71d70 Make monasca-ui python3 compatible
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
2018-03-29 15:53:22 -04:00
OpenStack Proposal Bot d72c6e97ff Updated from global requirements
Change-Id: I47060569663a49bcb53ebdd9324551fa071ae849
2018-03-26 12:04:33 +00:00
OpenStack Proposal Bot c48050cc99 Updated from global requirements
Change-Id: Ibe3745b77c63f42067185cc8a4159ffb6460ca2a
2018-03-15 09:07:35 +00:00
Andreas Jaeger cc0af490cf 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: Ife02518fce62083661bf06c0fb98e683c5c3d311
2018-03-14 21:08:44 +01:00
OpenStack Proposal Bot f8cbd2e658 Updated from global requirements
Change-Id: I854587c7d2fcad3b827f5254e591e2cab6e84e41
2018-01-18 03:04:27 +00:00
OpenStack Proposal Bot dd6e09b01d Updated from global requirements
Change-Id: I3982c5c63a59757908dbbfef9ff51ae5763d8fa9
2017-10-25 04:25:10 +00:00
Tomasz Trębski 08b09b6f83 Make tox working for zuulv3
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
2017-10-24 09:30:58 +02:00
OpenStack Proposal Bot ed40464a1d Updated from global requirements
Change-Id: Iedc8e14ec8d4c228c26572a1df71caea2494127c
2017-08-04 06:38:15 +00:00
Artur Basiak 57ddc80d05 Fix monasca-ui forms
Fix problem with unexpected keyword argument 'name' for
build_attrs() from Django. 'name' was passed to the method
as a kwargs. **kwargs in build_attrs() were removed.
Pass 'name' in a dict.
In Django 1.10+ passing Context to render is deprecated and
gives an error, pass instead a dict.
Remove one assertContains from alarm definition create.
Tags in <input> where generated in random order every time
the gates run:
<input type="text" name="name" id="id_name" required maxlength="250" class="form-control" />
<input type="text" name="name" id="id_name" required class="form-control" maxlength="250" />
<input type="text" name="name" class="form-control" id="id_name" maxlength="250" required />

Change-Id: I2d39a10f08ac60c163f80cca3256a2bb24b4e0a2
Story: 2001133
Task: 4844
2017-08-01 11:02:04 +00:00
OpenStack Proposal Bot 91f7719951 Updated from global requirements
Change-Id: Iace5bd08c9c8ecef0d7700fb67d3493c6c9621cc
2017-07-13 12:40:56 +00:00
OpenStack Proposal Bot 2deb1ca238 Updated from global requirements
Change-Id: Ib8f5df6f49d6454ea9233b698faab3e987e61435
2017-04-18 16:49:28 +00:00
Dirk Mueller db90acbdd9 Sync from global-requirements
Being a horizon plugin, concurrent installability is important. This
module should sync from global-requirements. Syncing once manually
in preparation for adding a g-r sync.

Change-Id: I38516a2a2e1477891378c2058ba8dcb513f2fd2e
2016-12-04 03:35:57 +01:00
Witold Bedyk 8d333a729c Sync Django with Horizon requirement
https://github.com/openstack/horizon/blob/master/requirements.txt

Change-Id: Id780a7f6b1c59488314a2b1681314c540d500789
2015-12-17 08:56:50 +01:00
Michael James Hoppal f63a8930fc Grabbing the list_measurements when getting metrics_list
Change-Id: Ife32971ad0826aaa93d4a684f46c739f8ee774a3
2015-04-10 13:19:24 -06:00
eric 7b4c0a78e8 alarams graph link broken
this change also has a fair bit of pep8 cleanup

Change-Id: I469246014a45c62150ec6841d2001523f11a6063
Closes-Bug:  #1437457
2015-04-09 14:35:04 -06:00
Rob Raymond c9eb35865d Pare down requirements.txt to minimum
Change-Id: I4f4fc91658b375ee7af98de06c4f83be73961728
2014-11-04 09:16:57 -07:00
cindy oneill 13824be8e1 using python-monascaclient instead of old python-monclient
Change-Id: Ica2ca038cde5020cf64e84bce049b13b0a042633
2014-07-25 11:33:50 -06:00
Rob Raymond 48e19d9bbc Changes to work with api keystone. Changes for tests 2014-06-30 11:04:59 -06:00
Rob Raymond 125ee4b768 Enable unit and pep8 tests 2014-06-27 16:16:29 -06:00