Skip to content

Commit 235dcc5

Browse files
authored
[Core] Remove opencensus dev dependencies (Azure#39453)
Signed-off-by: Paul Van Eck <[email protected]>
1 parent ea336c4 commit 235dcc5

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

sdk/core/azure-core/dev_requirements.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ requests
33
# Aiohttp 3.8.6 triggers https://github.com/aio-libs/aiohttp/issues/4581 on pypy for some reasons
44
aiohttp<3.8.6 ; platform_python_implementation == "PyPy"
55
aiohttp ; platform_python_implementation != "PyPy"
6-
opencensus>=0.6.0
7-
opencensus-ext-azure
8-
opencensus-ext-threading
96
-e ../../../tools/azure-sdk-tools
107
-e tests/testserver_tests/coretestserver
118
pytest-trio
129
azure-storage-blob
13-
azure-data-tables
10+
azure-data-tables

sdk/core/azure-core/tests/conftest.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,6 @@
3434
from rest_client import MockRestClient
3535
import sys
3636

37-
# If opencensus is loadable while doing these tests, register an empty tracer to avoid this:
38-
# https://github.com/census-instrumentation/opencensus-python/issues/442
39-
try:
40-
from azure.core.tracing.ext.opencensus_span import OpenCensusSpan
41-
from opencensus.trace.tracer import Tracer
42-
43-
Tracer()
44-
except ImportError:
45-
pass
46-
4737

4838
def is_port_available(port_num):
4939
req = urllib.request.Request("http://localhost:{}/health".format(port_num))

0 commit comments

Comments
 (0)