Commit Graph

3 Commits

Author SHA1 Message Date
Andreas Jaeger 8c911c6dce Avoid tox_install.sh for constraints support
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.

This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.

Change-Id: I614992cea6044be9ca21f4f18ceef92b282dfff1
2017-12-02 16:58:21 +00:00
Andreas Jaeger 75b3276529 Sync tools/tox_install.sh
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: Ia82bd33c30dee308fea32dd5b7156d724f040172
2016-08-30 19:54:43 +02:00
zhurong 157ae8c905 Use upper-constraints in tox test environments
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.

The releasenotes job has no constraints file, so override the install
command there.

Change-Id: I531606ce2ed981bddc618dac046ab081de2805eb
Partial-bug: #1598906
2016-07-07 11:14:10 -04:00