Merge pull request #220905 from fabaff/dash-fix

python310Packages.dash: 2.7.0 -> 2.8.1
This commit is contained in:
Fabian Affolter 2023-03-13 08:33:54 +01:00 committed by GitHub
commit 2b66b9019f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@
buildPythonPackage rec {
pname = "dash";
version = "2.7.0";
version = "2.8.1";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -30,16 +30,16 @@ buildPythonPackage rec {
owner = "plotly";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-kxat6CjX4xPEtlhRiYJF5wN2Luds7DduZyiUA9/kKWY=";
hash = "sha256-6FsLvLsqnkSt/i27q/JJGfNh2zxKeA0t6VYNPCzhR0w=";
};
propagatedBuildInputs = [
plotly
flask
flask-compress
dash-core-components
dash-html-components
dash-table
flask
flask-compress
plotly
];
passthru.optional-dependencies = {
@ -55,9 +55,9 @@ buildPythonPackage rec {
};
nativeCheckInputs = [
pytestCheckHook
pytest-mock
mock
pytest-mock
pytestCheckHook
pyyaml
];
@ -67,6 +67,11 @@ buildPythonPackage rec {
"tests/integration"
];
disabledTests = [
# Failed: DID NOT RAISE <class 'ImportError'>
"test_missing_flask_compress_raises"
];
pythonImportsCheck = [
"dash"
];
@ -74,6 +79,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python framework for building analytical web applications";
homepage = "https://dash.plot.ly/";
changelog = "https://github.com/plotly/dash/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ antoinerg ];
};