diff --git a/shim/opentelemetry-opencensus-shim/pyproject.toml b/shim/opentelemetry-opencensus-shim/pyproject.toml index b8e0c66b397..8bb53324635 100644 --- a/shim/opentelemetry-opencensus-shim/pyproject.toml +++ b/shim/opentelemetry-opencensus-shim/pyproject.toml @@ -36,6 +36,8 @@ dependencies = [ test = [ "opentelemetry-test-utils == 0.42b0.dev", "opencensus == 0.11.1", + # Temporary fix for https://github.com/census-instrumentation/opencensus-python/issues/1219 + "six == 1.16.0", ] [project.urls] diff --git a/tox.ini b/tox.ini index ce37337290c..4bb52cdc666 100644 --- a/tox.ini +++ b/tox.ini @@ -166,7 +166,7 @@ commands_pre = opentracing-shim: pip install {toxinidir}/shim/opentelemetry-opentracing-shim opencensus-shim: pip install {toxinidir}/opentelemetry-sdk - opencensus-shim: pip install {toxinidir}/shim/opentelemetry-opencensus-shim + opencensus-shim: pip install {toxinidir}/shim/opentelemetry-opencensus-shim[test] exporter-prometheus: pip install {toxinidir}/exporter/opentelemetry-exporter-prometheus @@ -299,6 +299,8 @@ commands = [testenv:docker-tests-proto{3,4}] deps = pytest + # Pinning PyYAML for issue: https://github.com/yaml/pyyaml/issues/724 + PyYAML == 5.3.1 docker-compose >= 1.25.2 requests < 2.29.0