From 084fd4a0cd78e88663d26abc05ae5d20adeead74 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sun, 3 Nov 2024 09:43:36 -0500 Subject: [PATCH 1/2] Remove tests_isolated from default tests run with pytest This is to prevent pytest from running tests together which need to be isolated. In the future we should try to fix these tests so they don't need to be run isolated from others. --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6dae9cea..bfd8d44b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,6 @@ warn_unused_ignores = false [tool.pytest.ini_options] testpaths = [ "tests", - "tests_isolated", ] addopts = [ "--cov=cmd2", From 5d05e99bca69016732b61dee421aa8be80d136b2 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sun, 3 Nov 2024 09:49:32 -0500 Subject: [PATCH 2/2] Updated CHANGELOG in preparation for a new release While this bug won't impact cmd2 development itself, it will create chaos for consumers such as Linux distros trying to execute cmd2 tests when packaging it. --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d4a4cb5c..1442a73f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 2.5.2 (November 3, 2024) +* Bug Fixes + * Fixed default `pytest` execution when not using cmd2's custom `invoke` command via `inv pytest` + # 2.5.1 (November 2, 2024) * Bug Fixes * Fixed readline bug when using `ipy` command with `gnureadline` and Python 3.13