Skip to content

Commit d0a6d0e

Browse files
committed
Remove [test] package from exporter-prometheus-remote-write
Fixes open-telemetry#2233
1 parent 46a8c59 commit d0a6d0e

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

exporter/opentelemetry-exporter-prometheus-remote-write/pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ dependencies = [
3131
"python-snappy ~= 0.6",
3232
]
3333

34-
[project.optional-dependencies]
35-
test = []
36-
3734
[project.urls]
3835
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/exporter/opentelemetry-exporter-prometheus-remote-write"
3936

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
asgiref==3.7.2
2+
attrs==23.2.0
3+
certifi==2024.2.2
4+
charset-normalizer==3.3.2
5+
cramjam==2.8.1
6+
Deprecated==1.2.14
7+
idna==3.6
8+
importlib-metadata==6.11.0
9+
iniconfig==2.0.0
10+
packaging==23.2
11+
pluggy==1.4.0
12+
protobuf==4.25.3
13+
py==1.11.0
14+
py-cpuinfo==9.0.0
15+
pytest==7.1.3
16+
pytest-benchmark==4.0.0
17+
python-snappy==0.7.1
18+
requests==2.31.0
19+
tomli==2.0.1
20+
typing_extensions==4.10.0
21+
urllib3==2.2.1
22+
wrapt==1.16.0
23+
zipp==3.17.0
24+
-e exporter/opentelemetry-exporter-prometheus-remote-write

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ commands_pre =
410410

411411
richconsole: pip install flaky {toxinidir}/exporter/opentelemetry-exporter-richconsole[test]
412412

413-
prometheus: pip install {toxinidir}/exporter/opentelemetry-exporter-prometheus-remote-write[test]
413+
prometheus: pip install -r {toxinidir}/exporter/opentelemetry-exporter-prometheus-remote-write/test-requirements.txt
414414

415415
sklearn: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-sklearn[test]
416416

0 commit comments

Comments
 (0)