Skip to content

Releases: smarie/python-pytest-harvest

1.10.5 - pytest 8.1 compat

16 Mar 00:57
Compare
Choose a tag to compare

PR #70 to ensure pytest 8.1 compatibility, including:

  • Fixed issue with pytest>=8.1: Fixed AttributeError: 'str' object has no attribute 'iter_parents',
    #68. Initial proposal in PR
    #67 by @larsoner.
  • Fixed issue with pytest>=8.1: Adapt to getfixturedefs 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

10 Jun 08:10
28f16f7
Compare
Choose a tag to compare
  • 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

01 Apr 16:49
Compare
Choose a tag to compare
  • 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

22 Mar 17:01
Compare
Choose a tag to compare
  • 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

08 Dec 23:10
Compare
Choose a tag to compare
  • 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

13 Oct 10:43
Compare
Choose a tag to compare
  • On pytest < 5.3, lazy_value parameters from pytest-cases were wrongly inserted in the module_results_df as integer instead of objects. Fixed #43 thanks to new pytest-cases 2.3.0.

See documentation page for details.

1.9.3 - Fixed support for doctests

18 Sep 20:39
Compare
Choose a tag to compare

See documentation page for details.

1.9.2 - bugfix

27 May 09:09
Compare
Choose a tag to compare
  • Fixed issue sometimes happening when xdist is not installed. Fixed #40

See documentation page for details.

1.9.1 - better packaging

25 Apr 13:57
Compare
Choose a tag to compare
  • packaging improvements: set the "universal wheel" flag to 1, and cleaned up the setup.py. In particular removed dependency to six for setup and added py.typed file, as well as set the zip_safe flag to False. Removed tests folder from package. Fixes #38

See documentation page for details.

1.9.0 - better pytest-xdist support

19 Feb 21:13
Compare
Choose a tag to compare

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.