python3Packages.compressed-tensors: disable on python 3.14 due to torch issue

This commit is contained in:
Sarah Clark
2026-02-24 12:53:02 -08:00
parent 64810e46ef
commit 28ea32e9aa
@@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
# build-system
setuptools,
@@ -35,6 +36,9 @@ buildPythonPackage (finalAttrs: {
hash = "sha256-XsQRP186ISarMMES3P+ov4t/1KKJdl0tXBrfpjyM3XA=";
};
# RuntimeError("torch.compile is not supported on Python 3.14+")
disabled = pythonAtLeast "3.14";
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools_scm==8.2.0" "setuptools_scm"