Breaking changes:
- Default command changed from
docker-composetodocker compose, so the V2 is the default one.
Chore:
- Set dependency on
attrsto be the same as inpytest
Breaking changes:
- Default behavior is not to install
docker-composeat all when installingpytest-dockerwith PIP. Use thedocker-compose-v1extra.
Feat:
- Add support for Docker Compose v2 via a new pytest fixture,
docker_compose_commandthat should returndocker compose.
Feat:
- In get_docker_ip(), if
DOCKER_HOSTis using theunix:scheme then return "127.0.0.1"
Changes:
- Add
docker_setupfixture to allow custom setup actions for docker-compose (contributed by @raddessi)
Changes:
- Add support for
pytestv7 (contributed by @skshetry)
Changes:
- Ensure that Docker cleanup is executed even with after tests have failed
Changes:
- Allow higher version of
attrs(21.0)
Changes:
- Allow higher version of
attrs
Changes:
- Drop Python3.5 support
Changes:
- Add the
docker_cleanupfixture to allow custom cleanup actions for docker-compose
Changes:
- Add explicit dependencies on
docker-composeandpytest - Stop using deprecated
pytest-runnerto run package tests
Changes:
- Update package README
- Minor packaging related fixes
- Fix description content type in
setup.cfg - Add
skip_cleanupoption to travis-ci settings
- Fix description content type in
- Removed the fallback method that allowed running without Docker
- Package cleanup
- Added ability to return list of files from
docker_compose_filefixture
- Added
--buildoption todocker-compose upcommand to automatically rebuild local containers