nteract / papermill

📚 Parameterize, execute, and analyze notebooks
http://papermill.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
5.99k stars 428 forks source link

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

Open dependabot[bot] opened 9 months ago

dependabot[bot] commented 9 months ago

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

bnavigator commented 9 months ago

See https://github.com/nteract/papermill/commit/cb2eb378d51b954c74f31f7be110c8caa691423a

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