- Same as v3.1.0, but with proper version number and fully released.
- Support for Python 3.7 and 3.8 is now dropped, while official support for 3.12 and 3.13 was added (with no code changes required).
pytest.ini(required to run self-tests) is now included in sdists (#39).- New
pytest_xvfb_disablehook to dynamically disable pytest-xvfb.
- New
--xvfb-backendargument, 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 changes required).
- The
Xvfbinstance is now no longer saved in pytest'sconfigobject asconfig.xvfbanymore, and only available via thexvfbfixture. - Xvfb is now shut down as late as possible (via an
atexithook 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_markeris now used, which restores compatibility with pytest 4.1.0 and requires pytest 3.6.0 or newer.
- The
xvfb_argsoption is now a single line parsed withshlex.split. - The
XvfbExitedErrorexception now includes stdout and stderr.
- Use PyVirtualDisplay to start/stop Xvfb
- Show a warning on Linux if Xvfb is unavailable
- Add a new
xvfb_xauthsetting which creates anXAUTHORITYfile.
- 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
xvfbfixture is now session-scoped.
- Initial release