Skip to content

Commit 2bfc243

Browse files
NR-500453 bump python version to 3.12
1 parent 87f429a commit 2bfc243

File tree

11 files changed

+899
-875
lines changed

11 files changed

+899
-875
lines changed

.github/workflows/pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
lint:
77
strategy:
88
matrix:
9-
python-version: ["3.11"]
9+
python-version: ["3.12"]
1010
poetry-version: ["1.8.3"]
1111
os: [ubuntu-22.04]
1212
runs-on: ${{ matrix.os }}
@@ -28,7 +28,7 @@ jobs:
2828
test:
2929
strategy:
3030
matrix:
31-
python-version: ["3.11"]
31+
python-version: ["3.12"]
3232
poetry-version: ["1.4"]
3333
os: [ubuntu-22.04]
3434
runs-on: ${{ matrix.os }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
release:
99
strategy:
1010
matrix:
11-
python-version: ["3.11"]
11+
python-version: ["3.12"]
1212
poetry-version: ["1.8.3"]
1313
os: [ubuntu-22.04]
1414
runs-on: ${{ matrix.os }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ repos:
33
rev: 22.3.0
44
hooks:
55
- id: black
6-
language_version: python3.11
6+
language_version: python3.12

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11
1+
FROM python:3.12
22
RUN apt-get update
33
RUN apt-get install -y zip
44

poetry.lock

Lines changed: 875 additions & 851 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[tool.poetry]
22
name = "aws-log-ingestion"
3-
version = "2.9.9"
3+
version = "2.10.0"
44
description = ""
55
authors = ["New Relic <serverless@newrelic.com>"]
66
license = "Apache 2.0"
77
package-mode= false
88

99
[tool.poetry.dependencies]
10-
python = "^3.11"
10+
python = "^3.12"
1111
aiohttp = "^3.13.2"
1212

1313
[tool.poetry.group.dev.dependencies]
@@ -27,7 +27,7 @@ build-backend = "poetry.core.masonry.api"
2727

2828
[tool.black]
2929
line-length = 88
30-
target-version = ['py311']
30+
target-version = ['py312']
3131
include = '\.pyi?$'
3232
exclude = '''
3333
/(

serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ service: newrelic-log-ingestion
22

33
provider:
44
name: aws
5-
runtime: python3.11
5+
runtime: python3.12
66
stage: production
77
timeout: 30
88

src/function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class EntryType(Enum):
119119
r"(?P<request_id>[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})"
120120
)
121121

122-
LOGGING_LAMBDA_VERSION = "2.9.9"
122+
LOGGING_LAMBDA_VERSION = "2.10.0"
123123
LOGGING_PLUGIN_METADATA = {"type": "lambda", "version": LOGGING_LAMBDA_VERSION}
124124

125125

src/requirements.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
aiohappyeyeballs==2.6.1 ; python_version >= "3.11" and python_version < "4.0"
2-
aiohttp==3.13.2 ; python_version >= "3.11" and python_version < "4.0"
3-
aiosignal==1.4.0 ; python_version >= "3.11" and python_version < "4.0"
4-
attrs==25.4.0 ; python_version >= "3.11" and python_version < "4.0"
5-
frozenlist==1.8.0 ; python_version >= "3.11" and python_version < "4.0"
6-
idna==3.11 ; python_version >= "3.11" and python_version < "4.0"
7-
multidict==6.7.0 ; python_version >= "3.11" and python_version < "4.0"
8-
propcache==0.4.1 ; python_version >= "3.11" and python_version < "4.0"
9-
typing-extensions==4.15.0 ; python_version >= "3.11" and python_version < "3.13"
10-
yarl==1.22.0 ; python_version >= "3.11" and python_version < "4.0"
1+
aiohappyeyeballs==2.6.1 ; python_version >= "3.12" and python_version < "4.0"
2+
aiohttp==3.13.2 ; python_version >= "3.12" and python_version < "4.0"
3+
aiosignal==1.4.0 ; python_version >= "3.12" and python_version < "4.0"
4+
attrs==25.4.0 ; python_version >= "3.12" and python_version < "4.0"
5+
frozenlist==1.8.0 ; python_version >= "3.12" and python_version < "4.0"
6+
idna==3.11 ; python_version >= "3.12" and python_version < "4.0"
7+
multidict==6.7.0 ; python_version >= "3.12" and python_version < "4.0"
8+
propcache==0.4.1 ; python_version >= "3.12" and python_version < "4.0"
9+
typing-extensions==4.15.0 ; python_version >= "3.12" and python_version < "3.13"
10+
yarl==1.22.0 ; python_version >= "3.12" and python_version < "4.0"

template.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Metadata:
6262
LicenseUrl: LICENSE
6363
ReadmeUrl: README.md
6464
HomePageUrl: https://github.com/newrelic/aws-log-ingestion
65-
SemanticVersion: 2.9.9
65+
SemanticVersion: 2.10.0
6666
SourceCodeUrl: https://github.com/newrelic/aws-log-ingestion
6767

6868
Resources:
@@ -77,7 +77,7 @@ Resources:
7777
FunctionName: !Join ['-', ['newrelic-log-ingestion', !Select [4, !Split ['-', !Select [2, !Split ['/', !Ref AWS::StackId]]]]]]
7878
MemorySize:
7979
Ref: MemorySize
80-
Runtime: python3.11
80+
Runtime: python3.12
8181
PermissionsBoundary: !If [ HasPermissionBoundary, !Ref PermissionsBoundary, !Ref AWS::NoValue ]
8282
Role: !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/${FunctionRole}
8383
Timeout:
@@ -99,7 +99,7 @@ Resources:
9999
FunctionName: !Join ['-', ['newrelic-log-ingestion', !Select [4, !Split ['-', !Select [2, !Split ['/', !Ref AWS::StackId]]]]]]
100100
MemorySize:
101101
Ref: MemorySize
102-
Runtime: python3.11
102+
Runtime: python3.12
103103
PermissionsBoundary: !If [ HasPermissionBoundary, !Ref PermissionsBoundary, !Ref AWS::NoValue ]
104104
Timeout:
105105
Ref: Timeout

0 commit comments

Comments
 (0)