Skip to content

Commit

Permalink
Merge branch 'dev' into master-2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcjohnson committed May 11, 2022
2 parents 8c73426 + e774908 commit cff8119
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
All notable changes to `dash` will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/).

## [2.4.1] - 2022-05-11

### Fixed

- Fix [#2045](https://github.com/plotly/dash/issues/2045) import error when using pytest but `dash[testing]` is not installed.

## [2.4.0] - 2022-05-11

### Added
Expand Down
12 changes: 11 additions & 1 deletion dash/testing/plugin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# pylint: disable=missing-docstring,redefined-outer-name
from typing import Any

import pytest
from .consts import SELENIUM_GRID_DEFAULT

Expand All @@ -13,7 +15,15 @@
from dash.testing.browser import Browser
from dash.testing.composite import DashComposite, DashRComposite, DashJuliaComposite
except ImportError:
pass
# Running pytest without dash[testing] installed.
ThreadedRunner = Any
ProcessRunner = Any
RRunner = Any
JuliaRunner = Any
Browser = Any
DashComposite = Any
DashRComposite = Any
DashJuliaComposite = Any


def pytest_addoption(parser):
Expand Down
2 changes: 1 addition & 1 deletion dash/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.4.0"
__version__ = "2.4.1"

0 comments on commit cff8119

Please sign in to comment.