Commit Graph

4 Commits

Author SHA1 Message Date
Andreas Jaeger
3795c3fe35 Improve tools/tox_install.sh
Inspired from the tox_install script in the python-openstackclient, this
commit brings in the following improvements to glance_store's
tools/tox_install.sh:

* 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: I1dfa42eac22f3f9515d69146a25c4f96e55523e4
2016-08-30 20:40:41 +02:00
yuyafei
19d8df31fd Replace dict.iterkeys with six.iterkeys to make PY3 compatible
Python3 do not use dict.iterkeys, which would raise AttributeError:
'dict' object has no attribute 'iterkeys'.

Change-Id: I97e320eac9f2f0b2cb5cf34a1d3fc57e80e440ed
Closes-Bug: #1596124
2016-06-28 11:54:43 +00:00
Nikhil Komawar
ea4483c0bf tox respects upper-constraints.txt
This will force pip install to use the upper-constraints.txt specified
version of pip modules. When you don't do this, you are out on the
bleeding edge and become unstable everytime some python library in the
wide world changes in a way that you don't expect.

There are a few 'post' jobs as Andreas has mentioned on this review,
that have the install_command overridden (until that will be supported
in upstream infra).

This change has been inspired by
Ie1133e4c020106e8098685ba9125f84b356d8e0c , notes from jaegerandi in the
openstack/glance's tox.ini file and Ihar's python-neutronclient's fix
I33302cdcab980a42c39dc9ec1e430add459615ff

Change-Id: I1f8be8184683c9a3671f750ebaa87c38163c9795
Closes-Bug: 1563038
2016-06-03 11:59:23 -05:00
Brian D. Elliott
5bfe34f744 Add a run_tests.sh
An alternative to running tox, similar to other repos like glance and
nova.

Change-Id: I0dbab69dbfed2186b0c45036718081abed56d689
2014-09-17 16:05:17 +00:00