Unverified Commit 2b66b901 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #220905 from fabaff/dash-fix

python310Packages.dash: 2.7.0 -> 2.8.1 
parents 75f6f790 9d8ee314
Loading
Loading
Loading
Loading
+13 −7
Original line number Diff line number Diff line
@@ -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 ];
  };