Skip to content

Commit f67bb84

Browse files
xrmxemdneto
andauthored
opentelemetry-test-utils: skip installing grpc exporter only on Pypy (open-telemetry#5178)
* opentelemetry-test-utils: move requirements environment markers to a constraint file For some reason dependabot fails parsing them. * Second try * Apply suggestions from code review Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com> * Update tox.ini * Update dependency paths in test-requirements.txt Change paths for dependencies in test-requirements.txt * Skip only on pypy since installation of requirements on windows seems to work --------- Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
1 parent 5ccb54f commit f67bb84

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

tests/opentelemetry-test-utils/test-requirements.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ zipp==3.19.2
1414
-e opentelemetry-semantic-conventions
1515
-e tests/opentelemetry-test-utils
1616
# these are required for weaver integration tests, we're running that only on linux / CPython
17-
# because of lack of support for gRPC on Windows in some cases.
18-
# note: tox does not support PEP 508 markers on `-e` editable installs, so these are installed non-editable
19-
./opentelemetry-proto ; sys_platform != 'win32' and platform_python_implementation != 'PyPy'
20-
./exporter/opentelemetry-exporter-otlp-proto-common ; sys_platform != 'win32' and platform_python_implementation != 'PyPy'
21-
./exporter/opentelemetry-exporter-otlp-proto-grpc ; sys_platform != 'win32' and platform_python_implementation != 'PyPy'
17+
# because of lack of support for gRPC wheels on some platforms
18+
./opentelemetry-proto ; platform_python_implementation != 'PyPy'
19+
./exporter/opentelemetry-exporter-otlp-proto-common ; platform_python_implementation != 'PyPy'
20+
./exporter/opentelemetry-exporter-otlp-proto-grpc ; platform_python_implementation != 'PyPy'

0 commit comments

Comments
 (0)