Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump the app group in /app with 2 updates #48

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 14, 2024

Bumps the app group in /app with 2 updates: aws-lambda-powertools and aioboto3.

Updates aws-lambda-powertools from 3.0.0 to 3.1.0

Release notes

Sourced from aws-lambda-powertools's releases.

v3.1.0

Summary

We are excited to announce the first release following the v3 GA release. In this release we addressed a bug in the Parser utility as well as a regression in the naming of our public Lambda layers.

Thanks to @​mw-root we added support for Event Source for CodeDeploy Lifecycle Hook.

🌟 ⭐ A big thank you to our new contributors: @​emmanuel-ferdman, @​garysassano and @​mw-root.

Correct Naming for Powertools Lambda Layer x86_64

In our initial v3 release, we mistakenly named the x86_64 Lambda layer as x86. We've corrected this issue in the current release, ensuring our Lambda layers now use the correct architecture naming convention.

For those who have already adopted the v3 Layer for this architecture, we recommend updating the ARN to use the new name using the table below as reference. The version of the Layer using the incorrect name will continue to be available but new releases, including this one, will follow the correct and updated naming convention.

Architecture Python version Layer ARN
x86_64 3.8 arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python38-x86_64:{version}
x86_64 3.9 arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python39-x86_64:{version}
x86_64 3.10 arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python310-x86_64:{version}
x86_64 3.11 arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python311-x86_64:{version}
x86_64 3.12 arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:{version}

New CodeDeploy Lifecycle Hook Event Source Data Class

Docs

You can now use CodeDeployLifecycleHookEvent for a better experience with type hinting and code completion support when working with AWS Lambda functions that process AWS CodeDeploy events.

dataclass_code

Parser utility is now returning ValidationError

Before this release when parsing an event failed, we were catching the ValidationError raised by Pydantic and re-raising it as an InvalidModelTypeError.

We now raise the ValidationError directly, allowing our customers to handle data validation errors more effectively.

Thanks for this important bug report @​jhare-rectangle

Acknowledgements

Last but not least, we are thrilled to see our customers adopting v3, as it indicates we are moving in the right direction.

Changes

🌟New features and non-breaking changes

... (truncated)

Changelog

Sourced from aws-lambda-powertools's changelog.

[v3.1.0] - 2024-10-08

Bug Fixes

  • ci: Layer Rename Fix (#5291)
  • ci: layer rename (#5283)
  • idempotency: fix response hook invocation when function returns None (#5251)
  • layer: reverting SSM parameter name (#5340)
  • layers: rename Lambda layer name from x86 to x86_64 (#5226)
  • parser: fallback to validate_python when using type[Model] and nested models (#5313)
  • parser: revert a regression in v3 when raising ValidationError (#5259)
  • parser: make size and etag optional for LifecycleExpiration events in S3 (#5250)

Code Refactoring

  • examples: fix issues reported by SonarCloud and Scorecard (#5315)

Documentation

  • idempotency: fix description in Advanced table (#5191)
  • metrics: fix test references (#5265)
  • public_reference: add Flyweight as a public reference (#5322)
  • upgrade_guide: update upgrade guide with Pydantic information (#5316)
  • v3: fix small things in the documentation (#5224)
  • versioning: add v2 maintainance mode banner (#5240)

Features

  • event_source: add CodeDeploy Lifecycle Hook event (#5219)
  • openapi: enable direct list input in Examples model (#5318)

Maintenance

  • version bump
  • ci: new pre-release 3.0.1a7 (#5299)
  • ci: new pre-release 3.0.1a3 (#5270)
  • ci: new pre-release 3.0.1a4 (#5277)
  • ci: new pre-release 3.0.1a2 (#5258)
  • ci: new pre-release 3.0.1a5 (#5288)
  • ci: new pre-release 3.0.1a9 (#5337)
  • ci: new pre-release 3.0.1a8 (#5323)
  • ci: new pre-release 3.0.1a0 (#5220)
  • ci: new pre-release 3.0.1a1 (#5247)
  • ci: new pre-release 3.0.1a6 (#5293)
  • deps: bump actions/download-artifact from 4.1.7 to 4.1.8 (#5203)
  • deps: bump squidfunk/mkdocs-material from 22a429f to 08fbf58 in /docs (#5243)
  • deps: bump docker/setup-buildx-action from 3.6.1 to 3.7.0 (#5298)
  • deps: bump actions/checkout from 4.1.7 to 4.2.0 (#5244)
  • deps: bump actions/setup-node from 4.0.3 to 4.0.4 (#5186)
  • deps: bump docker/setup-buildx-action from 3.7.0 to 3.7.1 (#5310)
  • deps: bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3 (#5311)

... (truncated)

Commits
  • e615b9f chore: version bump
  • d3173f3 fix(layer): reverting SSM parameter name (#5340)
  • fa69986 chore(ci): new pre-release 3.0.1a9 (#5337)
  • 54ee168 chore(deps): bump datadog-lambda from 6.98.0 to 6.99.0 (#5333)
  • b181910 chore(deps-dev): bump boto3-stubs from 1.35.34 to 1.35.35 (#5334)
  • fbfe836 chore(deps-dev): bump aws-cdk-lib from 2.161.0 to 2.161.1 (#5335)
  • 65c4ed3 chore(deps): bump actions/upload-artifact from 4.4.0 to 4.4.1 (#5328)
  • 608b096 chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.272 to 0....
  • 8c8378e chore(deps): bump redis from 5.1.0 to 5.1.1 (#5331)
  • a4d710e chore(deps-dev): bump aws-cdk from 2.161.0 to 2.161.1 (#5327)
  • Additional commits viewable in compare view

Updates aioboto3 from 13.1.1 to 13.2.0

Changelog

Sourced from aioboto3's changelog.

13.2.0 (2024-10-13)

  • Bumped aiobotocore to 2.15.2
  • Added max_request_concurrency semaphore to S3.copy to prevent starting potentially hundreds of uploads at once.
Commits
  • 346d443 Updated changelog
  • 0b83780 Added request concurrency limits in S3.copy
  • f61eb2e Convert download_fileobj logline from info to debug.
  • ed9b52c Show how to control retries
  • See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the app group in /app with 2 updates: [aws-lambda-powertools](https://github.com/aws-powertools/powertools-lambda-python) and [aioboto3](https://github.com/terrycain/aioboto3).


Updates `aws-lambda-powertools` from 3.0.0 to 3.1.0
- [Release notes](https://github.com/aws-powertools/powertools-lambda-python/releases)
- [Changelog](https://github.com/aws-powertools/powertools-lambda-python/blob/develop/CHANGELOG.md)
- [Commits](aws-powertools/powertools-lambda-python@v3.0.0...v3.1.0)

Updates `aioboto3` from 13.1.1 to 13.2.0
- [Changelog](https://github.com/terricain/aioboto3/blob/main/CHANGELOG.rst)
- [Commits](terricain/aioboto3@v13.1.1...v13.2.0)

---
updated-dependencies:
- dependency-name: aws-lambda-powertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: app
- dependency-name: aioboto3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: app
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from notdodo as a code owner October 14, 2024 06:21
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 14, 2024
Copy link

github-actions bot commented Oct 14, 2024

🍹 preview on erfiume/notdodo/erfiume/production

Pulumi report
  Previewing update (production)

View Live: https://app.pulumi.com/notdodo/erfiume/production/previews/9798beff-b24a-4bb5-b3d6-e32b2ccfeae2

pulumi:pulumi:Stack: (same)
  [urn=urn:pulumi:production::erfiume::pulumi:pulumi:Stack::erfiume-production]
/home/runner/work/erfiume_bot/erfiume_bot/pulumi/.venv/lib/python3.12/site-packages/pulumi_aws/_utilities.py:313: UserWarning: Not used

warnings.warn(message)

  +-command:local:Command: (replace)
        [id=erfiume-poetry-install80948605]
      [urn=urn:pulumi:production::erfiume::command:local:Command::erfiume-poetry-install]
      [provider=urn:pulumi:production::erfiume::pulumi:providers:command::default_1_0_1::0dd51cf0-7eb4-4686-a774-b70670b91527]
      ~ triggers: [
          - [0]: asset(file:d38f8c5) { ../app/poetry.lock }
          + [0]: asset(file:a80fbd2) { ../app/poetry.lock }
        ]
    +-command:local:Command: (replace)
        [id=erfiume-copy-python-libraries6be2e511]
      [urn=urn:pulumi:production::erfiume::command:local:Command::erfiume-copy-python-libraries]
      [provider=urn:pulumi:production::erfiume::pulumi:providers:command::default_1_0_1::0dd51cf0-7eb4-4686-a774-b70670b91527]
      ~ triggers: [
          - [0]: asset(file:d38f8c5) { ../app/poetry.lock }
          + [0]: asset(file:a80fbd2) { ../app/poetry.lock }
          ~ [1]: "Creating virtualenv erfiume in /home/runner/work/erfiume_bot/erfiume_bot/app/.venv" => output
          ~ [2]: "Installing dependencies from lock file

Package operations: 31 installs, 0 updates, 0 removals

  - Installing six (1.16.0)
  - Installing jmespath (1.0.1)
  - Installing python-dateutil (2.9.0.post0)
  - Installing urllib3 (2.2.3)
  - Installing botocore (1.34.131)
  - Installing frozenlist (1.4.1)
  - Installing idna (3.10)
  - Installing multidict (6.1.0)
  - Installing aiohappyeyeballs (2.4.0)
  - Installing aiosignal (1.3.1)
  - Installing attrs (24.2.0)
  - Installing certifi (2024.8.30)
  - Installing h11 (0.14.0)
  - Installing s3transfer (0.10.2)
  - Installing sniffio (1.3.1)
  - Installing yarl (1.11.1)
  - Installing aiohttp (3.10.5)
  - Installing aioitertools (0.12.0)
  - Installing anyio (4.5.0)
  - Installing boto3 (1.34.131)
  - Installing httpcore (1.0.5)
  - Installing wrapt (1.16.0)
  - Installing aiobotocore (2.13.1)
  - Installing aiofiles (24.1.0)
  - Installing httpx (0.27.2)
  - Installing rapidfuzz (3.9.7)
  - Installing typing-extensions (4.12.2)
  - Installing aioboto3 (13.1.1)
  - Installing aws-lambda-powertools (3.0.0)
  - Installing python-telegram-bot (21.6)
  - Installing thefuzz (0.22.1)" => output
        ]
    +-command:local:Command: (replace)
        [id=erfiume-cleanup-layer103be53e]
      [urn=urn:pulumi:production::erfiume::command:local:Command::erfiume-cleanup-layer]
      [provider=urn:pulumi:production::erfiume::pulumi:providers:command::default_1_0_1::0dd51cf0-7eb4-4686-a774-b70670b91527]
      ~ triggers: [
          - [0]: asset(file:d38f8c5) { ../app/poetry.lock }
          + [0]: asset(file:a80fbd2) { ../app/poetry.lock }
          + [1]: output
          + [2]: output
          ~ [3]: "Creating virtualenv erfiume in /home/runner/work/erfiume_bot/erfiume_bot/app/.venv" => output
          ~ [4]: "Installing dependencies from lock file

Package operations: 31 installs, 0 updates, 0 removals

  - Installing six (1.16.0)
  - Installing jmespath (1.0.1)
  - Installing python-dateutil (2.9.0.post0)
  - Installing urllib3 (2.2.3)
  - Installing botocore (1.34.131)
  - Installing frozenlist (1.4.1)
  - Installing idna (3.10)
  - Installing multidict (6.1.0)
  - Installing aiohappyeyeballs (2.4.0)
  - Installing aiosignal (1.3.1)
  - Installing attrs (24.2.0)
  - Installing certifi (2024.8.30)
  - Installing h11 (0.14.0)
  - Installing s3transfer (0.10.2)
  - Installing sniffio (1.3.1)
  - Installing yarl (1.11.1)
  - Installing aiohttp (3.10.5)
  - Installing aioitertools (0.12.0)
  - Installing anyio (4.5.0)
  - Installing boto3 (1.34.131)
  - Installing httpcore (1.0.5)
  - Installing wrapt (1.16.0)
  - Installing aiobotocore (2.13.1)
  - Installing aiofiles (24.1.0)
  - Installing httpx (0.27.2)
  - Installing rapidfuzz (3.9.7)
  - Installing typing-extensions (4.12.2)
  - Installing aioboto3 (13.1.1)
  - Installing aws-lambda-powertools (3.0.0)
  - Installing python-telegram-bot (21.6)
  - Installing thefuzz (0.22.1)" => output
        ]
    +-command:local:Command: (replace)
        [id=erfiume-create-zip-layer44d0eb56]
      [urn=urn:pulumi:production::erfiume::command:local:Command::erfiume-create-zip-layer]
      [provider=urn:pulumi:production::erfiume::pulumi:providers:command::default_1_0_1::0dd51cf0-7eb4-4686-a774-b70670b91527]
      ~ triggers: [
          - [0]: asset(file:d38f8c5) { ../app/poetry.lock }
          + [0]: asset(file:a80fbd2) { ../app/poetry.lock }
          + [1]: output
          + [2]: output
          + [3]: output
          + [4]: output
          ~ [5]: "Creating virtualenv erfiume in /home/runner/work/erfiume_bot/erfiume_bot/app/.venv" => output
          ~ [6]: "Installing dependencies from lock file

Package operations: 31 installs, 0 updates, 0 removals

  - Installing six (1.16.0)
  - Installing jmespath (1.0.1)
  - Installing python-dateutil (2.9.0.post0)
  - Installing urllib3 (2.2.3)
  - Installing botocore (1.34.131)
  - Installing frozenlist (1.4.1)
  - Installing idna (3.10)
  - Installing multidict (6.1.0)
  - Installing aiohappyeyeballs (2.4.0)
  - Installing aiosignal (1.3.1)
  - Installing attrs (24.2.0)
  - Installing certifi (2024.8.30)
  - Installing h11 (0.14.0)
  - Installing s3transfer (0.10.2)
  - Installing sniffio (1.3.1)
  - Installing yarl (1.11.1)
  - Installing aiohttp (3.10.5)
  - Installing aioitertools (0.12.0)
  - Installing anyio (4.5.0)
  - Installing boto3 (1.34.131)
  - Installing httpcore (1.0.5)
  - Installing wrapt (1.16.0)
  - Installing aiobotocore (2.13.1)
  - Installing aiofiles (24.1.0)
  - Installing httpx (0.27.2)
  - Installing rapidfuzz (3.9.7)
  - Installing typing-extensions (4.12.2)
  - Installing aioboto3 (13.1.1)
  - Installing aws-lambda-powertools (3.0.0)
  - Installing python-telegram-bot (21.6)
  - Installing thefuzz (0.22.1)" => output
        ]
    +-command:local:Command: (replace)
        [id=erfiume-sha256-lambda-zip-layera1608d80]
      [urn=urn:pulumi:production::erfiume::command:local:Command::erfiume-sha256-lambda-zip-layer]
      [provider=urn:pulumi:production::erfiume::pulumi:providers:command::default_1_0_1::0dd51cf0-7eb4-4686-a774-b70670b91527]
      ~ triggers: [
          - [0]: asset(file:d38f8c5) { ../app/poetry.lock }
          + [0]: asset(file:a80fbd2) { ../app/poetry.lock }
          + [1]: output
          + [2]: output
          + [3]: output
          + [4]: output
          + [5]: output
          + [6]: output
          ~ [7]: "Creating virtualenv erfiume in /home/runner/work/erfiume_bot/erfiume_bot/app/.venv" => output
          ~ [8]: "Installing dependencies from lock file

Package operations: 31 installs, 0 updates, 0 removals

  - Installing six (1.16.0)
  - Installing jmespath (1.0.1)
  - Installing python-dateutil (2.9.0.post0)
  - Installing urllib3 (2.2.3)
  - Installing botocore (1.34.131)
  - Installing frozenlist (1.4.1)
  - Installing idna (3.10)
  - Installing multidict (6.1.0)
  - Installing aiohappyeyeballs (2.4.0)
  - Installing aiosignal (1.3.1)
  - Installing attrs (24.2.0)
  - Installing certifi (2024.8.30)
  - Installing h11 (0.14.0)
  - Installing s3transfer (0.10.2)
  - Installing sniffio (1.3.1)
  - Installing yarl (1.11.1)
  - Installing aiohttp (3.10.5)
  - Installing aioitertools (0.12.0)
  - Installing anyio (4.5.0)
  - Installing boto3 (1.34.131)
  - Installing httpcore (1.0.5)
  - Installing wrapt (1.16.0)
  - Installing aiobotocore (2.13.1)
  - Installing aiofiles (24.1.0)
  - Installing httpx (0.27.2)
  - Installing rapidfuzz (3.9.7)
  - Installing typing-extensions (4.12.2)
  - Installing aioboto3 (13.1.1)
  - Installing aws-lambda-powertools (3.0.0)
  - Installing python-telegram-bot (21.6)
  - Installing thefuzz (0.22.1)" => output
        ]
    +-aws:lambda/layerVersion:LayerVersion: (replace)
        [id=arn:aws:lambda:eu-west-1:841162699174:layer:erfiume:10]
      [urn=urn:pulumi:production::erfiume::aws:lambda/layerVersion:LayerVersion::erfiume-python3.12]
      [provider=urn:pulumi:production::erfiume::pulumi:providers:aws::default_6_54_1::7ee8545a-e0cd-4356-a4ba-49548c42c746]
      ~ sourceCodeHash: "87c96c9f3d2e0cb94590aeaad5074fe8b7cf91753188d230cf06e80cf28ebfd1" => output
    ~ aws:lambda/function:Function: (update)
        [id=erfiume-bot]
      [urn=urn:pulumi:production::erfiume::aws:lambda/function:Function::erfiume-bot]
      [provider=urn:pulumi:production::erfiume::pulumi:providers:aws::default_6_54_1::7ee8545a-e0cd-4356-a4ba-49548c42c746]
      ~ layers: [
          ~ [0]: "arn:aws:lambda:eu-west-1:841162699174:layer:erfiume:10" => output
        ]
Resources:
  ~ 1 to update
  +-6 to replace
  7 changes. 18 unchanged
  

@notdodo notdodo merged commit 4a271ce into main Oct 14, 2024
4 checks passed
@notdodo notdodo deleted the dependabot/pip/app/app-fb4b2a9b95 branch October 14, 2024 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant