testcontainers-python
testcontainers-python copied to clipboard
Testcontainers is a Python library that providing a friendly API to run Docker container. It is designed to create runtime environment to use during your automatic tests.
:robot: I have created a release *beep* *boop* --- ## [4.14.0](https://github.com/testcontainers/testcontainers-python/compare/testcontainers-v4.13.3...testcontainers-v4.14.0) (2025-12-05) ### Features * Add ExecWaitStrategy and migrate Postgres from deprecated decorator ([#935](https://github.com/testcontainers/testcontainers-python/issues/935)) ([2d9eee3](https://github.com/testcontainers/testcontainers-python/commit/2d9eee30442ec8adbf4a42fcd308cd6377b41c06)) ### Bug Fixes * add...
**Describe the bug** NatsContainer does not seem to work with JetStream **To Reproduce** Run the [example_basic.py](https://github.com/testcontainers/testcontainers-python/blob/main/modules/nats/example_basic.py) in the nats module. You will first have to update the file as it...
It seems that the 4.13 release introduced a new deprecation warning around the `@wait_container_is_ready` decorator. The deprecation warning itself works as expected and the description is comprehensive. There is a...
**Describe the bug** When applying a 'waiting_for' to a DockerCompose object with a HealthcheckWaitStrategy, it returns an AttributeError: “ComposeContainer” object has no attribute “attrs”. **To Reproduce** ```python import os from...
Add py.typed marker files to core and all module packages to indicate type information is available. This enables type checkers like Pyright and mypy to recognize and validate type hints...
Add py.typed marker files to core and all module packages to indicate type information is available. This enables type checkers like Pyright and mypy to recognize and validate type hints...
## Summary Adds `py.typed` marker files to all testcontainers packages to comply with [PEP 561](https://peps.python.org/pep-0561/) and enable type checking support. ## Motivation Without `py.typed` markers, type checkers like Pyright and...
Although this is a new technology, it works much faster than poetry, and it also has all the features of working with workspaces that could be very well suited to...
**Describe the bug** Pull request #822 created a nice-looking docs site. But coming to this repo, I see links to the now almost-empty old docs: https://testcontainers-python.readthedocs.io/en/latest/ Shouldn't we be sending...