diff --git a/docs/changelog.md b/docs/changelog.md index 205aec23..b92795de 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,7 +1,10 @@ # Changelog -### 3.8.2 (in progress) - bugfixes +### 3.8.2 (in progress) - bugfixes and compliance with pytest 8 + - Fixed `import file mismatch` with pytest 8 when executing tests. Improved + error message in case of cases loading error. + Fixes [#323](https://github.com/smarie/python-pytest-cases/issues/323). - Corrected API documentation (and comments) for the second file-name pattern for `AUTO`-cases lookup (`cases_.py` instead of `case_.py`). PR [#320](https://github.com/smarie/python-pytest-cases/pull/320) diff --git a/noxfile.py b/noxfile.py index 18b2cbb6..c9794e53 100644 --- a/noxfile.py +++ b/noxfile.py @@ -24,11 +24,13 @@ (PY310, "pytest-latest"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": ""}}, # python 3.9 - put first to detect easy issues faster. (PY39, "pytest-latest"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": ""}}, + (PY39, "pytest7.x"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": "<8"}}, (PY39, "pytest6.x"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": "<7"}}, # python 3.8 (PY38, "pytest4.x"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": "<5"}}, (PY38, "pytest5.x"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": "<6", "pytest-asyncio": DONT_INSTALL}}, (PY38, "pytest6.x"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": "<7"}}, + (PY38, "pytest7.x"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": "<8"}}, (PY38, "pytest-latest"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": ""}}, # python 2.7 (PY27, "pytest3.x"): {"coverage": False, "pkg_specs": {"pip": ">10", "pytest": "<4", "pytest-asyncio": DONT_INSTALL}}, @@ -48,6 +50,7 @@ (PY37, "pytest4.x"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": "<5"}}, (PY37, "pytest5.x"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": "<6", "pytest-asyncio": DONT_INSTALL}}, (PY37, "pytest6.x"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": "<7"}}, + (PY37, "pytest7.x"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": "<8"}}, # IMPORTANT: this should be last so that the folder docs/reports is not deleted afterwards (PY37, "pytest-latest"): {"coverage": True, "pkg_specs": {"pip": ">19", "pytest": ""}} }