Skip to content

Releases: smarie/python-pytest-cases

3.9.1 - support for python 3.14 and pytest 8.4

09 Jun 20:04
Compare
Choose a tag to compare
  • Fixed AttributeError: 'MiniMetafunc' object has no attribute '_params_directness' when a case function is
    parametrized or requires a fixtures, with pytest 8.4.0. Fixed
    #365
  • Fixed ValueError: The provided fixture function does not seem to be a fixture with @fixture_ref with pytest
    8.4.0. Fixed #364
  • Dropped support for python<3.9 and pytest<6. Fixes
    #362 and fixes
    #186
  • Fixed test suite for python 3.14, officializing the support for this version.

See documentation page for details.

3.9.0 - support for python 3.14 and pytest 8.6

09 Jun 19:25
996091e
Compare
Choose a tag to compare
  • Fixed AttributeError: 'MiniMetafunc' object has no attribute '_params_directness' when a case function is
    parametrized or requires a fixtures, with pytest 8.4.0. Fixed
    #365
  • Fixed ValueError: The provided fixture function does not seem to be a fixture with @fixture_ref with pytest
    8.4.0. Fixed #364
  • Dropped support for python<3.9 and pytest<6. Fixes
    #362 and fixes
    #186
  • Fixed test suite for python 3.14, officializing the support for this version.

See documentation page for details.

3.8.6 - compatibility fix

26 Sep 22:02
Compare
Choose a tag to compare
  • Fixed issue with legacy python 2.7 and 3.5. Fixes #352.

See documentation page for details.

3.8.5 - Suppressed annoying warning with pytest 8

04 Apr 21:28
Compare
Choose a tag to compare
  • Fixed PytestRemovedIn9Warning: Marks applied to fixtures have no effect. Fixed
    #337

See documentation page for details.

3.8.4 - Removed debug logs

16 Mar 01:22
Compare
Choose a tag to compare
  • Reverted DEBUG flag used for pytest 8 compatibility. Fixed
    #336

See documentation page for details.

3.8.3 - Support for `pytest` version 8

08 Mar 21:24
0d257b2
Compare
Choose a tag to compare

See documentation page for details.

3.8.2 - bugfixes and project improvements

12 Jan 10:35
Compare
Choose a tag to compare
  • Fixed issue with upcoming pytest 8.1 release. PR
    #322 by
    @bluetech
  • Corrected API documentation (and comments) for the second file-name
    pattern for AUTO-cases lookup (cases_<name>.py instead of
    case_<name>.py). PR #320
    by @michele-riva.
  • Fixed AssertionError on AUTO cases outside a 'normal' test module.
    Fixes #309. PR
    #320 by
    @michele-riva.
  • Improved error message in case of cases loading error in @parametrize_with_cases when the cases argument
    is a string refering to a relative or absolute module name. Fixed import file mismatch with
    pytest 8 when executing our own tests.
    Fixes #323.
  • Fixed failing tests in our builds due to the event_loop_policy fixture that appeared in pytest-asyncio 0.23.
    Fixes part of
    #321.

See documentation page for details.

3.8.1 - bugfixes

10 Nov 12:31
ac7f3c3
Compare
Choose a tag to compare
  • Fixed ScopeMismatch with parametrized cases in non-trivial test
    trees. scope is now correctly handled for (i) fixture cases, and
    (ii) fixtures defined in conftest.py files at any depth. Fixes
    #311. PR
    #317 by @michele-riva.

See documentation page for details.

3.8.0 - async, generators and strict-markers

11 Oct 13:27
Compare
Choose a tag to compare
  • @fixture and @parametrize are now async and generator aware. Fixes
    #286. PR
    #301 by jgersti.
  • Fixed error with pytest --strict-markers. Fixes
    #283. PR
    #300 by chrsmcgrr.

See documentation page for details.

3.7.0 - python 3.12

10 Oct 21:07
65c1bed
Compare
Choose a tag to compare
  • Added official support for Python 3.10, 3.11 and 3.12. Fixes #314
  • Fixed ModuleNotFoundError: distutils on Python 3.12 thanks to packaging. PR
    #312 by @jayqi.
  • Internal: switched to virtualenv backend.

See documentation page for details.