Breaking changes:
- Default command changed from
docker-compose
todocker compose
, so the V2 is the default one.
Chore:
- Set dependency on
attrs
to be the same as inpytest
Breaking changes:
- Default behavior is not to install
docker-compose
at all when installingpytest-docker
with PIP. Use thedocker-compose-v1
extra.
Feat:
- Add support for Docker Compose v2 via a new pytest fixture,
docker_compose_command
that should returndocker compose
.
Feat:
- In get_docker_ip(), if
DOCKER_HOST
is using theunix:
scheme then return "127.0.0.1"
Changes:
- Add
docker_setup
fixture to allow custom setup actions for docker-compose (contributed by @raddessi)
Changes:
- Add support for
pytest
v7 (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_cleanup
fixture to allow custom cleanup actions for docker-compose
Changes:
- Add explicit dependencies on
docker-compose
andpytest
- Stop using deprecated
pytest-runner
to run package tests
Changes:
- Update package README
- Minor packaging related fixes
- Fix description content type in
setup.cfg
- Add
skip_cleanup
option 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_file
fixture
- Added
--build
option todocker-compose up
command to automatically rebuild local containers