Merge pull request #248759 from tjni/statsmodels
python3.pkgs.statsmodels: add build dependencies and fix constraints
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, matplotlib
|
||||
, numpy
|
||||
, oldest-supported-numpy
|
||||
, pandas
|
||||
, patsy
|
||||
, pythonOlder
|
||||
, scipy
|
||||
, setuptools-scm
|
||||
, wheel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -23,9 +26,20 @@ buildPythonPackage rec {
|
||||
hash = "sha256-aHXH1onpZtlI8V64FqtWFvSShwaxgM9HD9WQerb2R6Q=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/statsmodels/statsmodels/pull/8969
|
||||
(fetchpatch {
|
||||
name = "unpin-setuptools-scm.patch";
|
||||
url = "https://github.com/statsmodels/statsmodels/commit/cfad8d81166e9b1392ba99763b95983afdb6d61b.patch";
|
||||
hash = "sha256-l7cQHodkPm399a+3qIVmXPk/Ca+CqJDyWXWgjb062nM=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
oldest-supported-numpy
|
||||
setuptools-scm
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user