Fix PAO and its dependencies.

This commit is contained in:
Star Dorminey 2023-04-17 15:09:03 -07:00
parent 2e66fd2623
commit 75b74ea3fb
2 changed files with 15 additions and 0 deletions

View file

@ -10707,6 +10707,9 @@
"panflute": [
"setuptools"
],
"pao": [
"setuptools"
],
"papermill": [
"setuptools"
],

View file

@ -1285,6 +1285,14 @@ lib.composeManyExtensions [
buildInputs = (old.buildInputs or [ ]) ++ [ self.setuptools self.setuptools-scm self.setuptools-scm-git-archive ];
});
munch = super.munch.overridePythonAttrs (
old: {
# Latest version of pypi imports pkg_resources at runtime, so setuptools is needed at runtime. :(
# They fixed this last year but never released a new version.
propagatedBuildInputs = (old.propagatedBuildInputs or [ ]) ++ [ self.setuptools ];
}
);
mpi4py = super.mpi4py.overridePythonAttrs (
old:
let
@ -1607,6 +1615,10 @@ lib.composeManyExtensions [
'';
});
pao = super.pao.overridePythonAttrs (old: {
propagatedBuildInputs = old.propagatedBuildInputs or [ ] ++ [ self.pyutilib ];
});
paramiko = super.paramiko.overridePythonAttrs (old: {
doCheck = false; # requires networking
});