Skip to content

Commit 16f2b3c

Browse files
committed
Remove [test] package from opentelemetry-api
Fixes open-telemetry#3731
1 parent 41cf788 commit 16f2b3c

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

opentelemetry-api/pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ dynamic = [
3333
"version",
3434
]
3535

36-
[project.optional-dependencies]
37-
test = []
38-
3936
[project.entry-points.opentelemetry_context]
4037
contextvars_context = "opentelemetry.context.contextvars_context:ContextVarsRuntimeContext"
4138

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
Deprecated==1.2.14
4+
flaky==3.7.0
5+
importlib-metadata==6.11.0
6+
iniconfig==2.0.0
7+
packaging==23.2
8+
pluggy==1.4.0
9+
py==1.11.0
10+
py-cpuinfo==9.0.0
11+
pytest==7.1.3
12+
pytest-benchmark==4.0.0
13+
tomli==2.0.1
14+
typing_extensions==4.10.0
15+
wrapt==1.16.0
16+
zipp==3.17.0
17+
-e opentelemetry-api

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ commands_pre =
100100
; Install without -e to test the actual installation
101101
py3{8,9,10,11}: python -m pip install -U pip setuptools wheel
102102

103+
api: pip install -r {toxinidir}/opentelemetry-api/test-requirements.txt
103104
sdk: pip install -r {toxinidir}/opentelemetry-sdk/test-requirements.txt
104105

105106
; Install common packages for all the tests. These are not needed in all the
@@ -213,7 +214,7 @@ deps =
213214
-r dev-requirements.txt
214215

215216
commands_pre =
216-
python -m pip install -e {toxinidir}/opentelemetry-api[test]
217+
pip install -r {toxinidir}/opentelemetry-api/test-requirements.txt
217218
python -m pip install -e {toxinidir}/opentelemetry-semantic-conventions[test]
218219
pip install -r {toxinidir}/opentelemetry-sdk/test-requirements.txt
219220
python -m pip install -e {toxinidir}/opentelemetry-proto[test]

0 commit comments

Comments
 (0)