Skip to content

Commit 7d8731c

Browse files
authored
Remove [test] package from opentelemetry-opencensus-shim (#3740)
Fixes #3718
1 parent 8517e88 commit 7d8731c

File tree

3 files changed

+39
-10
lines changed

3 files changed

+39
-10
lines changed

shim/opentelemetry-opencensus-shim/pyproject.toml

-6
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ dependencies = [
3232
]
3333

3434
[project.optional-dependencies]
35-
test = [
36-
"opentelemetry-test-utils == 0.45b0.dev",
37-
"opencensus == 0.11.1",
38-
# Temporary fix for https://github.com/census-instrumentation/opencensus-python/issues/1219
39-
"six == 1.16.0",
40-
]
4135

4236
[project.urls]
4337
Homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/shim/opentelemetry-opencensus-shim"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
cachetools==5.3.3
4+
certifi==2024.2.2
5+
charset-normalizer==3.3.2
6+
Deprecated==1.2.14
7+
flaky==3.7.0
8+
google-api-core==2.17.1
9+
google-auth==2.28.1
10+
googleapis-common-protos==1.62.0
11+
grpcio==1.62.0
12+
idna==3.6
13+
importlib-metadata==6.11.0
14+
iniconfig==2.0.0
15+
opencensus==0.11.1
16+
opencensus-context==0.1.3
17+
opencensus-proto==0.1.0
18+
packaging==23.2
19+
pluggy==1.4.0
20+
protobuf==3.20.3
21+
py==1.11.0
22+
py-cpuinfo==9.0.0
23+
pyasn1==0.5.1
24+
pyasn1-modules==0.3.0
25+
pytest==7.1.3
26+
pytest-benchmark==4.0.0
27+
requests==2.31.0
28+
rsa==4.9
29+
six==1.16.0
30+
tomli==2.0.1
31+
typing_extensions==4.10.0
32+
urllib3==2.2.1
33+
wrapt==1.16.0
34+
zipp==3.17.0
35+
-e opentelemetry-api
36+
-e shim/opentelemetry-opencensus-shim

tox.ini

+3-4
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ commands_pre =
117117
getting-started: pip install -e {env:CONTRIB_REPO}\#egg=opentelemetry-instrumentation-wsgi&subdirectory=instrumentation/opentelemetry-instrumentation-wsgi
118118
getting-started: pip install -e {env:CONTRIB_REPO}\#egg=opentelemetry-instrumentation-flask&subdirectory=instrumentation/opentelemetry-instrumentation-flask
119119

120-
opencensus: pip install {toxinidir}/exporter/opentelemetry-exporter-opencensus
120+
exporter-opencensus: pip install {toxinidir}/exporter/opentelemetry-exporter-opencensus
121121

122122
exporter-otlp-proto-common: pip install {toxinidir}/opentelemetry-proto
123123
exporter-otlp-proto-common: pip install {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common
@@ -137,8 +137,7 @@ commands_pre =
137137

138138
opentracing-shim: pip install -r {toxinidir}/shim/opentelemetry-opentracing-shim/test-requirements.txt
139139

140-
opencensus-shim: pip install {toxinidir}/opentelemetry-sdk
141-
opencensus-shim: pip install {toxinidir}/shim/opentelemetry-opencensus-shim[test]
140+
opencensus-shim: pip install -r {toxinidir}/shim/opentelemetry-opencensus-shim/test-requirements.txt
142141

143142
exporter-prometheus: pip install {toxinidir}/exporter/opentelemetry-exporter-prometheus
144143

@@ -219,7 +218,7 @@ commands_pre =
219218
python -m pip install -e {toxinidir}/opentelemetry-proto[test]
220219
python -m pip install -e {toxinidir}/tests/opentelemetry-test-utils[test]
221220
pip install -r {toxinidir}/shim/opentelemetry-opentracing-shim/test-requirements.txt
222-
python -m pip install -e {toxinidir}/shim/opentelemetry-opencensus-shim[test]
221+
pip install -r {toxinidir}/shim/opentelemetry-opencensus-shim/test-requirements.txt
223222
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-opencensus[test]
224223
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-common[test]
225224
python -m pip install -e {toxinidir}/exporter/opentelemetry-exporter-otlp-proto-grpc[test]

0 commit comments

Comments
 (0)