From 79826d67e675d5eaaaabda72a7c55c6eefa39215 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 28 Jun 2025 22:50:45 +0200 Subject: [PATCH] python313Packages.yte: 1.8.1 -> 1.9.0 Changelog: https://github.com/yte-template-engine/yte/blob/v1.9.0/CHANGELOG.md --- pkgs/development/python-modules/yte/default.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/yte/default.nix b/pkgs/development/python-modules/yte/default.nix index 7193fd480cb2..4cc8bcfc4ace 100644 --- a/pkgs/development/python-modules/yte/default.nix +++ b/pkgs/development/python-modules/yte/default.nix @@ -1,19 +1,19 @@ { lib, + argparse-dataclass, buildPythonPackage, dpath, fetchFromGitHub, numpy, - plac, - poetry-core, pytestCheckHook, pythonOlder, pyyaml, + uv-build, }: buildPythonPackage rec { pname = "yte"; - version = "1.8.1"; + version = "1.9.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -22,14 +22,14 @@ buildPythonPackage rec { owner = "koesterlab"; repo = "yte"; tag = "v${version}"; - hash = "sha256-0YIZd0qgtriyD+xCxJZENY7Z1fART3MS8pubnpysGRc="; + hash = "sha256-kA4fQg2vpgDuW0OZOqzA6lggJLtSiQo+3SCOp7hnt8M="; }; - build-system = [ poetry-core ]; + build-system = [ uv-build ]; dependencies = [ dpath - plac + argparse-dataclass pyyaml ]; @@ -40,8 +40,6 @@ buildPythonPackage rec { pythonImportsCheck = [ "yte" ]; - pytestFlagsArray = [ "tests.py" ]; - preCheck = '' # The CLI test need yte on the PATH export PATH=$out/bin:$PATH