From d429fd69e10945242ea112fa491fc0926fbe5ea5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 18 Aug 2023 23:29:52 +0200 Subject: [PATCH] python311Packages.griffe: 0.32.3 -> 0.33.0 Diff: https://github.com/mkdocstrings/griffe/compare/refs/tags/0.32.3...0.33.0 Changelog: https://github.com/mkdocstrings/griffe/blob/0.33.0/CHANGELOG.md --- pkgs/development/python-modules/griffe/default.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/griffe/default.nix b/pkgs/development/python-modules/griffe/default.nix index bff3045e5c6d..7a94e140e648 100644 --- a/pkgs/development/python-modules/griffe/default.nix +++ b/pkgs/development/python-modules/griffe/default.nix @@ -1,7 +1,6 @@ { lib , aiofiles , buildPythonPackage -, cached-property , colorama , fetchFromGitHub , git @@ -13,22 +12,19 @@ buildPythonPackage rec { pname = "griffe"; - version = "0.32.3"; + version = "0.33.0"; format = "pyproject"; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "mkdocstrings"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-rPh4FtcigZzscm3y/BJ/0Q0wURlumowlHY15MiQw2B8="; + hash = "sha256-dmNALIXCkbkEh0orahvmKPvK2Nh5Voe9ZWZLw1Sgt4w="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'license = "ISC"' 'license = {file = "LICENSE"}' \ - ''; + SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ pdm-backend @@ -36,8 +32,6 @@ buildPythonPackage rec { propagatedBuildInputs = [ colorama - ] ++ lib.optionals (pythonOlder "3.8") [ - cached-property ]; nativeCheckInputs = [