Skip to content

Commit

Permalink
Upgrade to python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
badouralix committed Aug 8, 2023
1 parent 98f08dd commit 846ff4a
Show file tree
Hide file tree
Showing 5 changed files with 600 additions and 749 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Mirror repository to gitlab
- Bump davidanson/markdownlint-cli2-action from 9 to 10 (<https://github.com/badouralix/rclone-lambda-sync/pull/6>)
- Bump davidanson/markdownlint-cli2-action from 10 to 11 (<https://github.com/badouralix/rclone-lambda-sync/pull/7>)
- Upgrade to python 3.11

## 3.3.0

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Use the following commands to create the initial [pyproject.toml](pyproject.toml

```bash
poetry add python-json-logger
poetry add --dev black boto3 boto3-stubs "boto3-stubs[ssm]" ddtrace flake8 mypy
poetry add --group dev black boto3 boto3-stubs "boto3-stubs[ssm]" ddtrace flake8 mypy
serverless plugin install -n serverless-python-requirements
```

Expand Down
1,328 changes: 589 additions & 739 deletions poetry.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ description = ""
authors = ["Ayaz Badouraly <[email protected]>"]

[tool.poetry.dependencies]
python = "~3.10"
python = "~3.11"
python-json-logger = "^2.0.7"

[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
boto3 = "^1.26.121"
boto3-stubs = {extras = ["ssm"], version = "^1.26.121"}
ddtrace = "^1.12.1"
flake8 = "^6.0.0"
mypy = "^1.2.0"
black = "^23.7.0"
boto3 = "^1.28.21"
boto3-stubs = {extras = ["ssm"], version = "^1.28.21"}
ddtrace = "^1.17.3"
flake8 = "^6.1.0"
mypy = "^1.4.1"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
4 changes: 2 additions & 2 deletions serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ useDotenv: true

provider:
name: aws
runtime: python3.10
runtime: python3.11
architecture: arm64
stage: ${opt:stage, "default"}
region: ${opt:region, "eu-west-3"}
Expand All @@ -36,7 +36,7 @@ functions:
sync:
handler: datadog_lambda.handler.handler
layers:
- !Sub arn:aws:lambda:${AWS::Region}:464622532012:layer:Datadog-Python310-ARM:71
- !Sub arn:aws:lambda:${AWS::Region}:464622532012:layer:Datadog-Python311-ARM:78
- !Sub arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:layer:rclone-arm64:4
timeout: 300
memorySize: 512
Expand Down

0 comments on commit 846ff4a

Please sign in to comment.