Loading pkgs/development/python-modules/gluonts/default.nix +11 −7 Original line number Diff line number Diff line { stdenv, lib, stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch, pythonAtLeast, # build-system setuptools, Loading @@ -20,7 +21,7 @@ lightning, scipy, # test # tests pytestCheckHook, distutils, matplotlib, Loading @@ -30,7 +31,7 @@ which, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "gluonts"; version = "0.16.2"; pyproject = true; Loading @@ -38,10 +39,13 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "awslabs"; repo = "gluonts"; tag = "v${version}"; tag = "v${finalAttrs.version}"; 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 Loading Loading @@ -100,7 +104,7 @@ buildPythonPackage rec { writableTmpDirAsHomeHook which ] ++ optional-dependencies.torch; ++ finalAttrs.passthru.optional-dependencies.torch; disabledTestPaths = [ # requires `cpflows`, not in Nixpkgs Loading @@ -119,8 +123,8 @@ buildPythonPackage rec { meta = { description = "Probabilistic time series modeling in Python"; homepage = "https://ts.gluon.ai"; changelog = "https://github.com/awslabs/gluonts/releases/tag/${src.tag}"; changelog = "https://github.com/awslabs/gluonts/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ bcdarwin ]; }; } }) Loading
pkgs/development/python-modules/gluonts/default.nix +11 −7 Original line number Diff line number Diff line { stdenv, lib, stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch, pythonAtLeast, # build-system setuptools, Loading @@ -20,7 +21,7 @@ lightning, scipy, # test # tests pytestCheckHook, distutils, matplotlib, Loading @@ -30,7 +31,7 @@ which, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "gluonts"; version = "0.16.2"; pyproject = true; Loading @@ -38,10 +39,13 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "awslabs"; repo = "gluonts"; tag = "v${version}"; tag = "v${finalAttrs.version}"; 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 Loading Loading @@ -100,7 +104,7 @@ buildPythonPackage rec { writableTmpDirAsHomeHook which ] ++ optional-dependencies.torch; ++ finalAttrs.passthru.optional-dependencies.torch; disabledTestPaths = [ # requires `cpflows`, not in Nixpkgs Loading @@ -119,8 +123,8 @@ buildPythonPackage rec { meta = { description = "Probabilistic time series modeling in Python"; homepage = "https://ts.gluon.ai"; changelog = "https://github.com/awslabs/gluonts/releases/tag/${src.tag}"; changelog = "https://github.com/awslabs/gluonts/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ bcdarwin ]; }; } })