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

build(deps-dev): bump tomodachi-testcontainers from 0.10.4 to 1.1.0 #73

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 Jan 29, 2024

Bumps tomodachi-testcontainers from 0.10.4 to 1.1.0.

Release notes

Sourced from tomodachi-testcontainers's releases.

1.1.0 (2024-01-25)

New features

  • (#180) clients.SNSSQSTestClient: SNSSQSTestClient.receive now returns message attributes. The returned message is now wrapped in a SQSMessage dataclass, containing the payload and message_attributes fields. It's a small breaking change for clients that use the receive method, because the message's payload is now wrapped in the payload attribute.

1.0.1 (2024-01-23)

Fixes

  • (#179) WireMockContainer: fixed mapping_stubs and mapping_files argument precedence over environment variables.

1.0.0 (2024-01-20) 🎉

New features

  • New documentation available at https://filipsnastins.github.io/tomodachi-testcontainers/

  • WireMockContainer: adds wiremock_container pytest fixture.

  • WireMockContainer: adds reset_wiremock_container_on_teardown pytest fixture that deletes all WireMock stub mappings after each test.

  • edge_port in all Testcontainers now defaults to None. When it's None, the container will be started with a random port generated by tomodachi_testcontainers.utils.get_available_port().

  • tomodachi_testcontainers.pytest module removed, and the code moved one level up:

    • tomodachi_testcontainers.fixtures
    • tomodachi_testcontainers.assertions
    • tomodachi_testcontainers.async_probes

Breaking changes

  • Removed the leading underscore from restart_localstack_container_on_teardown and reset_moto_container_on_teardown pytest fixture names.

  • Fixtures moto_snssqs_tc and localstack_snssqs_tc are now session-scoped (@pytest.fixture(scope="session")).

  • Fixture testcontainers_docker_image renamed to testcontainer_image.

  • Renamed environment variables:

    Old name New name
    TOMODACHI_TESTCONTAINER_DOCKER_NETWORK TESTCONTAINER_DOCKER_NETWORK
    TOMODACHI_TESTCONTAINER_DOCKERFILE_PATH TESTCONTAINER_DOCKERFILE_PATH
    TOMODACHI_TESTCONTAINER_DOCKER_BUILD_CONTEXT TESTCONTAINER_DOCKER_BUILD_CONTEXT
    TOMODACHI_TESTCONTAINER_DOCKER_BUILD_TARGET TESTCONTAINER_DOCKER_BUILD_TARGET
    TOMODACHI_TESTCONTAINER_IMAGE_ID TESTCONTAINER_IMAGE_ID

... (truncated)

Changelog

Sourced from tomodachi-testcontainers's changelog.

1.1.0 (2024-01-25)

New features

  • (#180) clients.SNSSQSTestClient: SNSSQSTestClient.receive now returns message attributes. The returned message is now wrapped in a SQSMessage dataclass, containing the payload and message_attributes fields. It's a small breaking change for clients that use the receive method, because the message's payload is now wrapped in the payload attribute.

1.0.1 (2024-01-23)

Fixes

  • (#179) WireMockContainer: fixed mapping_stubs and mapping_files argument precedence over environment variables.

1.0.0 (2024-01-20) 🎉

New features

  • New documentation available at https://filipsnastins.github.io/tomodachi-testcontainers/

  • WireMockContainer: adds wiremock_container pytest fixture.

  • WireMockContainer: adds reset_wiremock_container_on_teardown pytest fixture that deletes all WireMock stub mappings after each test.

  • edge_port in all Testcontainers now defaults to None. When it's None, the container will be started with a random port generated by tomodachi_testcontainers.utils.get_available_port().

  • tomodachi_testcontainers.pytest module removed, and the code moved one level up:

    • tomodachi_testcontainers.fixtures
    • tomodachi_testcontainers.assertions
    • tomodachi_testcontainers.async_probes

Breaking changes

  • Removed the leading underscore from restart_localstack_container_on_teardown and reset_moto_container_on_teardown pytest fixture names.

  • Fixtures moto_snssqs_tc and localstack_snssqs_tc are now session-scoped (@pytest.fixture(scope="session")).

  • Fixture testcontainers_docker_image renamed to testcontainer_image.

  • Renamed environment variables:

    Old name New name
    TOMODACHI_TESTCONTAINER_DOCKER_NETWORK TESTCONTAINER_DOCKER_NETWORK
    TOMODACHI_TESTCONTAINER_DOCKERFILE_PATH TESTCONTAINER_DOCKERFILE_PATH
    TOMODACHI_TESTCONTAINER_DOCKER_BUILD_CONTEXT TESTCONTAINER_DOCKER_BUILD_CONTEXT

... (truncated)

Commits
  • f01a287 1.1.0
  • 207f4a2 Merge pull request #180 from filipsnastins/feature/snssqs-test-client-receive...
  • 54575ef refactor(clients.snssqs): parse sns message attrs first
  • 89fe3da test & doc: use updated snssqs test client receive function
  • 0986d3a feat(snssqs.publisher): receive message attributes
  • 76c090a feat(snssqs.publisher): wrap received sqs message
  • 4b94d72 doc: typo
  • ad191da 1.0.1
  • cd790c7 Merge pull request #179 from filipsnastins/fix/wiremock-mapping-file-path
  • d45fcab test: delete envvars to test mapping stubs from arguments
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [tomodachi-testcontainers](https://github.com/filipsnastins/tomodachi-testcontainers) from 0.10.4 to 1.1.0.
- [Release notes](https://github.com/filipsnastins/tomodachi-testcontainers/releases)
- [Changelog](https://github.com/filipsnastins/tomodachi-testcontainers/blob/main/CHANGELOG.md)
- [Commits](filipsnastins/tomodachi-testcontainers@0.10.4...1.1.0)

---
updated-dependencies:
- dependency-name: tomodachi-testcontainers
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 29, 2024
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.

0 participants