- New
--xvfb-backend
argument, which can be used to run Xephyr or Xvnc in place of Xvfb (e.g. for visual inspection but on a remote system or a consistent screen size needed). - Support for Python 3.5 and 3.6 is now dropped, while official support for 3.9, 3.10 and 3.11 was added (with no code chances required).
- The
Xvfb
instance is now no longer saved in pytest'sconfig
object asconfig.xvfb
anymore, and only available via thexvfb
fixture. - Xvfb is now shut down as late as possible (via an
atexit
hook registered at import time), seemingly avoiding errors such as "XIO: fatal IO error 0 (Success)". - Code reformatting using black/shed.
- Packaging refresh using
pyproject.toml
.
- PyVirtualDisplay 1.3 and newer is now supported, support for older versions was dropped.
- Support for Python 2.7, 3.3 and 3.4 is now dropped.
- Support for Python 3.6, 3.7 and 3.8 was added (no code changes required).
- Xvfb is now not started anymore in the xdist master process.
Item.get_closest_marker
is now used, which restores compatibility with pytest 4.1.0 and requires pytest 3.6.0 or newer.
- The
xvfb_args
option is now a single line parsed withshlex.split
. - The
XvfbExitedError
exception now includes stdout and stderr.
- Use PyVirtualDisplay to start/stop Xvfb
- Show a warning on Linux if Xvfb is unavailable
- Add a new
xvfb_xauth
setting which creates anXAUTHORITY
file.
- The temporary directory searched for logfiles is now hardcoded to /tmp as that's what X11 does as well.
- The
no_xvfb
-marker is now registered automatically so pytest doesn't fail when run with--strict
. - The
xvfb
fixture is now session-scoped.
- Initial release