Merge pull request #307492 from Stunkymonkey/python311Packages-pymc-fix-setuptools

python311Packages.pymc: fix setuptools
This commit is contained in:
Fabian Affolter 2024-04-28 22:32:57 +02:00 committed by GitHub
commit 22c650c185
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,7 @@
, pythonOlder
, scipy
, typing-extensions
, setuptools
}:
buildPythonPackage rec {
@ -26,6 +27,10 @@ buildPythonPackage rec {
hash = "sha256-tiOXbryY2TmeBVrG5cIMeDJ4alolBQ5LosdfH3tpVOA=";
};
build-system = [
setuptools
];
postPatch = ''
substituteInPlace setup.py \
--replace-fail ', "pytest-cov"' ""