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

chore(deps): bump the python group with 7 updates #282

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 19, 2023

Bumps the python group with 7 updates:

Package From To
pypdf 3.16.3 3.16.4
aws-lambda-powertools 2.25.1 2.26.0
boto3 1.28.62 1.28.66
aws-xray-sdk 2.12.0 2.12.1
black 23.9.1 23.10.0
mypy 1.5.1 1.6.1
types-requests 2.31.0.8 2.31.0.10

Updates pypdf from 3.16.3 to 3.16.4

Release notes

Sourced from pypdf's releases.

Version 3.16.4, 2023-10-10

What's new

Bug Fixes (BUG)

Maintenance (MAINT)

Full Changelog

Changelog

Sourced from pypdf's changelog.

Version 3.16.4, 2023-10-10

Bug Fixes (BUG)

  • Avoid exceeding recursion depth when retrieving image mode (#2251)

Full Changelog

Commits

Updates aws-lambda-powertools from 2.25.1 to 2.26.0

Release notes

Sourced from aws-lambda-powertools's releases.

v2.26.0 Release notes

Summary

This release adds richer exception details to the logger utility, support for VPC Lattice Payload V2, smarter model inference in the parser utility, expanded ARM64 Lambda Layer support on additional regions, and fixes some bugs!

⭐ Huge thanks to our new contributors: @​Tom01098, @​stevrobu, and @​pgrzesik!

Richer exception details

Docs: logger

The logger utility now logs exceptions in a structured format to simplify debugging. Previously, exception tracebacks appeared as a single string containing the raw stack trace frames. Developers had to parse each frame manually to extract file names, line numbers, function names, etc.

With the new serialize_stacktrace flag, the logger prints stack traces as structured JSON. This clearly surfaces exception details like filenames, lines, functions, and statements per frame. The structured output eliminates the need to parse traceback strings, improving observability and accelerating root cause analysis.

image

image

Amazon VPC Lattice Payload V2

Docs: event handler, parser

Amazon VPC Lattice is a fully managed application networking service that you use to connect, secure, and monitor the services for your application across multiple accounts and virtual private clouds (VPC). You can register your Lambda functions as targets with a VPC Lattice target group, and configure a listener rule to forward requests to the target group for your Lambda function.

With this seamless integration, you can now leverage the performance benefits of Amazon VPC Lattice Payload V2 directly in your event handlers. The latest release enables handling Lattice events using the familiar event handler API you already know, including critical features like CORS support and response serialization.

image

Model inference in the parser utility

Docs: parser

The event_parser decorator previously required you to duplicate the type when using type hints. Now, the event_parser decorator can infer the event type directly from your handler signature. This avoids having to redeclare the type in the event_parser decorator.

image

Changes

🌟New features and non-breaking changes

📜 Documentation updates

... (truncated)

Changelog

Sourced from aws-lambda-powertools's changelog.

[v2.26.0] - 2023-10-13

Bug Fixes

  • logger: force Logger to use local timezone when UTC flag is not set (#3168)
  • parameter: improve AppConfig cached configuration retrieval (#3195)

Code Refactoring

  • data-masking: disable e2e tests. (#3204)
  • data_masking: move Data Masking utility to a private folder (#3202)

Documentation

  • contributing: initial structure for revamped contributing guide (#3133)
  • event_handler: add information about case-insensitive header lookup function (#3183)

Features

  • data_masking: add new sensitive data masking utility (#2197)
  • event_handler: add support to VPC Lattice payload v2 (#3153)
  • layers: add arm64 support in more regions (#3151)
  • logger: new stack_trace field with rich exception details (#3147)
  • parser: infer model from type hint (#3181)

Maintenance

  • version bump
  • deps: bump squidfunk/mkdocs-material from cbfecae to a4cfa88 in /docs (#3175)
  • deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3174)
  • deps: bump squidfunk/mkdocs-material from b41ba6d to 06673a1 in /docs (#3124)
  • deps: bump ossf/scorecard-action from 2.2.0 to 2.3.0 (#3178)
  • deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3198)
  • deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3177)
  • deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3127)
  • deps: bump urllib3 from 1.26.16 to 1.26.17 (#3162)
  • deps: bump aws-xray-sdk from 2.12.0 to 2.12.1 (#3197)
  • deps: bump fastjsonschema from 2.18.0 to 2.18.1 (#3159)
  • deps: bump actions/setup-python from 4.7.0 to 4.7.1 (#3158)
  • deps: bump actions/checkout from 4.0.0 to 4.1.0 (#3128)
  • deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3156)
  • deps: bump squidfunk/mkdocs-material from e5f28aa to cbfecae in /docs (#3157)
  • deps: bump squidfunk/mkdocs-material from 06673a1 to e5f28aa in /docs (#3134)
  • deps: bump squidfunk/mkdocs-material from a4cfa88 to cb38dc2 in /docs (#3189)
  • deps: bump pydantic from 1.10.12 to 1.10.13 (#3144)
  • deps: bump gitpython from 3.1.35 to 3.1.37 in /docs (#3188)
  • deps-dev: bump types-requests from 2.31.0.5 to 2.31.0.6 (#3145)
  • deps-dev: bump aws-cdk from 2.98.0 to 2.99.0 (#3148)
  • deps-dev: bump the boto-typing group with 2 updates (#3143)
  • deps-dev: bump aws-cdk from 2.99.1 to 2.100.0 (#3185)
  • deps-dev: bump aws-cdk from 2.97.0 to 2.98.0 (#3139)

... (truncated)

Commits
  • 3b9f3b6 chore: version bump
  • 144d460 refactor(data-masking): disable e2e tests. (#3204)
  • 52d54ab fix(parameter): improve AppConfig cached configuration retrieval (#3195)
  • 5bfb60f refactor(data_masking): move Data Masking utility to a private folder (#3202)
  • 4be04cb chore(ci): changelog rebuild (#3199)
  • 5997da5 fix(logger): force Logger to use local timezone when UTC flag is not set (#3168)
  • 141750e chore(deps-dev): bump the boto-typing group with 1 update (#3196)
  • a09a572 chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer w...
  • c7d132a chore(deps): bump aws-xray-sdk from 2.12.0 to 2.12.1 (#3197)
  • 36afcf7 feat(parser): infer model from type hint (#3181)
  • Additional commits viewable in compare view

Updates boto3 from 1.28.62 to 1.28.66

Changelog

Sourced from boto3's changelog.

1.28.66

  • api-change:cloud9: [botocore] Update to imageId parameter behavior and dates updated.
  • api-change:dynamodb: [botocore] Updating descriptions for several APIs.
  • api-change:kendra: [botocore] Changes for a new feature in Amazon Kendra's Query API to Collapse/Expand query results
  • api-change:rds: [botocore] This release adds support for upgrading the storage file system configuration on the DB instance using a blue/green deployment or a read replica.
  • api-change:wisdom: [botocore] This release adds an max limit of 25 recommendation ids for NotifyRecommendationsReceived API.

1.28.65

  • api-change:codepipeline: [botocore] Add retryMode ALL_ACTIONS to RetryStageExecution API that retries a failed stage starting from first action in the stage
  • api-change:discovery: [botocore] This release introduces three new APIs: StartBatchDeleteConfigurationTask, DescribeBatchDeleteConfigurationTask, and BatchDeleteAgents.
  • api-change:ecs: [botocore] Documentation only updates to address Amazon ECS tickets.
  • api-change:globalaccelerator: [botocore] Fixed error where ListCustomRoutingEndpointGroups did not have a paginator
  • api-change:guardduty: [botocore] Add domainWithSuffix finding field to dnsRequestAction
  • api-change:kafka: [botocore] AWS Managed Streaming for Kafka is launching MSK Replicator, a new feature that enables customers to reliably replicate data across Amazon MSK clusters in same or different AWS regions. You can now use SDK to create, list, describe, delete, update, and manage tags of MSK Replicators.
  • api-change:route53-recovery-cluster: [botocore] Adds Owner field to ListRoutingControls API.
  • api-change:route53-recovery-control-config: [botocore] Adds permissions for GetResourcePolicy to support returning details about AWS Resource Access Manager resource policies for shared resources.

1.28.64

  • api-change:cloudformation: [botocore] SDK and documentation updates for UpdateReplacePolicy
  • api-change:drs: [botocore] Updated exsiting API to allow AWS Elastic Disaster Recovery support of launching recovery into existing EC2 instances.
  • api-change:entityresolution: [botocore] This launch expands our matching techniques to include provider-based matching to help customer match, link, and enhance records with minimal data movement. With data service providers, we have removed the need for customers to build bespoke integrations,.
  • api-change:managedblockchain-query: [botocore] This release introduces two new APIs: GetAssetContract and ListAssetContracts. This release also adds support for Bitcoin Testnet.
  • api-change:mediapackagev2: [botocore] This release allows customers to manage MediaPackage v2 resource using CloudFormation.
  • api-change:opensearch: [botocore] This release allows customers to list and associate optional plugin packages with compatible Amazon OpenSearch Service clusters for enhanced functionality.
  • api-change:redshift-serverless: [botocore] Added support for managing credentials of serverless namespace admin using AWS Secrets Manager.
  • api-change:redshift: [botocore] Added support for managing credentials of provisioned cluster admin using AWS Secrets Manager.
  • api-change:sesv2: [botocore] This release provides enhanced visibility into your SES identity verification status. This will offer you more actionable insights, enabling you to promptly address any verification-related issues.
  • api-change:transfer: [botocore] Documentation updates for AWS Transfer Family
  • api-change:xray: [botocore] This releases enhances GetTraceSummaries API to support new TimeRangeType Service to query trace summaries by segment end time.

1.28.63

  • api-change:auditmanager: [botocore] This release introduces a new limit to the awsAccounts parameter. When you create or update an assessment, there is now a limit of 200 AWS accounts that can be specified in the assessment scope.
  • api-change:autoscaling: [botocore] Update the NotificationMetadata field to only allow visible ascii characters. Add paginators to DescribeInstanceRefreshes, DescribeLoadBalancers, and DescribeLoadBalancerTargetGroups
  • api-change:config: [botocore] Add enums for resource types supported by Config
  • api-change:controltower: [botocore] Added new EnabledControl resource details to ListEnabledControls API and added new GetEnabledControl API.
  • api-change:customer-profiles: [botocore] Adds sensitive trait to various shapes in Customer Profiles Calculated Attribute API model.
  • api-change:ec2: [botocore] This release adds Ubuntu Pro as a supported platform for On-Demand Capacity Reservations and adds support for setting an Amazon Machine Image (AMI) to disabled state. Disabling the AMI makes it private if it was previously shared, and prevents new EC2 instance launches from it.
  • api-change:elbv2: [botocore] Update elbv2 client to latest version
  • api-change:glue: [botocore] Extending version control support to GitLab and Bitbucket from AWSGlue

... (truncated)

Commits
  • b090311 Merge branch 'release-1.28.66'
  • 6144930 Bumping version to 1.28.66
  • 4482f63 Add changelog entries from botocore
  • a777be4 Merge branch 'release-1.28.65'
  • 574698a Merge branch 'release-1.28.65' into develop
  • 8ca00c0 Bumping version to 1.28.65
  • 4940ac8 Add changelog entries from botocore
  • d47fb41 Merge branch 'release-1.28.64'
  • 38b756d Merge branch 'release-1.28.64' into develop
  • 45a9894 Bumping version to 1.28.64
  • Additional commits viewable in compare view

Updates aws-xray-sdk from 2.12.0 to 2.12.1

Release notes

Sourced from aws-xray-sdk's releases.

2.12.1 Release

See details in CHANGELOG

Changelog

Sourced from aws-xray-sdk's changelog.

2.12.1

  • bugfix: set_trace_entity() in lambda adds segment to thread PR409 https://github.com/aws/aws-xray-sdk-python/pull/409
  • bugfix: Cleanup after drop of support for Python PR387 https://github.com/aws/aws-xray-sdk-python/pull/387
Commits
  • c50fe3e Merge pull request #411 from aws/release-2-12-1
  • 7c14041 Release commit for v2.12.1
  • 8563afc [Documentation] Improve API reference for patch and patch_all (#407)
  • 6dd6b07 bugfix: set_trace_entity() in lambda adds segment to thread local (#409)
  • d9fec7d improve doc about sampling configuration (#406)
  • 2976b25 Support passing pytest arguments via tox (#390)
  • 4ffd7f6 Merge pull request #391 from wangzlei/master
  • da588ee Disable IMDSv1 from Elastic Beanstalk
  • 150f0ea Cleanup after drop of support for Python < 3.7 (#387)
  • See full diff in compare view

Updates black from 23.9.1 to 23.10.0

Release notes

Sourced from black's releases.

23.10.0

Stable style

  • Fix comments getting removed from inside parenthesized strings (#3909)

Preview style

  • Fix long lines with power operators getting split before the line length (#3942)
  • Long type hints are now wrapped in parentheses and properly indented when split across multiple lines (#3899)
  • Magic trailing commas are now respected in return types. (#3916)
  • Require one empty line after module-level docstrings. (#3932)
  • Treat raw triple-quoted strings as docstrings (#3947)

Configuration

  • Fix cache versioning logic when BLACK_CACHE_DIR is set (#3937)

Parser

  • Fix bug where attributes named type were not acccepted inside match statements (#3950)
  • Add support for PEP 695 type aliases containing lambdas and other unusual expressions (#3949)

Output

  • Black no longer attempts to provide special errors for attempting to format Python 2 code (#3933)
  • Black will more consistently print stacktraces on internal errors in verbose mode (#3938)

Integrations

  • The action output displayed in the job summary is now wrapped in Markdown (#3914)
Changelog

Sourced from black's changelog.

23.10.0

Stable style

  • Fix comments getting removed from inside parenthesized strings (#3909)

Preview style

  • Fix long lines with power operators getting split before the line length (#3942)
  • Long type hints are now wrapped in parentheses and properly indented when split across multiple lines (#3899)
  • Magic trailing commas are now respected in return types. (#3916)
  • Require one empty line after module-level docstrings. (#3932)
  • Treat raw triple-quoted strings as docstrings (#3947)

Configuration

  • Fix cache versioning logic when BLACK_CACHE_DIR is set (#3937)

Parser

  • Fix bug where attributes named type were not acccepted inside match statements (#3950)
  • Add support for PEP 695 type aliases containing lambdas and other unusual expressions (#3949)

Output

  • Black no longer attempts to provide special errors for attempting to format Python 2 code (#3933)
  • Black will more consistently print stacktraces on internal errors in verbose mode (#3938)

Integrations

  • The action output displayed in the job summary is now wrapped in Markdown (#3914)
Commits
  • 9edba85 Prepare release 23.10.0 (#3951)
  • bb58807 Fix parser bug where "type" was misinterpreted as a keyword inside a match (#...
  • 722735d Fix grammar for type alias support (#3949)
  • abe57e3 Treat raw strings like other docstrings (#3947)
  • 1648ac5 Fix long lines with power operator(s) getting splitted before line length (#3...
  • 6f84f65 Migrate mypy config to pyproject.toml (#3936)
  • 3bb9214 CI Test: Deprecating 'Healthcheck.all()' from Hypothesis in fuzz.py (#3945)
  • 935f303 Fix test that was not being run (#3939)
  • b7717c3 Standardise newlines after module-level docstrings (#3932)
  • 7aa37ea Report all stacktraces in verbose mode (#3938)
  • Additional commits viewable in compare view

Updates mypy from 1.5.1 to 1.6.1

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Unreleased

...

Other Notable Changes and Fixes

...

Acknowledgements

...

Mypy 1.6

Tuesday, 10 October 2023

We’ve just uploaded mypy 1.6 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

Introduce Error Subcodes for Import Errors

Mypy now uses the error code import-untyped if an import targets an installed library that doesn’t support static type checking, and no stub files are available. Other invalid imports produce the import-not-found error code. They both are subcodes of the import error code, which was previously used for both kinds of import-related errors.

Use --disable-error-code=import-untyped to only ignore import errors about installed libraries without stubs. This way mypy will still report errors about typos in import statements, for example.

If you use --warn-unused-ignore or --strict, mypy will complain if you use # type: ignore[import] to ignore an import error. You are expected to use one of the more specific error codes instead. Otherwise, ignoring the import error code continues to silence both errors.

This feature was contributed by Shantanu (PR 15840, PR 14740).

Remove Support for Targeting Python 3.6 and Earlier

Running mypy with --python-version 3.6, for example, is no longer supported. Python 3.6 hasn’t been properly supported by mypy for some time now, and this makes it explicit. This was contributed by Nikita Sobolev (PR 15668).

Selective Filtering of --disallow-untyped-calls Targets

Using --disallow-untyped-calls could be annoying when using libraries with missing type information, as mypy would generate many errors about code that uses the library. Now you can use --untyped-calls-exclude=acme, for example, to disable these errors about calls targeting functions defined in the acme package. Refer to the documentation for more information.

This feature was contributed by Ivan Levkivskyi (PR 15845).

Improved Type Inference between Callable Types

Mypy now does a better job inferring type variables inside arguments of callable types. For example, this code fragment now type checks correctly:

def f(c: Callable[[T, S], None]) -> Callable[[str, T, S], None]: ...
def g(*x: int) -> None: ...
</tr></table>

... (truncated)

Commits

Updates types-requests from 2.31.0.8 to 2.31.0.10

Commits

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 python group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [pypdf](https://github.com/py-pdf/pypdf) | `3.16.3` | `3.16.4` |
| [aws-lambda-powertools](https://github.com/aws-powertools/powertools-lambda-python) | `2.25.1` | `2.26.0` |
| [boto3](https://github.com/boto/boto3) | `1.28.62` | `1.28.66` |
| [aws-xray-sdk](https://github.com/aws/aws-xray-sdk-python) | `2.12.0` | `2.12.1` |
| [black](https://github.com/psf/black) | `23.9.1` | `23.10.0` |
| [mypy](https://github.com/python/mypy) | `1.5.1` | `1.6.1` |
| [types-requests](https://github.com/python/typeshed) | `2.31.0.8` | `2.31.0.10` |


Updates `pypdf` from 3.16.3 to 3.16.4
- [Release notes](https://github.com/py-pdf/pypdf/releases)
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md)
- [Commits](py-pdf/pypdf@3.16.3...3.16.4)

Updates `aws-lambda-powertools` from 2.25.1 to 2.26.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@v2.25.1...v2.26.0)

Updates `boto3` from 1.28.62 to 1.28.66
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.28.62...1.28.66)

Updates `aws-xray-sdk` from 2.12.0 to 2.12.1
- [Release notes](https://github.com/aws/aws-xray-sdk-python/releases)
- [Changelog](https://github.com/aws/aws-xray-sdk-python/blob/master/CHANGELOG.rst)
- [Commits](aws/aws-xray-sdk-python@2.12.0...2.12.1)

Updates `black` from 23.9.1 to 23.10.0
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@23.9.1...23.10.0)

Updates `mypy` from 1.5.1 to 1.6.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.5.1...v1.6.1)

Updates `types-requests` from 2.31.0.8 to 2.31.0.10
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: pypdf
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python
- dependency-name: aws-lambda-powertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: boto3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python
- dependency-name: aws-xray-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: types-requests
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies python Pull requests that update Python code labels Oct 19, 2023
@changeset-bot
Copy link

changeset-bot bot commented Oct 19, 2023

🦋 Changeset detected

Latest commit: 9cf316d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
arcane-scripts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chizmw chizmw merged commit 709848d into main Oct 20, 2023
1 check passed
@chizmw chizmw deleted the dependabot/pip/python-064528f0a6 branch October 20, 2023 09:05
@chizmw chizmw added the deps Pull requests that update a dependency label Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps Pull requests that update a dependency python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant