From 0316057306fb6e46c6485e059d7183922c6c7240 Mon Sep 17 00:00:00 2001 From: philippe Date: Thu, 16 Mar 2023 13:51:10 -0400 Subject: [PATCH 1/3] Fix pytest make report --- dash/testing/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dash/testing/plugin.py b/dash/testing/plugin.py index 206afe1165..00008c2b4c 100644 --- a/dash/testing/plugin.py +++ b/dash/testing/plugin.py @@ -105,10 +105,10 @@ def pytest_addhooks(pluginmanager): @pytest.hookimpl(tryfirst=True, hookwrapper=True) def pytest_runtest_makereport(item, call): # pylint: disable=unused-argument - if not _installed: - return # execute all other hooks to obtain the report object outcome = yield + if not _installed: + return rep = outcome.get_result() # we only look at actual failing test calls, not setup/teardown From 341000ba31ffbf47cc54f35dcdbe4432d47342e0 Mon Sep 17 00:00:00 2001 From: philippe Date: Thu, 16 Mar 2023 15:22:31 -0400 Subject: [PATCH 2/3] Update changelog. --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c299eae041..8fda963c15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to `dash` will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/). +## [UNRELEASED] + +## Fixed + +- [#2461](https://github.com/plotly/dash/pull/2461) Fix pytest plugin make report when testing not installed, fix [#2420](https://github.com/plotly/dash/issues/2420) + ## [2.9.0] - 2023-03-16 ## Breaking From dcd91efb8a9d2d4f4f23b1ac52e123364cc9f5ad Mon Sep 17 00:00:00 2001 From: philippe Date: Fri, 17 Mar 2023 10:02:55 -0400 Subject: [PATCH 3/3] Version 2.9.1 --- CHANGELOG.md | 2 +- dash/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fda963c15..12ac2d9fd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to `dash` will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/). -## [UNRELEASED] +## [2.9.1] - 2023-03-17 ## Fixed diff --git a/dash/version.py b/dash/version.py index 43ce13db01..334087f851 100644 --- a/dash/version.py +++ b/dash/version.py @@ -1 +1 @@ -__version__ = "2.9.0" +__version__ = "2.9.1"