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

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

python311Packages.pymc: fix setuptools
parents 06eef1a9 9d39bb6c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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"' ""