[Backport release-24.11] python312Packages.tensorly: unbreak (incorrect source hash) (#358357)

This commit is contained in:
Weijia Wang 2024-11-23 11:01:35 +01:00 committed by GitHub
commit 801f67cb6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,12 +6,13 @@
pytestCheckHook, pytestCheckHook,
pythonOlder, pythonOlder,
scipy, scipy,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "tensorly"; pname = "tensorly";
version = "0.9.0"; version = "0.9.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -19,10 +20,12 @@ buildPythonPackage rec {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-kj32N0hwdI/DS0WwpH4cr3xhq+3X53edodU3/SEorqw="; hash = "sha256-A6Zlp8fa7XFgf4qpg7SEtNLlYSNtDGLuRUEfzD+crQc=";
}; };
propagatedBuildInputs = [ build-system = [ setuptools ];
dependencies = [
numpy numpy
scipy scipy
]; ];
@ -40,6 +43,7 @@ buildPythonPackage rec {
"tensorly.tenalg" "tensorly.tenalg"
"tensorly.decomposition" "tensorly.decomposition"
"tensorly.regression" "tensorly.regression"
"tensorly.solvers"
"tensorly.metrics" "tensorly.metrics"
"tensorly.random" "tensorly.random"
"tensorly.datasets" "tensorly.datasets"
@ -58,6 +62,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Tensor learning in Python"; description = "Tensor learning in Python";
homepage = "https://tensorly.org/"; homepage = "https://tensorly.org/";
changelog = "https://github.com/tensorly/tensorly/releases/tag/${version}";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ bcdarwin ]; maintainers = with maintainers; [ bcdarwin ];
}; };