From b1c1b33bf15303350db0e04ea9939bc947d59962 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Jan 2024 07:59:36 +0100 Subject: [PATCH] python311Packages.asyncclick: 8.1.3.2 -> 8.1.7.1 Diff: https://github.com/python-trio/asyncclick/compare/refs/tags/8.1.3.2...8.1.7.1 Changelog: https://github.com/python-trio/asyncclick/blob/8.1.7.1/CHANGES.rst --- .../python-modules/asyncclick/default.nix | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/asyncclick/default.nix b/pkgs/development/python-modules/asyncclick/default.nix index 2d0066a86e13..5847a55f8375 100644 --- a/pkgs/development/python-modules/asyncclick/default.nix +++ b/pkgs/development/python-modules/asyncclick/default.nix @@ -10,16 +10,16 @@ buildPythonPackage rec { pname = "asyncclick"; - version = "8.1.3.2"; - format = "setuptools"; + version = "8.1.7.1"; + pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "python-trio"; - repo = pname; - rev = version; - hash = "sha256-by1clF+WAfN/gjOg/F60O1tCZ3qAhWqiiJJY04iMzQ8="; + repo = "asyncclick"; + rev = "refs/tags/${version}"; + hash = "sha256-gx7s/HikvjsXalc0Z73JWMKc1SlhR+kohwk2sW4o19I="; }; nativeBuildInputs = [ @@ -40,15 +40,18 @@ buildPythonPackage rec { ]; disabledTests = [ - # RuntimeWarning: coroutine 'Context.invoke' was never awaited - "test_context_invoke_type" + # AttributeError: 'Context' object has no attribute '_ctx_mgr' + "test_context_pushing" ]; - pythonImportsCheck = [ "asyncclick" ]; + pythonImportsCheck = [ + "asyncclick" + ]; meta = with lib; { description = "Python composable command line utility"; homepage = "https://github.com/python-trio/asyncclick"; + changelog = "https://github.com/python-trio/asyncclick/blob/${version}/CHANGES.rst"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ fab ]; };