File tree Expand file tree Collapse file tree 4 files changed +30
-1
lines changed Expand file tree Collapse file tree 4 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ commands:
2020 virtualenv --python=python2.7 --always-copy venv
2121 . venv/bin/activate
2222 pip install 'wheel>=0.29.0'
23+ # Install pinned verison of proobuf first,
24+ # as opentracing in the core requirements
25+ # would pull in a newer one
26+ pip install 'protobuf<4.0.0'
2327 pip install -r requirements.txt
2428 pip install -r <<parameters.requirements>>
2529
@@ -257,7 +261,6 @@ jobs:
257261 working_directory : ~/repo
258262 steps :
259263 - checkout
260- - install-couchbase-deps
261264 - pip-install-deps-27 :
262265 requirements : " tests/requirements-cassandra.txt"
263266 - run :
Original file line number Diff line number Diff line change @@ -19,6 +19,14 @@ PyMySQL[rsa]>=0.9.1
1919pyOpenSSL>=16.1.0;python_version<="2.7"
2020psycopg2>=2.7.1
2121pika>=1.0.0
22+
23+ # protobuf is pulled in and also `basictracer`, a core instana dependency
24+ # and also by google-cloud-storage
25+ # but also directly needed by tests/apps/grpc_server/stan_pb2.py
26+ # when protobuf is above 4.0.0 the following error happens:
27+ # ERROR: Package 'protobuf' requires a different Python: 2.7.16 not in '>=3.7'
28+ protobuf<4.0.0
29+
2230pymongo>=3.7.0
2331pyramid>=1.2
2432pytest>=4.6
Original file line number Diff line number Diff line change @@ -29,6 +29,15 @@ nose>=1.3.7
2929PyMySQL[rsa]>=1.0.2
3030psycopg2-binary>=2.8.6
3131pika>=1.2.0
32+
33+ # protobuf is pulled in and also `basictracer`, a core instana dependency
34+ # and also by google-cloud-storage
35+ # but also directly needed by tests/apps/grpc_server/stan_pb2.py
36+ # On 4.0.0 we currently get:
37+ # AttributeError: module 'google._upb._message' has no attribute 'Message'
38+ # TODO: Remove this when support for 4.0.0 is done
39+ protobuf<4.0.0
40+
3241pymongo>=3.11.4
3342pyramid>=2.0
3443pytest>=6.2.4
Original file line number Diff line number Diff line change @@ -17,6 +17,15 @@ nose>=1.3.7
1717PyMySQL [rsa ]>= 1.0.2
1818psycopg2-binary >= 2.8.6
1919pika >= 1.2.0
20+
21+ # protobuf is pulled in and also `basictracer`, a core instana dependency
22+ # and also by google-cloud-storage
23+ # but also directly needed by tests/apps/grpc_server/stan_pb2.py
24+ # On 4.0.0 we currently get:
25+ # AttributeError: module 'google._upb._message' has no attribute 'Message'
26+ # TODO: Remove this when support for 4.0.0 is done
27+ protobuf < 4.0.0
28+
2029pymongo >= 3.11.4
2130pyramid >= 2.0
2231pytest >= 6.2.4
You can’t perform that action at this time.
0 commit comments