From 66c6c914a8a4f72b66686f7d4946cb4792636b3e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 27 May 2022 22:13:37 +0200 Subject: [PATCH 1/2] python310Packages.pysnmplib: 5.0.10 -> 5.0.15 --- pkgs/development/python-modules/pysnmplib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pysnmplib/default.nix b/pkgs/development/python-modules/pysnmplib/default.nix index 3c3333074a68..97a6cf4ff5d6 100644 --- a/pkgs/development/python-modules/pysnmplib/default.nix +++ b/pkgs/development/python-modules/pysnmplib/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pysnmplib"; - version = "5.0.10"; + version = "5.0.15"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "pysnmp"; repo = "pysnmp"; rev = "v${version}"; - hash = "sha256-PsfsOVzeHCVdd1Bi+FYYi68Wzn1MI8dZUbRr/tmT+cA="; + hash = "sha256-9HkS8oY9aHr8jXmryUMNz3z36BMWeYMuXLKdpEzCgZc="; }; nativeBuildInputs = [ From 625c3daaf97b794a3bb5701afb0749d92529cc72 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 27 May 2022 22:43:07 +0200 Subject: [PATCH 2/2] python310Packages.brother: relax pysnmplib constraint --- pkgs/development/python-modules/brother/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/brother/default.nix b/pkgs/development/python-modules/brother/default.nix index db4ef16522e8..be6595408db6 100644 --- a/pkgs/development/python-modules/brother/default.nix +++ b/pkgs/development/python-modules/brother/default.nix @@ -37,6 +37,8 @@ buildPythonPackage rec { --replace "--cov --cov-report term-missing " "" substituteInPlace setup.py \ --replace '"pytest-runner"' "" + substituteInPlace requirements.txt \ + --replace "pysnmplib==5.0.10" "pysnmplib>=5.0.10" ''; pythonImportsCheck = [