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

Update moto requirement from <5.0.0 to <6.0.0 in /requirements #775

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 5, 2024

Updates the requirements on moto to permit the latest version.

Changelog

Sourced from moto's changelog.

5.0.1

Docker Digest for 5.0.1: sha256:b6004b2e112c0ba870b2103049548abecec476edeac7a724ed9c71249358e821

New Methods:
    * SecretsManager:
        * remove_regions_from_replication()
        * replicate_secret_to_regions()

Miscellaneous: * AWSLambda: create_event_source_mapping() now supports Kinesis streams as targets * CloudFront: Removed error handling for InvalidOriginServer, as our validation was too strict * DynamoDB: batch_execute_statement() now supports for Update/Insert/Delete-statements * DynamoDB: query() now correctly handles calls where both Limit and ScanIndexForward are supplied * EC2: Now supports availability zones for eu-central-2 (Zurich) * S3: list_objects_v2() can now return more then 1000 results max (again) * S3: copy_object() now allows in-place copies when bucket versioning is enabled * SecretsManager: create_secrets() now supports the parameters AddReplicaRegions and ForceOverwriteReplicaSecret * SecretsManager: list_secrets() now supports the filters primary-region and owning-service

5.0.0

Docker Digest for 5.0.0: sha256:2faf2460a6446dfe472ac0d799e00341b1c84203d08540c247a6cc09be7c54e9

General:
    * All decorators have been replaced with a single decorator:
      `mock_aws`
* The `mock_batch_simple` and `mock_lambda_simple` decorators can now be configured using the `config`-parameter:
  `@mock_aws(config={&quot;batch&quot;: {&quot;use_docker&quot;: False}, &quot;lambda&quot;: {&quot;use_docker&quot;: False}})`
  • It is now possible to configure methods/services which should reach out to AWS.
    @mock_aws(
    config={&quot;core&quot;: {&quot;mock_credentials&quot;: False, &quot;passthrough&quot;: {&quot;urls&quot;: [], &quot;services&quot;: []}}}
    )

  • All requests now return a RequestId

Miscellaneous:

* IAM: The AWS managed Policies are no longer loaded by default.
  If your application depends on these policies, tell Moto explicitly to load them like so:

@mock_aws(config={&quot;iam&quot;: {&quot;load_aws_managed_policies&quot;: True}})

Or by setting an environment variable:
MOTO_IAM_LOAD_MANAGED_POLICIES=true

  • S3: list_objects() now returns a hashed ContinuationToken

... (truncated)

Commits
  • 046d0d0 Prep release 5.0.1 (#7308)
  • a4b7187 S3: Allow in place copies when bucket versioning is enabled (#7303)
  • 7eb3c57 chore: update SSM default parameters (#7307)
  • e8626a8 chore: update EC2 Instance Types (#7306)
  • 4b8b3e2 chore: update EC2 Instance Offerings (#7305)
  • 62647ab DynamoDB: Improve support for Update-statements in batch_execute-statement() ...
  • 3e775ca Bump software.amazon.awssdk:bom in /other_langs/tests_java (#7299)
  • 23ab00e Bump org.apache.maven.plugins:maven-surefire-plugin (#7298)
  • 911b5f1 Admin: Fix scaffold script imports (#7296)
  • cd146a5 chore: update SSM default AMI's (#7293)
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [moto](https://github.com/getmoto/moto) to permit the latest version.
- [Release notes](https://github.com/getmoto/moto/releases)
- [Changelog](https://github.com/getmoto/moto/blob/master/CHANGELOG.md)
- [Commits](getmoto/moto@4.2.8...5.0.1)

---
updated-dependencies:
- dependency-name: moto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from willingc February 5, 2024 16:20
Copy link
Member

@MSeal MSeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm seems like this isn't making the dependency installs happy. I remember this needing to be pinned due to package conflicts in the past. If you can track down the offending conflicts and they're resolvable I'd be happy to merge but without that the builds can't progress.

@bnavigator
Copy link
Contributor

See cb2eb37

According to the changelog, moto removed the mock_s3 decorator. It is all mock_aws now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants