Skip to content

Commit 1a83da1

Browse files
Add urllib3 upper limit to Python auto-instrumentation (#3713)
* Add urllib3 upper limit for Python auto-instrumentation * Changelog * Reword comment
1 parent 19b72f7 commit 1a83da1

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2+
change_type: 'bug_fix'
3+
4+
# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action)
5+
component: auto-instrumentation
6+
7+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8+
note: add upper version limit to Python dependency urllib3
9+
10+
# One or more tracking issues related to the change
11+
issues: [3616]
12+
13+
# (Optional) One or more lines of additional information to render under the primary note.
14+
# These lines will be padded with 2 spaces and then inserted directly into the document.
15+
# Use pipe (|) for multiline entries.
16+
subtext:

autoinstrumentation/python/requirements.txt

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
opentelemetry-distro==0.51b0
2+
3+
# We add an upper limit to urllib3 version else Python 3.8 support is dropped.
4+
# TODO: Update autoinstrumentation image builds to support all supported Python versions
5+
# https://github.com/open-telemetry/opentelemetry-operator/issues/3712
6+
urllib3 < 2.3.0
27
# We don't use the distro[otlp] option which automatically includes exporters since gRPC is not appropriate for
38
# injected auto-instrumentation, where it has a strict dependency on the OS / Python version the artifact is built for.
49
opentelemetry-exporter-otlp-proto-http==1.30.0

0 commit comments

Comments
 (0)