NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #2549 most downloaded on PyPI
Simple pytest fixtures for Docker and Docker Compose based tests
Latest stable
3.2.6
Last release 1 months ago
16 Oct 2026
Release timing varies
gaps range from 5 weeks to 13 months
Most releases are documented
notes for 28 of 35 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
35 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
ci: support for newer pythons by @racinmat in https://github.com/avast/pytest-docker/pull/132
Full Changelog: https://github.com/avast/pytest-docker/compare/v3.2.5...v3.2.6
ci improvements by @augi in https://github.com/avast/pytest-docker/pull/128
--wait in the default setup command by @mikeroll in https://github.com/avast/pytest-docker/pull/129Full Changelog: https://github.com/avast/pytest-docker/compare/v3.2.4...v3.2.5
Your coding agent can read these notes before it upgrades. Set up the MCP server →
chore(deps): pytest 9.x allowed by @augi in https://github.com/avast/pytest-docker/pull/127
Full Changelog: https://github.com/avast/pytest-docker/compare/v3.2.3...v3.2.4
Fix mypy error in the plugin by @s-t-e-v-e-n-k in https://github.com/avast/pytest-docker/pull/125
Full Changelog: https://github.com/avast/pytest-docker/compare/v3.2.2...v3.2.3
fix: docker host doesn't need to start with tcp:// by @lexi-k in https://github.com/avast/pytest-docker/pull/121
tcp:// by @lexi-k in https://github.com/avast/pytest-docker/pull/121Full Changelog: https://github.com/avast/pytest-docker/compare/v3.2.1...v3.2.2
Fix non-existing docker_setup_command into docker_setup by @alexbarcelo in https://github.com/avast/pytest-docker/pull/118
Full Changelog: https://github.com/avast/pytest-docker/compare/v3.2.0...v3.2.1
Add option to ignore stderr when executing commands by @rabbull in https://github.com/avast/pytest-docker/pull/115
Full Changelog: https://github.com/avast/pytest-docker/compare/v3.1.2...v3.2.0
Document how to use multiple compose files by @edgarrmondragon in https://github.com/avast/pytest-docker/pull/113
Full Changelog: https://github.com/avast/pytest-docker/compare/v3.1.1...v3.1.2
Type annotation for docker_compose_file fixed.
Type annotation for docker_compose_file fixed.
Nothing published for this version
Python 3.8+ is now required, and Python 3.6 and 3.7 support was dropped. This comes with pytest v8 support.
Python 3.8+ is now required, and Python 3.6 and 3.7 support was dropped. This comes with pytest v8 support.
Ability to supply multiple commands for docker_setup and docker_cleanup, without breaking change
Ability to supply multiple commands for docker_setup and docker_cleanup, without breaking change (#99)
Configurable containers scope.
Configurable containers scope.
Nothing published for this version
Default command changed from docker-compose to docker compose, so the V2 is the default one.
Breaking changes:
Set dependency on attrs to be the same as in pytest
Chore:
attrs to be the same as in pytestDefault behavior is not to install docker-compose at all when installing pytest-docker with PIP. Use the docker-compose-v1 extra.
Breaking changes:
docker-compose at all when
installing pytest-docker with PIP. Use the docker-compose-v1 extra.Feat:
docker_compose_command that should return docker compose.In get_docker_ip(), if DOCKER_HOST is using the unix: scheme then return "127.0.0.1"
Feat:
DOCKER_HOST is using the unix: scheme then return "127.0.0.1"Add docker_setup fixture to allow custom setup actions for docker-compose (contributed by @raddessi)
Changes:
docker_setup fixture to allow custom setup actions for docker-compose
(contributed by @raddessi)relax pytest version constraint to support v7
Changes:
Ensure that Docker cleanup is executed even with after tests have failed
Changes:
Allow higher version of attrs (21.0)
Changes:
attrs (21.0)- Changes: - Allow higher version of attrs
attrsChanges: - Drop Python3.5 support
Changes: - Drop Python3.5 support
Add the docker_cleanup fixture to allow custom cleanup actions for docker-compose
Changes:
- Add the docker_cleanup fixture to allow custom cleanup actions for
docker-compose
Remove support for Python2 (couple of small changes regarding bytes/strings) Changing package description files
Remove support for Python2 (couple of small changes regarding bytes/strings) Changing package description files
migrate to setup.cfg/setup.py combination
add pylint and pycodestyle checks
Changing TravisCI configuration
add tests for Python versions 3.5 to 3.8
add PYPi deployment section
Move some things around.
Fixes #41
Changes:
docker-compose and pytestpytest-runner to run package testsUpdate README Update travis settings
Update README Update travis settings
Fix description content type in setup.cfg
setup.cfgskip_cleanup option to travis-ci settingsNothing published for this version
Added ability to return list of files from docker_compose_file fixture
docker_compose_file fixtureNothing published for this version
Nothing published for this version
Added --build option to docker-compose up command to automatically rebuild local containers
--build option to docker-compose up command to automatically
rebuild local containersNothing published for this version
Nothing published for this version
One column per quarter.