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,>=4.0 to >=4.0,<6 #580

Merged
merged 3 commits into from
Mar 17, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 29, 2024

Updates the requirements on moto to permit the latest version.

Changelog

Sourced from moto's changelog.

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

4.2.14

Docker Digest for 4.2.14: sha256:2fa10aa48e32f85c63c62a7d437b8a4b320a56a8494bc25d45ced370bc159c23

New Services:
    * Backup:
        * create_backup_plan()
        * create_backup_vault()
        * get_backup_plan()
        * describe_backup_vault()
        * delete_backup_plan()
        * list_backup_plans()
        * list_backup_vaults()
        * list_tags()
        * tag_resource()
        * untag_resource()

New Methods: * RDS:

... (truncated)

Commits
  • 0255717 Prep Release V5
  • 38f6359 Refactoring: Adding typing for event message structure (#7234)
  • 38ee3fa Prep release 5.0.0alpha3
  • 09c5751 MotoServer: skip using HTTP_HOST header when determining request origin (#7225)
  • 8199a88 Techdebt: Update scaffolding to use mock_aws (#7221)
  • dea4a98 Techdebt: Remove old/deprecated code (#7220)
  • 16ba3de Techdebt: Verify minimum boto3-version, up minimum responses version (#7218)
  • f834d98 IAM: Only load AWS Managed Policies on request (#7219)
  • 0c8ccbb Techdebt: Hide private decorator-methods/attributes (#7216)
  • 5aa3cc9 S3: list_objects_v2() should have a hashed NextContinuationToken (#7187)
  • 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.0.0...5.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 29, 2024
Copy link
Collaborator

@karan6181 karan6181 left a comment

Choose a reason for hiding this comment

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

@dependabot squash and merge

@dependabot dependabot bot merged commit 8a90e11 into main Mar 17, 2024
8 checks passed
@dependabot dependabot bot deleted the dependabot/pip/moto-gte-4.0-and-lt-6 branch March 17, 2024 20:00
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant