Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
lint:
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
poetry-version: ["1.8.3"]
os: [ubuntu-22.04]
runs-on: ${{ matrix.os }}
Expand All @@ -28,7 +28,7 @@ jobs:
test:
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
poetry-version: ["1.4"]
os: [ubuntu-22.04]
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
release:
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
poetry-version: ["1.8.3"]
os: [ubuntu-22.04]
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ repos:
rev: 22.3.0
hooks:
- id: black
language_version: python3.11
language_version: python3.12
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11
FROM python:3.12
RUN apt-get update
RUN apt-get install -y zip

Expand Down
1,764 changes: 894 additions & 870 deletions poetry.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
[tool.poetry]
name = "aws-log-ingestion"
version = "2.9.9"
version = "2.10.0"
description = ""
authors = ["New Relic <serverless@newrelic.com>"]
license = "Apache 2.0"
package-mode= false

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
aiohttp = "^3.13.2"

[tool.poetry.group.dev.dependencies]
aws-sam-cli = "^1.118.0"
black = "^24.3.0"
boto3 = "^1.19.2"
coverage = "^6.0.2"
flake8 = "^4.0.1"
flake8 = "^7.0.0"
mock = "^4.0.3"
pytest = "^7.2.0"
pytest-asyncio = "^0.16.0"
Expand All @@ -27,7 +27,7 @@ build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 88
target-version = ['py311']
target-version = ['py312']
include = '\.pyi?$'
exclude = '''
/(
Expand Down
2 changes: 1 addition & 1 deletion serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ service: newrelic-log-ingestion

provider:
name: aws
runtime: python3.11
runtime: python3.12
stage: production
timeout: 30

Expand Down
2 changes: 1 addition & 1 deletion src/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class EntryType(Enum):
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})"
)

LOGGING_LAMBDA_VERSION = "2.9.9"
LOGGING_LAMBDA_VERSION = "2.10.0"
LOGGING_PLUGIN_METADATA = {"type": "lambda", "version": LOGGING_LAMBDA_VERSION}


Expand Down
20 changes: 10 additions & 10 deletions src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
aiohappyeyeballs==2.6.1 ; python_version >= "3.11" and python_version < "4.0"
aiohttp==3.13.2 ; python_version >= "3.11" and python_version < "4.0"
aiosignal==1.4.0 ; python_version >= "3.11" and python_version < "4.0"
attrs==25.4.0 ; python_version >= "3.11" and python_version < "4.0"
frozenlist==1.8.0 ; python_version >= "3.11" and python_version < "4.0"
idna==3.11 ; python_version >= "3.11" and python_version < "4.0"
multidict==6.7.0 ; python_version >= "3.11" and python_version < "4.0"
propcache==0.4.1 ; python_version >= "3.11" and python_version < "4.0"
typing-extensions==4.15.0 ; python_version >= "3.11" and python_version < "3.13"
yarl==1.22.0 ; python_version >= "3.11" and python_version < "4.0"
aiohappyeyeballs==2.6.1 ; python_version >= "3.12" and python_version < "4.0"
aiohttp==3.13.2 ; python_version >= "3.12" and python_version < "4.0"
aiosignal==1.4.0 ; python_version >= "3.12" and python_version < "4.0"
attrs==25.4.0 ; python_version >= "3.12" and python_version < "4.0"
frozenlist==1.8.0 ; python_version >= "3.12" and python_version < "4.0"
idna==3.11 ; python_version >= "3.12" and python_version < "4.0"
multidict==6.7.0 ; python_version >= "3.12" and python_version < "4.0"
propcache==0.4.1 ; python_version >= "3.12" and python_version < "4.0"
typing-extensions==4.15.0 ; python_version >= "3.12" and python_version < "3.13"
yarl==1.22.0 ; python_version >= "3.12" and python_version < "4.0"
6 changes: 3 additions & 3 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Metadata:
LicenseUrl: LICENSE
ReadmeUrl: README.md
HomePageUrl: https://github.com/newrelic/aws-log-ingestion
SemanticVersion: 2.9.9
SemanticVersion: 2.10.0
SourceCodeUrl: https://github.com/newrelic/aws-log-ingestion

Resources:
Expand All @@ -77,7 +77,7 @@ Resources:
FunctionName: !Join ['-', ['newrelic-log-ingestion', !Select [4, !Split ['-', !Select [2, !Split ['/', !Ref AWS::StackId]]]]]]
MemorySize:
Ref: MemorySize
Runtime: python3.11
Runtime: python3.12
PermissionsBoundary: !If [ HasPermissionBoundary, !Ref PermissionsBoundary, !Ref AWS::NoValue ]
Role: !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/${FunctionRole}
Timeout:
Expand All @@ -99,7 +99,7 @@ Resources:
FunctionName: !Join ['-', ['newrelic-log-ingestion', !Select [4, !Split ['-', !Select [2, !Split ['/', !Ref AWS::StackId]]]]]]
MemorySize:
Ref: MemorySize
Runtime: python3.11
Runtime: python3.12
PermissionsBoundary: !If [ HasPermissionBoundary, !Ref PermissionsBoundary, !Ref AWS::NoValue ]
Timeout:
Ref: Timeout
Expand Down
2 changes: 1 addition & 1 deletion terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ resource "aws_lambda_function" "ingestion_function" {
? var.function_role
: aws_iam_role.lambda_role.0.arn
)
runtime = "python3.11"
runtime = "python3.12"
filename = local.archive_name
handler = "function.lambda_handler"
memory_size = var.memory_size
Expand Down
Loading