Releases: smarie/python-pytest-cases
Releases · smarie/python-pytest-cases
3.9.1 - support for python 3.14 and pytest 8.4
- 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
andpytest<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
- 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
andpytest<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
- 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
- Fixed
PytestRemovedIn9Warning: Marks applied to fixtures have no effect
. Fixed
#337
See documentation page for details.
3.8.4 - Removed debug logs
- Reverted
DEBUG
flag used for pytest 8 compatibility. Fixed
#336
See documentation page for details.
3.8.3 - Support for `pytest` version 8
See documentation page for details.
3.8.2 - bugfixes and project improvements
- Fixed issue with upcoming
pytest 8.1
release. PR
#322 by
@bluetech - Corrected API documentation (and comments) for the second file-name
pattern forAUTO
-cases lookup (cases_<name>.py
instead of
case_<name>.py
). PR #320
by @michele-riva. - Fixed
AssertionError
onAUTO
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 thecases
argument
is a string refering to a relative or absolute module name. Fixedimport 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 inpytest-asyncio
0.23
.
Fixes part of
#321.
See documentation page for details.
3.8.1 - bugfixes
- Fixed
ScopeMismatch
with parametrized cases in non-trivial test
trees.scope
is now correctly handled for (i)fixture
cases, and
(ii) fixtures defined inconftest.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
3.7.0 - python 3.12
- Added official support for Python 3.10, 3.11 and 3.12. Fixes #314
- Fixed
ModuleNotFoundError: distutils
on Python 3.12 thanks topackaging
. PR
#312 by @jayqi. - Internal: switched to virtualenv backend.
See documentation page for details.