From b15ffddd9cbbda2848bc7820e0f552713f6a4a74 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 9 Feb 2023 21:28:36 +0100 Subject: [PATCH] pdm: 2.3.4 -> 2.4.3 https://github.com/pdm-project/pdm/releases/tag/2.4.3 https://github.com/pdm-project/pdm/releases/tag/2.4.2 https://github.com/pdm-project/pdm/releases/tag/2.4.1 https://github.com/pdm-project/pdm/releases/tag/2.4.0 --- pkgs/tools/package-management/pdm/default.nix | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/package-management/pdm/default.nix b/pkgs/tools/package-management/pdm/default.nix index dd11549663c9..2decec7a2ca4 100644 --- a/pkgs/tools/package-management/pdm/default.nix +++ b/pkgs/tools/package-management/pdm/default.nix @@ -24,15 +24,19 @@ in with python.pkgs; buildPythonApplication rec { pname = "pdm"; - version = "2.3.4"; + version = "2.4.3"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-zaSNM5Ey4oI2MtUPYBHG0PCMgJdasVatwkjaRBrT1RQ="; + hash = "sha256-Gp8ju26XX0A2+LX+7b9OuEBJx4qUwR2tNUq+Chj56q4="; }; + nativeBuildInputs = [ + pdm-pep517 + ]; + propagatedBuildInputs = [ blinker cachecontrol @@ -40,9 +44,6 @@ buildPythonApplication rec { findpython installer packaging - pdm-pep517 - pep517 - pip platformdirs pyproject-hooks python-dotenv @@ -50,20 +51,22 @@ buildPythonApplication rec { resolvelib rich shellingham - tomli tomlkit unearth virtualenv ] ++ cachecontrol.optional-dependencies.filecache - ++ lib.optionals (pythonOlder "3.8") [ + ++ lib.optionals (pythonOlder "3.11") [ + tomli + ] + ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata - typing-extensions ]; nativeCheckInputs = [ pytestCheckHook pytest-mock + pytest-rerunfailures pytest-xdist ]; @@ -85,6 +88,7 @@ buildPythonApplication rec { meta = with lib; { homepage = "https://pdm.fming.dev"; + changelog = "https://github.com/pdm-project/pdm/releases/tag/${version}"; description = "A modern Python package manager with PEP 582 support"; license = licenses.mit; maintainers = with maintainers; [ cpcloud ];