Skip to content

Commit 860234b

Browse files
authored
Raise minimum supported python version to 3.9 (#1887)
1 parent 2d1c790 commit 860234b

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

.github/workflows/ci-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
matrix:
3232
# If you add a python version here, please make sure that the collector/Makefile publish and publish-layer targets
3333
# get updated as well
34-
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
34+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
3535

3636
steps:
3737
- name: Checkout this repo

.github/workflows/publish-layer-collector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
artifact-name: opentelemetry-collector-layer-${{ matrix.architecture }}.zip
129129
layer-name: opentelemetry-collector
130130
architecture: ${{ matrix.architecture }}
131-
runtimes: "nodejs16.x nodejs18.x nodejs20.x nodejs22.x java11 java17 java21 python3.8 python3.9 python3.10 python3.11 python3.12 python3.13"
131+
runtimes: "nodejs16.x nodejs18.x nodejs20.x nodejs22.x java11 java17 java21 python3.9 python3.10 python3.11 python3.12 python3.13"
132132
release-group: prod
133133
aws_region: ${{ matrix.aws_region }}
134134
role-arn: ${{ github.event.inputs.role-arn }}

collector/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ package: build
4747

4848
.PHONY: publish
4949
publish:
50-
aws lambda publish-layer-version --layer-name $(LAYER_NAME) --zip-file fileb://$(BUILD_SPACE)/opentelemetry-collector-layer-$(GOARCH).zip --compatible-runtimes nodejs16.x nodejs18.x nodejs20.x nodejs22.x java11 java17 java21 python3.8 python3.9 python3.10 python3.11 python3.12 python3.13 --query 'LayerVersionArn' --output text
50+
aws lambda publish-layer-version --layer-name $(LAYER_NAME) --zip-file fileb://$(BUILD_SPACE)/opentelemetry-collector-layer-$(GOARCH).zip --compatible-runtimes nodejs16.x nodejs18.x nodejs20.x nodejs22.x java11 java17 java21 python3.9 python3.10 python3.11 python3.12 python3.13 --query 'LayerVersionArn' --output text
5151

5252
.PHONY: publish-layer
5353
publish-layer: package
5454
@echo Publishing collector extension layer...
55-
aws lambda publish-layer-version --layer-name $(LAYER_NAME) --zip-file fileb://$(BUILD_SPACE)/opentelemetry-collector-layer-$(GOARCH).zip --compatible-runtimes nodejs16.x nodejs18.x nodejs20.x nodejs22.x java11 java17 java21 python3.8 python3.9 python3.10 python3.11 python3.12 python3.13 --query 'LayerVersionArn' --output text
55+
aws lambda publish-layer-version --layer-name $(LAYER_NAME) --zip-file fileb://$(BUILD_SPACE)/opentelemetry-collector-layer-$(GOARCH).zip --compatible-runtimes nodejs16.x nodejs18.x nodejs20.x nodejs22.x java11 java17 java21 python3.9 python3.10 python3.11 python3.12 python3.13 --query 'LayerVersionArn' --output text
5656
@echo OpenTelemetry Collector layer published.
5757

5858
.PHONY: set-otelcol-version

python/sample-apps/template.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Resources:
4242
Description: Opentelemetry Python layer
4343
ContentUri: ./otel
4444
CompatibleRuntimes:
45-
- python3.8
4645
- python3.9
4746
- python3.10
4847
- python3.11

python/src/template.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Resources:
1414
Description: Opentelemetry Python layer
1515
ContentUri: ./otel
1616
CompatibleRuntimes:
17-
- python3.8
1817
- python3.9
1918
- python3.10
2019
- python3.11

python/src/tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
33
; opentelemetry-instrumentation-aws-lambda
4-
py3{8,9,10,11,12}-test-instrumentation-aws-lambda
4+
py3{9,10,11,12}-test-instrumentation-aws-lambda
55

6-
minversion = 3.8
6+
minversion = 3.9
77

88
skip_missing_interpreters = True
99

0 commit comments

Comments
 (0)