From 57221810c3ccd978ae4a3c2d6f67d45f52ed3522 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 18:36:26 +0100 Subject: [PATCH 1/2] python310Packages.pontos: add changelog to meta --- pkgs/development/python-modules/pontos/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/pontos/default.nix b/pkgs/development/python-modules/pontos/default.nix index 7d78b0d3520d..418967f2b22b 100644 --- a/pkgs/development/python-modules/pontos/default.nix +++ b/pkgs/development/python-modules/pontos/default.nix @@ -69,6 +69,7 @@ buildPythonPackage rec { meta = with lib; { description = "Collection of Python utilities, tools, classes and functions"; homepage = "https://github.com/greenbone/pontos"; + changelog = "https://github.com/greenbone/pontos/releases/tag/v${version}"; license = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ fab ]; }; From 4ce442922a7dee63a475e1520f6811b071e3d1c4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 24 Nov 2022 18:42:15 +0100 Subject: [PATCH 2/2] python310Packages.pontos: 22.10.0 -> 22.11.0 Changelog: https://github.com/greenbone/pontos/releases/tag/v22.11.0 --- .../development/python-modules/pontos/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pontos/default.nix b/pkgs/development/python-modules/pontos/default.nix index 418967f2b22b..4d207628cf8e 100644 --- a/pkgs/development/python-modules/pontos/default.nix +++ b/pkgs/development/python-modules/pontos/default.nix @@ -7,6 +7,7 @@ , packaging , poetry-core , pytestCheckHook +, typing-extensions , pythonOlder , rich , tomlkit @@ -14,7 +15,7 @@ buildPythonPackage rec { pname = "pontos"; - version = "22.10.0"; + version = "22.11.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -23,7 +24,7 @@ buildPythonPackage rec { owner = "greenbone"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-z+oJakeZARnyZrkkNjLlyFcOB73u9+G0tXhbI13neyc="; + hash = "sha256-WGtHMQ+8hACt8SMyO0zO80ASlfykJfHQOtNwyk1fsFE="; }; nativeBuildInputs = [ @@ -35,19 +36,17 @@ buildPythonPackage rec { httpx packaging rich + typing-extensions tomlkit - ]; + ] ++ lib.optionals (pythonOlder "3.8") [ + typing-extensions + ] ++ httpx.optional-dependencies.http2; checkInputs = [ git pytestCheckHook ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'packaging = "^20.3"' 'packaging = "*"' - ''; - disabledTests = [ "PrepareTestCase" # Signing fails