Releases: smarie/python-pytest-harvest
1.10.5 - pytest 8.1 compat
PR #70 to ensure pytest 8.1 compatibility, including:
- Fixed issue with
pytest>=8.1: FixedAttributeError: 'str' object has no attribute 'iter_parents',
#68. Initial proposal in PR
#67 by @larsoner. - Fixed issue with
pytest>=8.1: Adapt togetfixturedefssignature change, initial proposal in PR
#65 by @bluetech.
Dropped support for pytest 2. Issue #66.
See documentation page for details.
1.10.4 - python 3.5 xdist bugfix
- Fixed issue with
pytest-xdistand python 3.5:pathlibobjects were not properly handled by other stdlib modules in this python version. Fixed #59 - Changed the layout
See documentation page for details.
1.10.3 - xdist bugfix + lazy `pandas` loading
-
pandasis now only imported when used, to speed up boot time. Fixes #49 -
Fixed issue with latest
pytest+pytest-xdistversions:pytest_harvest_xdist_worker_dumphook is now called correctly. Fixes #48
See documentation page for details.
1.10.2 - CI/CD change
- This is a technical release to validate that migration to Github Actions worked.
See documentation page for details.
1.10.1 - Now supporting `::` in test ids
get_session_synthesis_dctnow properly handles test ids where::is present in the id. This fix propagates to all[module/session]_results_[dct/df]fixtures, too. Fixes #45
See documentation page for details.
1.10.0 - Fixed issue on old pytest
- On pytest < 5.3,
lazy_valueparameters frompytest-caseswere wrongly inserted in themodule_results_dfas integer instead of objects. Fixed #43 thanks to newpytest-cases2.3.0.
See documentation page for details.
1.9.3 - Fixed support for doctests
See documentation page for details.
1.9.2 - bugfix
- Fixed issue sometimes happening when xdist is not installed. Fixed #40
See documentation page for details.
1.9.1 - better packaging
- packaging improvements: set the "universal wheel" flag to 1, and cleaned up the
setup.py. In particular removed dependency tosixfor setup and addedpy.typedfile, as well as set thezip_safeflag to False. Removed tests folder from package. Fixes #38
See documentation page for details.
1.9.0 - better pytest-xdist support
When pytest-xdist is used to distribute tests, worker node results are automatically stored in a file at the end of their respective pytest session using pickle, in a temporary .xdist_harvested/ folder. These results are automatically retrived and consolidated when any of the get_[module/session]_results_[dct/df] method is called from the master node. Finally, the temporary folder is deleted at the end of master node session. Fixes #36
New function get_fixture_store(session) to replace FIXTURE_STORE. It is robust to xdist distribution, hence preferred over direct use of FIXTURE_STORE.
See documentation page for details.