Peter Pentchev | 469dfea | 2022-06-27 12:48:18 +0300 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # This file is managed centrally by release-tools and should not be modified |
| 4 | # within individual charm repos. See the 'global' dir contents for available |
| 5 | # choices of tox.ini for OpenStack Charms: |
| 6 | # https://github.com/openstack-charmers/release-tools |
| 7 | # |
| 8 | # setuptools 58.0 dropped the support for use_2to3=true which is needed to |
| 9 | # install blessings (an indirect dependency of charm-tools). |
| 10 | # |
| 11 | # More details on the beahvior of tox and virtualenv creation can be found at |
| 12 | # https://github.com/tox-dev/tox/issues/448 |
| 13 | # |
| 14 | # This script is wrapper to force the use of the pinned versions early in the |
| 15 | # process when the virtualenv was created and upgraded before installing the |
| 16 | # depedencies declared in the target. |
| 17 | pip install 'pip<20.3' 'setuptools<50.0.0' |
| 18 | pip "$@" |