Skip to content

Commit e7f8372

Browse files
committed
fix(ci): Limit pika, pip and setuptools to 2.7 compatible versions
Signed-off-by: Ferenc Géczi <[email protected]>
1 parent 5f27bd4 commit e7f8372

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ commands:
1616
command: |
1717
rm -rf venv
1818
export PATH=/home/circleci/.local/bin:$PATH
19-
pip install -U pip setuptools virtualenv wheel
19+
pip install -U 'pip<21.0.0' 'setuptools<58' virtualenv wheel
2020
virtualenv --python=python2.7 --always-copy venv
2121
. venv/bin/activate
2222
pip install 'wheel>=0.29.0'

tests/requirements-27.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ nose>=1.0
1818
PyMySQL[rsa]>=0.9.1
1919
pyOpenSSL>=16.1.0;python_version<="2.7"
2020
psycopg2>=2.7.1
21-
pika>=1.0.0
21+
22+
# Pika 1.3.0 already depends on 'setuptools>=61.2' which is doesn't support python 2.7
23+
pika>=1.0.0,<1.3.0
2224

2325
# protobuf is pulled in and also `basictracer`, a core instana dependency
2426
# and also by google-cloud-storage

0 commit comments

Comments
 (0)