From 2d42003f5ff81da8a496a72363067e465d33411e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 28 Feb 2023 09:05:53 +0100 Subject: [PATCH 1/4] python310Packages.neo4j: 5.5.0 -> 5.6.0 Changelog: https://github.com/neo4j/neo4j-python-driver/releases/tag/5.6.0 --- pkgs/development/python-modules/neo4j/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/neo4j/default.nix b/pkgs/development/python-modules/neo4j/default.nix index 5f7e3430cb09..67e0947b5c14 100644 --- a/pkgs/development/python-modules/neo4j/default.nix +++ b/pkgs/development/python-modules/neo4j/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "neo4j"; - version = "5.5.0"; + version = "5.6.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "neo4j"; repo = "neo4j-python-driver"; rev = "refs/tags/${version}"; - hash = "sha256-K3ggXXDDdyPIcWL4eLo1HrpZB05tA9oYWpbOohcCF/w="; + hash = "sha256-OjGLV7xHyF8kB++juXTM40aUl4OK+xwhnFaLSyxHMo4="; }; propagatedBuildInputs = [ From b6b62949e7365c606a7a1577b642de0ffea956e3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 28 Feb 2023 10:34:14 +0100 Subject: [PATCH 2/4] python310Packages.pypsrp: add changelog to meta --- pkgs/development/python-modules/pypsrp/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pypsrp/default.nix b/pkgs/development/python-modules/pypsrp/default.nix index e474a8456738..53fc9af70034 100644 --- a/pkgs/development/python-modules/pypsrp/default.nix +++ b/pkgs/development/python-modules/pypsrp/default.nix @@ -29,7 +29,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "jborean93"; repo = pname; - rev = "v${version}"; + rev = "refs/tags/v${version}"; hash = "sha256-Pwfc9e39sYPdcHN1cZtxxGEglEYzPp4yOYLD5/4SSiU="; }; @@ -73,6 +73,7 @@ buildPythonPackage rec { meta = with lib; { description = "PowerShell Remoting Protocol Client library"; homepage = "https://github.com/jborean93/pypsrp"; + changelog = "https://github.com/jborean93/pypsrp/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; From 95df4033fc9febdcb57b5d6706c6db7cdb5bba71 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 28 Feb 2023 10:50:05 +0100 Subject: [PATCH 3/4] python310Packages.pypsrp: disable failing tests --- pkgs/development/python-modules/pypsrp/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/pypsrp/default.nix b/pkgs/development/python-modules/pypsrp/default.nix index 53fc9af70034..1dd8c57a260d 100644 --- a/pkgs/development/python-modules/pypsrp/default.nix +++ b/pkgs/development/python-modules/pypsrp/default.nix @@ -70,6 +70,13 @@ buildPythonPackage rec { "pypsrp" ]; + disabledTests = [ + # TypeError: Backend.load_rsa_private_numbers() missing 1 required... + "test_psrp_pshost_ui_mocked_methods" + "test_psrp_key_exchange_timeout" + "test_psrp_multiple_commands" + ]; + meta = with lib; { description = "PowerShell Remoting Protocol Client library"; homepage = "https://github.com/jborean93/pypsrp"; From f3a39f218ae33cbebb6f26601bc083f8e1e22ee4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 28 Feb 2023 11:12:47 +0100 Subject: [PATCH 4/4] python311Packages.psrpcore: disable failing tests on Python 3.11 --- pkgs/development/python-modules/psrpcore/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/psrpcore/default.nix b/pkgs/development/python-modules/psrpcore/default.nix index 131d49f4ac93..fc0517f0df84 100644 --- a/pkgs/development/python-modules/psrpcore/default.nix +++ b/pkgs/development/python-modules/psrpcore/default.nix @@ -3,6 +3,7 @@ , cryptography , fetchFromGitHub , pytestCheckHook +, pythonAtLeast , pythonOlder , xmldiff }: @@ -30,11 +31,17 @@ buildPythonPackage rec { xmldiff ]; - pythonImportsCheck = [ "psrpcore" ]; + disabledTests = lib.optionals (pythonAtLeast "3.11") [ + # https://github.com/jborean93/psrpcore/issues/22 + "test_remote_stream_options" + "test_ps_flags" + ]; + + meta = with lib; { description = "Library for the PowerShell Remoting Protocol (PSRP)"; homepage = "https://github.com/jborean93/psrpcore";