python3Packages.gluonts: disable on python>=3.14

Tracking: https://github.com/NixOS/nixpkgs/issues/475732
This commit is contained in:
Gaetan Lepage
2026-01-31 21:04:15 +00:00
parent a9cbf26761
commit 74e33613f3
@@ -4,6 +4,7 @@
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
pythonAtLeast,
# build-system
setuptools,
@@ -42,6 +43,9 @@ buildPythonPackage (finalAttrs: {
hash = "sha256-h0+RYgGMz0gPchiKGIu0/NGcWBky5AWNTJKzoupn/iQ=";
};
# pydantic.v1.errors.ConfigError: unable to infer type for attribute "target"
disabled = pythonAtLeast "3.14";
patches = [
# Fixes _pickle.UnpicklingError: Weights only load failed.
# https://github.com/awslabs/gluonts/pull/3269