mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
Merge pull request #208143 from fabaff/plotnine-fix
python310Packages.mizani: 0.7.4 -> 0.8.1, python310Packages.plotnine: 0.9.0 -> 0.10.1
This commit is contained in:
commit
ba9b5904a8
@ -6,7 +6,8 @@
|
|||||||
, chex
|
, chex
|
||||||
, dm-haiku
|
, dm-haiku
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, jaxlib }:
|
, jaxlib
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "distrax";
|
pname = "distrax";
|
||||||
@ -53,5 +54,7 @@ buildPythonPackage rec {
|
|||||||
homepage = "https://github.com/deepmind/distrax";
|
homepage = "https://github.com/deepmind/distrax";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ onny ];
|
maintainers = with maintainers; [ onny ];
|
||||||
|
# Broken on all platforms (starting 2022-07-27)
|
||||||
|
broken = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -7,12 +7,13 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, scipy
|
, scipy
|
||||||
|
, setuptools-scm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mizani";
|
pname = "mizani";
|
||||||
version = "0.7.4";
|
version = "0.8.1";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
@ -20,9 +21,13 @@ buildPythonPackage rec {
|
|||||||
owner = "has2k1";
|
owner = "has2k1";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-oqbo/aQ5L1nQO8BvXH6/8PBPiWcv2m/LUjwow8+J90w=";
|
hash = "sha256-VE0M5/s8/XmmAe8EE/FcHBFGc9ppVWuYOYMuajQeZww=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
matplotlib
|
matplotlib
|
||||||
palettable
|
palettable
|
||||||
@ -46,6 +51,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Scales for Python";
|
description = "Scales for Python";
|
||||||
homepage = "https://github.com/has2k1/mizani";
|
homepage = "https://github.com/has2k1/mizani";
|
||||||
|
changelog = "https://github.com/has2k1/mizani/releases/tag/v${version}";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ samuela ];
|
maintainers = with maintainers; [ samuela ];
|
||||||
};
|
};
|
||||||
|
@ -1,26 +1,36 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, fetchPypi
|
|
||||||
, buildPythonPackage
|
|
||||||
, matplotlib
|
|
||||||
, scipy
|
|
||||||
, patsy
|
|
||||||
, pandas
|
|
||||||
, statsmodels
|
|
||||||
, pytestCheckHook
|
|
||||||
, geopandas
|
|
||||||
, scikit-misc
|
|
||||||
, adjusttext
|
, adjusttext
|
||||||
, mizani }:
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, geopandas
|
||||||
|
, matplotlib
|
||||||
|
, mizani
|
||||||
|
, pandas
|
||||||
|
, patsy
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, scikit-misc
|
||||||
|
, scipy
|
||||||
|
, setuptools-scm
|
||||||
|
, statsmodels
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "plotnine";
|
pname = "plotnine";
|
||||||
version = "0.9.0";
|
version = "0.10.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-DompMBXzxx1oRKx6qfsNoJuQj199+n3V1opcoysuvOo=";
|
hash = "sha256-2RKgS2ONz4IsUaZ4i4VmQjI0jVFfFR2zpkwAAZZvaEE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace " --cov=plotnine --cov-report=xml" ""
|
--replace " --cov=plotnine --cov-report=xml" ""
|
||||||
@ -69,7 +79,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Grammar of graphics for python";
|
description = "Grammar of graphics for python";
|
||||||
homepage = "https://plotnine.readthedocs.io/en/stable";
|
homepage = "https://plotnine.readthedocs.io/";
|
||||||
|
changelog = "https://github.com/has2k1/plotnine/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ onny ];
|
maintainers = with maintainers; [ onny ];
|
||||||
};
|
};
|
||||||
|
@ -1,38 +1,53 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, cython
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy27
|
, matplotlib
|
||||||
, nose
|
|
||||||
, numpy
|
, numpy
|
||||||
, scipy
|
|
||||||
, pandas
|
, pandas
|
||||||
, patsy
|
, patsy
|
||||||
, cython
|
, pythonOlder
|
||||||
, matplotlib
|
, scipy
|
||||||
|
, setuptools-scm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "statsmodels";
|
pname = "statsmodels";
|
||||||
version = "0.13.4";
|
version = "0.13.5";
|
||||||
disabled = isPy27;
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-juXRtp9kvA6TeWZ0Ve41hYSdXmvNPz5I5Yumytrf6tU=";
|
hash = "sha256-WTUmrK4cD9oOpsSEOfZ8OUMJTFQv52n4uQ/p5sbMSHE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cython ];
|
nativeBuildInputs = [
|
||||||
checkInputs = [ nose ];
|
cython
|
||||||
propagatedBuildInputs = [ numpy scipy pandas patsy matplotlib ];
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
numpy
|
||||||
|
scipy
|
||||||
|
pandas
|
||||||
|
patsy
|
||||||
|
matplotlib
|
||||||
|
];
|
||||||
|
|
||||||
# Huge test suites with several test failures
|
# Huge test suites with several test failures
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "statsmodels" ];
|
|
||||||
|
|
||||||
meta = {
|
pythonImportsCheck = [
|
||||||
|
"statsmodels"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Statistical computations and models for use with SciPy";
|
description = "Statistical computations and models for use with SciPy";
|
||||||
homepage = "https://www.github.com/statsmodels/statsmodels";
|
homepage = "https://www.github.com/statsmodels/statsmodels";
|
||||||
license = lib.licenses.bsd3;
|
changelog = "https://github.com/statsmodels/statsmodels/releases/tag/v${version}";
|
||||||
maintainers = with lib.maintainers; [ fridh ];
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ fridh ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user