diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2025-12-07 22:11:15 +0100 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2025-12-12 11:58:36 +0100 |
| commit | 2e2294ff262b0a24293fc024e21974799dedcb3c (patch) | |
| tree | b96d9c07926649ee26fc0c7529e87fea9fd458db /gnu/packages/machine-learning.scm | |
| parent | 75016a2ee813b80314b75b31026d790318d64284 (diff) | |
gnu: python-autograd-gamma: Fix build.
* gnu/packages/machine-learning.scm (python-autograd-gamma): Fix build.
[source]: Switch to git-fetch to have tests.
[native-inputs]: Remove python-wheel; add python-pytest.
Change-Id: Ibb034a65f212917620bb1080f20e6ddc2347c65e
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'gnu/packages/machine-learning.scm')
| -rw-r--r-- | gnu/packages/machine-learning.scm | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 66861c67b4f..929820e14ab 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -210,14 +210,18 @@ representations and sentence classification.") (version "0.5.0") (source (origin - (method url-fetch) - (uri (pypi-uri "autograd-gamma" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/CamDavidsonPilon/autograd-gamma") + ;; The 5.0.0 version is not tagged, but can only be this commit. + (commit "5876e0320865c592ed4a370c6a6ef282cf163480"))) + (file-name (git-file-name name version)) (sha256 - (base32 "1i699a9m5ndnj8cwzjjf2agb77aawhzrzxfbmn5zrkxridxvnypj")))) + (base32 "0hpjnpw7bsy1xja4pnxx5fvv7xly72lp3hdazhr9zbmn6s7vcs19")))) (build-system pyproject-build-system) (native-inputs - (list python-setuptools - python-wheel)) + (list python-pytest + python-setuptools)) (propagated-inputs (list python-autograd python-scipy)) |
