From 74e33613f323a9ef4190f05934fec6419f1ef224 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 31 Jan 2026 21:04:15 +0000 Subject: [PATCH] python3Packages.gluonts: disable on python>=3.14 Tracking: https://github.com/NixOS/nixpkgs/issues/475732 --- pkgs/development/python-modules/gluonts/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/gluonts/default.nix b/pkgs/development/python-modules/gluonts/default.nix index 2d91cf17fe6b..743e3562350f 100644 --- a/pkgs/development/python-modules/gluonts/default.nix +++ b/pkgs/development/python-modules/gluonts/default.nix @@ -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