From ffff7c634e75d0055279e9a0f173c37be319ae72 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 Jan 2024 15:36:11 +0100 Subject: [PATCH 1/3] python311Packages.weasel: update meta --- pkgs/development/python-modules/weasel/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/weasel/default.nix b/pkgs/development/python-modules/weasel/default.nix index a8137ccd3814..0ba881088c9c 100644 --- a/pkgs/development/python-modules/weasel/default.nix +++ b/pkgs/development/python-modules/weasel/default.nix @@ -59,8 +59,9 @@ buildPythonPackage rec { ]; meta = with lib; { - description = "Weasel: A small and easy workflow system"; + description = "A small and easy workflow system"; homepage = "https://github.com/explosion/weasel/"; + changelog = "https://github.com/explosion/weasel/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ GaetanLepage ]; }; From 42f9dfc75b1409f71f4258bbbf88f430d67a008d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 Jan 2024 15:36:50 +0100 Subject: [PATCH 2/3] python311Packages.weasel: remove wheel --- pkgs/development/python-modules/weasel/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/weasel/default.nix b/pkgs/development/python-modules/weasel/default.nix index 0ba881088c9c..94854968c928 100644 --- a/pkgs/development/python-modules/weasel/default.nix +++ b/pkgs/development/python-modules/weasel/default.nix @@ -3,7 +3,6 @@ , pythonOlder , fetchFromGitHub , setuptools -, wheel , cloudpathlib , confection , packaging @@ -32,7 +31,6 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools - wheel ]; propagatedBuildInputs = [ From 44511ca9b6a427e99f79d6c2ebe19a729c72b724 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 Jan 2024 15:37:59 +0100 Subject: [PATCH 3/3] python311Packages.weasel: relax constraint for cloudpathlib Acc. to https://github.com/drivendataorg/cloudpathlib/releases/tag/v0.17.0 does 0.17.0 not contain breaking changes --- pkgs/development/python-modules/weasel/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/weasel/default.nix b/pkgs/development/python-modules/weasel/default.nix index 94854968c928..a5433c81db0e 100644 --- a/pkgs/development/python-modules/weasel/default.nix +++ b/pkgs/development/python-modules/weasel/default.nix @@ -1,18 +1,19 @@ { lib , buildPythonPackage -, pythonOlder -, fetchFromGitHub -, setuptools , cloudpathlib , confection +, fetchFromGitHub , packaging , pydantic +, pytestCheckHook +, pythonOlder +, pythonRelaxDepsHook , requests +, setuptools , smart-open , srsly , typer , wasabi -, pytestCheckHook }: buildPythonPackage rec { @@ -29,7 +30,12 @@ buildPythonPackage rec { hash = "sha256-6Ck8R10/YW2Nc6acNk2bzgyqSg+OPqwyJjhUgXP/umw="; }; + pythonRelaxDeps = [ + "cloudpathlib" + ]; + nativeBuildInputs = [ + pythonRelaxDepsHook setuptools ];