Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Update moto requirement from <4.2.5,>=3.1.16 to >=3.1.16,<5.0.1 #376

Closed
wants to merge 1 commit into from

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

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@3.1.16...5.0.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner January 29, 2024 13:45
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 29, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 5, 2024

Superseded by #378.

@dependabot dependabot bot closed this Feb 5, 2024
@dependabot dependabot bot deleted the dependabot/pip/moto-gte-3.1.16-and-lt-5.0.1 branch February 5, 2024 13:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

0 participants