From adb17e6bd7da7f9e8c4fd98249547862ca95ec2b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 7 Dec 2024 16:38:47 +0100 Subject: [PATCH] python312Packages.py-tes: 0.4.2 -> 1.1.0 Diff: https://github.com/ohsu-comp-bio/py-tes/compare/refs/tags/0.4.2...1.1.0 Changelog: https://github.com/ohsu-comp-bio/py-tes/releases/tag/1.1.0 --- .../python-modules/py-tes/default.nix | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/py-tes/default.nix b/pkgs/development/python-modules/py-tes/default.nix index b7d46b97f5b1..ef7f7a47fb9a 100644 --- a/pkgs/development/python-modules/py-tes/default.nix +++ b/pkgs/development/python-modules/py-tes/default.nix @@ -9,27 +9,32 @@ pythonOlder, requests, requests-mock, + setuptools, + sphinx-rtd-theme, }: buildPythonPackage rec { pname = "py-tes"; - version = "0.4.2"; - format = "setuptools"; + version = "1.1.0"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ohsu-comp-bio"; - repo = pname; - rev = version; - hash = "sha256-HZeyCQHiqfdquWQD5axS73JDjDMUieONwm5VyA+vTFk="; + repo = "py-tes"; + rev = "refs/tags/${version}"; + hash = "sha256-PP6l9HITC8JDOUVwf+S5tDOZDIFST9Uz+ttG0xJwrB0="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ attrs future python-dateutil requests + sphinx-rtd-theme ]; nativeCheckInputs = [ @@ -39,10 +44,16 @@ buildPythonPackage rec { pythonImportsCheck = [ "tes" ]; + disabledTestPaths = [ + # Tests require running funnel + "tests/integration" + ]; + meta = with lib; { description = "Python SDK for the GA4GH Task Execution API"; homepage = "https://github.com/ohsu-comp-bio/py-tes"; - license = with licenses; [ mit ]; + changelog = "https://github.com/ohsu-comp-bio/py-tes/releases/tag/${version}"; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }