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 togetfixturedefs
signature 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-xdist
and python 3.5:pathlib
objects 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
-
pandas
is now only imported when used, to speed up boot time. Fixes #49 -
Fixed issue with latest
pytest
+pytest-xdist
versions:pytest_harvest_xdist_worker_dump
hook 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_dct
now 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_value
parameters frompytest-cases
were wrongly inserted in themodule_results_df
as integer instead of objects. Fixed #43 thanks to newpytest-cases
2.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 tosix
for setup and addedpy.typed
file, as well as set thezip_safe
flag 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.