blob: 9a7e6b095a3ce14ef7fc5d22d8125d781323da33 [file] [log] [blame]
Peter Pentchev469dfea2022-06-27 12:48:18 +03001#!/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.
17pip install 'pip<20.3' 'setuptools<50.0.0'
18pip "$@"