gnu: python-scikit-learn: Fix build.

* gnu/packages/machine-learning.scm (python-scikit-learn):
[phases]{patch-pyproject}: Remove license modification line.

Change-Id: I19585e113e8f32c506841afbdfbc957ad44539da
This commit is contained in:
Sharlatan Hellseher 2026-01-24 20:57:16 +00:00
parent 22ccec35c9
commit 8307dd6ea4
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2362,9 +2362,6 @@ performance computing environments.")
(add-after 'unpack 'patch-pyproject (add-after 'unpack 'patch-pyproject
(lambda _ (lambda _
(substitute* "pyproject.toml" (substitute* "pyproject.toml"
;; XXX: error: Field `project.license` has an invalid type,
;; expecting a dictionary of strings (got `BSD-3-Clause`)
(("^license = .*") "license = {text = \"BSD-3-Clause\"}\n")
;; FIXME: This line contains regexps and breaks toml parser. ;; FIXME: This line contains regexps and breaks toml parser.
(("notice-rgx.*") "")))) (("notice-rgx.*") ""))))
(add-before 'build 'configure (add-before 'build 'configure