Skip to content

Commit f81381c

Browse files
authored
Fix dependencies for test utils (open-telemetry#2587)
1 parent e280a8a commit f81381c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: tests/opentelemetry-test-utils/setup.cfg

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ packages=find_namespace:
4040
install_requires =
4141
opentelemetry-api ~= 1.3
4242
opentelemetry-sdk ~= 1.3
43+
asgiref ~= 3.0
4344

4445
[options.extras_require]
45-
test = flask~=2.0
46+
test =
4647

4748
[options.packages.find]
4849
where = src

Diff for: tox.ini

+3
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ commands_pre =
198198
python -m pip install -e {toxinidir}/opentelemetry-api[test]
199199
python -m pip install -e {toxinidir}/opentelemetry-semantic-conventions[test]
200200
python -m pip install -e {toxinidir}/opentelemetry-sdk[test]
201+
# Pin protobuf version due to lint failing on v3.20.0
202+
# https://github.com/protocolbuffers/protobuf/issues/9730
203+
python -m pip install protobuf==3.19.4
201204
python -m pip install -e {toxinidir}/opentelemetry-proto[test]
202205
python -m pip install -e {toxinidir}/tests/opentelemetry-test-utils[test]
203206
python -m pip install -e {toxinidir}/shim/opentelemetry-opentracing-shim[test]

0 commit comments

Comments
 (0)