Unverified Commit cbfd8f68 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #281986 from fabaff/asyncclick-bump

python311Packages.asyncclick: 8.1.3.2 -> 8.1.7.1
parents 99e3c003 b1c1b33b
Loading
Loading
Loading
Loading
+12 −9
Original line number Diff line number Diff line
@@ -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 ];
  };