Skip to content

Commit ae42ad1

Browse files
authored
Temp fix for opencensus missing dependency on six (open-telemetry#3433)
1 parent 3a651c7 commit ae42ad1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

shim/opentelemetry-opencensus-shim/pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ dependencies = [
3636
test = [
3737
"opentelemetry-test-utils == 0.42b0.dev",
3838
"opencensus == 0.11.1",
39+
# Temporary fix for https://github.com/census-instrumentation/opencensus-python/issues/1219
40+
"six == 1.16.0",
3941
]
4042

4143
[project.urls]

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ commands_pre =
166166
opentracing-shim: pip install {toxinidir}/shim/opentelemetry-opentracing-shim
167167

168168
opencensus-shim: pip install {toxinidir}/opentelemetry-sdk
169-
opencensus-shim: pip install {toxinidir}/shim/opentelemetry-opencensus-shim
169+
opencensus-shim: pip install {toxinidir}/shim/opentelemetry-opencensus-shim[test]
170170

171171
exporter-prometheus: pip install {toxinidir}/exporter/opentelemetry-exporter-prometheus
172172

@@ -299,6 +299,8 @@ commands =
299299
[testenv:docker-tests-proto{3,4}]
300300
deps =
301301
pytest
302+
# Pinning PyYAML for issue: https://github.com/yaml/pyyaml/issues/724
303+
PyYAML == 5.3.1
302304
docker-compose >= 1.25.2
303305
requests < 2.29.0
304306

0 commit comments

Comments
 (0)