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

Merge pull request #198709 from fabaff/mezzanine-fix

python310Packages.mezzanine: add missing extra dependency
parents 19161417 da20b081
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@

buildPythonPackage rec {
  pname = "aeppl";
  version = "0.0.35";
  version = "0.0.38";
  format = "setuptools";

  disabled = pythonOlder "3.7";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
    owner = "aesara-devs";
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-HUcLa/9fTUBJYszo1SiG08t7DQiNSd8EsINkJpAeLsY=";
    hash = "sha256-B9ZZEzGW4i0RRUaTAYiQ7+7pe4ArpSGcp/x4B6G7EYo=";
  };

  propagatedBuildInputs = [
+3 −2
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ buildPythonPackage rec {
    owner = "aesara-devs";
    repo = "aesara";
    rev = "refs/tags/rel-${version}";
    hash = "sha256-Mt1IweQkPqxv+ynezdFHTJXU/oTOwhPkY49GzFJpPaM=";
    hash = "sha256-xtnz+qKW2l8ze0EXdL9mkx0MzfAnmauC9042W2cVc5o=";
  };

  nativeBuildInputs = [
@@ -74,14 +74,15 @@ buildPythonPackage rec {
    "tests/scan/"
    "tests/tensor/"
    "tests/sandbox/"
    "tests/sparse/sandbox/"
  ];

  meta = with lib; {
    broken = (stdenv.isLinux && stdenv.isAarch64);
    description = "Python library to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays";
    homepage = "https://github.com/aesara-devs/aesara";
    changelog = "https://github.com/aesara-devs/aesara/releases";
    license = licenses.bsd3;
    maintainers = with maintainers; [ Etjean ];
    broken = (stdenv.isLinux && stdenv.isAarch64);
  };
}
+6 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@

buildPythonPackage rec {
  pname = "arviz";
  version = "0.12.1";
  version = "0.13.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";
@@ -40,7 +40,7 @@ buildPythonPackage rec {
    owner = "arviz-devs";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-5P6EXXAAS1Q2eNQuj/5JrDg0lPHfA5K4WaYfKaaXm9s=";
    hash = "sha256-DGTGUMnkEQcwGR44WhmBpTBMcRcAtVIpM4YVnnlakE8=";
  };

  propagatedBuildInputs = [
@@ -90,6 +90,10 @@ buildPythonPackage rec {
    "test_plot_separation"
    "test_plot_trace_legend"
    "test_cov"
    # countourpy is not available at the moment
    "test_plot_kde"
    "test_plot_kde_2d"
    "test_plot_pair"
  ];

  pythonImportsCheck = [
+15 −4
Original line number Diff line number Diff line
@@ -5,14 +5,16 @@
, six
, html5lib
, setuptools
, tinycss2
, packaging
, pythonOlder
, webencodings
}:

buildPythonPackage rec {
  pname = "bleach";
  version = "5.0.1";
  disabled = pythonOlder "3.6";
  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
@@ -20,12 +22,19 @@ buildPythonPackage rec {
  };

  propagatedBuildInputs = [
    packaging
    six
    html5lib
    packaging
    setuptools
    six
    webencodings
  ];

  passthru.optional-dependencies = {
    css = [
      tinycss2
    ];
  };

  checkInputs = [
    pytestCheckHook
  ];
@@ -35,7 +44,9 @@ buildPythonPackage rec {
    "protocols"
  ];

  pythonImportsCheck = [ "bleach" ];
  pythonImportsCheck = [
    "bleach"
  ];

  meta = with lib; {
    description = "An easy, HTML5, whitelisting HTML sanitizer";
+13 −4
Original line number Diff line number Diff line
@@ -3,17 +3,21 @@
, fetchFromGitHub
, numpy
, python
, pythonOlder
}:

buildPythonPackage rec {
  pname = "cma";
  version = "3.2.2";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "CMA-ES";
    repo = "pycma";
    rev = "refs/tags/r${version}";
    sha256 = "sha256-STF7jtLqI2KiWvvI9/reRjP1XyW8l4/qy9uAPpE9mTs=";
    hash = "sha256-STF7jtLqI2KiWvvI9/reRjP1XyW8l4/qy9uAPpE9mTs=";
  };

  propagatedBuildInputs = [
@@ -21,13 +25,18 @@ buildPythonPackage rec {
  ];

  checkPhase = ''
    ${python.executable} -m cma.test
    # At least one doctest fails, thus only limited amount of files is tested
    ${python.executable} -m cma.test interfaces.py purecma.py logger.py optimization_tools.py transformations.py
  '';

  pythonImportsCheck = [
    "cma"
  ];

  meta = with lib; {
    description = "CMA-ES, Covariance Matrix Adaptation Evolution Strategy for non-linear numerical optimization in Python";
    description = "Library for Covariance Matrix Adaptation Evolution Strategy for non-linear numerical optimization";
    homepage = "https://github.com/CMA-ES/pycma";
    license = licenses.bsd3;
    maintainers = [ maintainers.costrouc ];
    maintainers = with maintainers; [ costrouc ];
  };
}
Loading