diff --git a/pkgs/development/python-modules/griffe/default.nix b/pkgs/development/python-modules/griffe/default.nix index ce2028fc7e4a..5d8a72e80448 100644 --- a/pkgs/development/python-modules/griffe/default.nix +++ b/pkgs/development/python-modules/griffe/default.nix @@ -6,32 +6,25 @@ fetchFromGitHub, git, jsonschema, - mkdocstrings, pdm-backend, pytestCheckHook, - pythonOlder, }: buildPythonPackage rec { pname = "griffe"; - version = "1.6.0"; + version = "1.7.3"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "mkdocstrings"; repo = "griffe"; tag = version; - hash = "sha256-Cs3qJlF1k1cKmbH7bXkn8+XDRC0sZqVdrMPIw0dSWD8="; + hash = "sha256-H5bkS8NK96M2W+kH1KijmzVL5Y04KY9xc5Vw5l1lfws="; }; build-system = [ pdm-backend ]; - dependencies = [ - colorama - mkdocstrings - ]; + dependencies = [ colorama ]; nativeCheckInputs = [ git @@ -45,12 +38,17 @@ buildPythonPackage rec { pythonImportsCheck = [ "griffe" ]; - meta = with lib; { + disabledTestPaths = [ + # Circular dependencies + "tests/test_api.py" + ]; + + meta = { description = "Signatures for entire Python programs"; homepage = "https://github.com/mkdocstrings/griffe"; changelog = "https://github.com/mkdocstrings/griffe/blob/${src.tag}/CHANGELOG.md"; - license = licenses.isc; - maintainers = with maintainers; [ fab ]; + license = lib.licenses.isc; + maintainers = with lib.maintainers; [ fab ]; mainProgram = "griffe"; }; }