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 ^4.1 to >=4.1,<6.0 #33

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 1, 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

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 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)

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.1.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 dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 1, 2024
@eduardoklosowski
Copy link
Owner

@dependabot rebase

Copy link
Author

dependabot bot commented on behalf of github Sep 5, 2024

Looks like moto is no longer updatable, so this is no longer needed.

@dependabot dependabot bot closed this Sep 5, 2024
@dependabot dependabot bot deleted the dependabot/pip/moto-gte-4.1-and-lt-6.0 branch September 5, 2024 00:52
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