* gnu/packages/patches/python-onnx-shared-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/machine-learning.scm (python-onnx)[source]: Use it.
[arguments]: New field.
* gnu/packages/machine-learning.scm (xnnpack): New variable.
* gnu/packages/patches/xnnpack-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/machine-learning.scm (gemmlowp): New variable, based on
'gemmlowp-for-tensorflow'.
(gemmlowp-for-tensorflow): Rewrite to inherit from GEMMLOWP.
[properties]: New field.
* gnu/packages/machine-learning.scm (onnx-optimizer): New variable.
* gnu/packages/patches/onnx-optimizer-system-library.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bioinformatics.scm (sailfish)[arguments]: Use
'search-input-directory' when searching for Eigen headers.
* gnu/packages/bioinformatics.scm (nanopolish): Likewise.
* gnu/packages/machine-learning.scm (tensorflow): Likewise.
* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 0.24.1.
[propagated-inputs]: Add python-threadpoolctl.
(python2-scikit-learn)[inputs,native-inputs,propagated-inputs]: Do not
inherit these fields.
* gnu/packages/machine-learning.scm (ghmm): Remove trailing #t.
[phases]: Do not reorder the check phase after the install phase.
{fix-PYTHONPATH}: Remove phase.
* gnu/packages/python-xyz.scm (python-pep517): Inherit from
python-pep517-bootstrap. Remove the inherited common fields.
(python-poetry-core, python-wheel)
(python-toml): Move to ...
* gnu/packages/python-build.scm: ... here, a new module.
(python-pep517-bootstrap): New package.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register the new module.
* gnu/packages/python-xyz.scm (python-pep517): Inherit from
python-pep517-bootstrap. Remove the inherited common fields.
(python-poetry-core, python-wheel)
(python-toml): Move to ...
* gnu/packages/python-build.scm: ... here, a new module.
(python-pep517-bootstrap): New package.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register the new module.
It was failing on a /bin/sh occurrence patched twice in the configure script:
sh: ./configure:/gnu/store/...-bash-minimal-5.0.16/gnu/store/...-bash-minimal-5.0.1:bad
interpreter: No such file or directory
* gnu/packages/machine-learning.scm (ocaml-mcl)[phases]{patch-paths}: Do not
patch the configure script.
Move the 3 lisp libraries that are not in lisp-xyz.scm with the others.
* gnu/packages/machine-learning.scm (sbcl-cl-libsvm-format, cl-libsvm-format,
ecl-cl-libsvm-format, sbcl-cl-online-learning, cl-online-learning,
ecl-cl-online-learning, sbcl-cl-random-forest, cl-random-forest,
ecl-cl-random-forest): Move to ...
* gnu/packages/lisp-xyz.scm (sbcl-cl-libsvm-format, cl-libsvm-format,
ecl-cl-libsvm-format, sbcl-cl-online-learning, cl-online-learning,
ecl-cl-online-learning, sbcl-cl-random-forest, cl-random-forest,
ecl-cl-random-forest): ... here.
This prevents conflicting variants of python-prompt-toolkit from being
installed, which prevented jupyter from being installed.
* gnu/packages/python-xyz.scm (python-ipython)[propagated-inputs]: Replace
python-prompt-toolkit with python-prompt-toolkit-2.
(python-widgetsnbextension)[propagated-inputs]: Do not use
prompt-toolkit-2-instead-of-prompt-toolkit on python-ipykernel.
(python-ipywidgets)[propagated-inputs]: Do not use
prompt-toolkit-2-instead-of-prompt-toolkit on python-ipython.
(python-jupyter-console)[propagated-inputs]: Do not use
prompt-toolkit-2-instead-of-prompt-toolkit on python-ipykernel.
(prompt-toolkit-2-instead-of-prompt-toolkit): Remove variable.
* gnu/packages/machine-learning.scm (python-iml)[propagated-inputs]: Do not
use prompt-toolkit-2-instead-of-prompt-toolkit on python-ipython.