Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions python/src/otel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ WORKDIR /workspace

RUN mkdir -p /build && \
python3 -m pip install -r otel_sdk/requirements.txt -t /build/python && \
python3 -m pip install -r otel_sdk/nodeps-requirements.txt -t /build/tmp --no-deps && \
# We need to use a `/build/tmp/` folder otherwise the instrumentation packages
# do not get fully downloaded to the `opentelemetry/instrumentation/` path.
cp -r /build/tmp/* /build/python/ && \
rm -rf /build/tmp && \
mv otel_sdk/otel_wrapper.py /build/python && \
mv otel_sdk/otel-instrument /build && \
mv otel_sdk/otel-handler /build && \
Expand Down
3 changes: 0 additions & 3 deletions python/src/otel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ export SDK=$(shell pwd)/otel_sdk
build-OTelLayer:
mkdir -p $(ARTIFACTS_DIR)/python
python3 -m pip install -r $(SDK)/requirements.txt -t $(ARTIFACTS_DIR)/python
python3 -m pip install -r $(SDK)/nodeps-requirements.txt -t $(ARTIFACTS_DIR)/tmp --no-deps
python3 -m pip freeze --path $(ARTIFACTS_DIR)/python
cp -r $(ARTIFACTS_DIR)/tmp/* $(ARTIFACTS_DIR)/python/
rm -rf $(ARTIFACTS_DIR)/tmp
cp -r $(SDK)/* $(ARTIFACTS_DIR)/python
chmod 755 $(ARTIFACTS_DIR)/python/otel-instrument
chmod 755 $(ARTIFACTS_DIR)/python/otel-handler
Expand Down
4 changes: 0 additions & 4 deletions python/src/otel/otel_sdk/nodeps-requirements.txt

This file was deleted.

4 changes: 2 additions & 2 deletions python/src/otel/otel_sdk/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
opentelemetry-sdk==1.45.2
opentelemetry-exporter-otlp-proto-http==1.45.2
opentelemetry-distro==0.66b2
opentelemetry-instrumentation==0.66b2
opentelemetry-semantic-conventions==0.66b2
opentelemetry-propagator-aws-xray==1.0.2

# Instrumentation dependencies
opentelemetry-instrumentation-aiohttp-client==0.66b2
opentelemetry-util-http==0.66b2
opentelemetry-instrumentation-asgi==0.66b2
opentelemetry-instrumentation-asyncpg==0.66b2
opentelemetry-instrumentation-aws-lambda==0.66b2
opentelemetry-instrumentation-boto3sqs==0.66b2
opentelemetry-instrumentation-botocore==0.66b2
opentelemetry-instrumentation-celery==0.66b2
opentelemetry-instrumentation-dbapi==0.66b2
opentelemetry-instrumentation-django==0.66b2
Expand Down
1 change: 0 additions & 1 deletion python/src/otel/tests/nodeps-requirements.txt

This file was deleted.

3 changes: 1 addition & 2 deletions python/src/otel/tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Dependencies used in tests only
opentelemetry-test-utils==0.66b2
opentelemetry-instrumentation ==0.66b2
opentelemetry-instrumentation-aws-lambda==0.66b2
opentelemetry-semantic-conventions ==0.66b2
opentelemetry-propagator-aws-xray == 1.0.2
1 change: 0 additions & 1 deletion python/src/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ changedir =

commands_pre =
pip install -r requirements.txt
pip install --no-deps -r nodeps-requirements.txt

deps =
pytest
Expand Down
Loading