From 1b783a6f04f7c8f7f0ce5fa3344a8167379a7ee0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 24 Oct 2021 20:00:33 +0200 Subject: [PATCH 1/3] python3Packages.logfury: 0.1.2 -> 1.0.1 --- .../python-modules/logfury/default.nix | 39 ++++++++++++++----- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/logfury/default.nix b/pkgs/development/python-modules/logfury/default.nix index 5f83c8633dc1..64766c232cdb 100644 --- a/pkgs/development/python-modules/logfury/default.nix +++ b/pkgs/development/python-modules/logfury/default.nix @@ -2,30 +2,49 @@ , buildPythonPackage , fetchPypi , funcsigs -, six +, setuptools-scm +, pytestCheckHook +, pythonOlder +, testfixtures }: buildPythonPackage rec { pname = "logfury"; - version = "0.1.2"; + version = "1.0.1"; + + disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "1lywirv3d1lw691mc4mfpz7ak6r49klri43bbfgdnvsfppxminj2"; + sha256 = "sha256-EwpdrOq5rVNJJCUt33BIKqLJZmKzo4JafTCYHQO3aiY="; }; + nativeBuildInputs = [ + setuptools-scm + ]; + propagatedBuildInputs = [ funcsigs - six ]; - # No tests - doCheck = false; + checkInputs = [ + pytestCheckHook + testfixtures + ]; - meta = { - description = "Logfury is for python library maintainers. It allows for responsible, low-boilerplate logging of method calls."; + postPatch = '' + substituteInPlace setup.py \ + --replace "'setuptools_scm<6.0'" "'setuptools_scm'" + ''; + + pythonImportsCheck = [ + "logfury" + ]; + + meta = with lib; { + description = "Python module that allows for responsible, low-boilerplate logging of method calls"; homepage = "https://github.com/ppolewicz/logfury"; - license = lib.licenses.bsd3; - maintainers = with lib.maintainers; [ jwiegley ]; + license = licenses.bsd3; + maintainers = with maintainers; [ jwiegley ]; }; } From d769983d5a353fcaa5d485f26a5aa1afd23ae6f7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 24 Oct 2021 21:15:00 +0200 Subject: [PATCH 2/3] python3Packages.b2sdk: 1.12.0 -> 1.13.0 --- pkgs/development/python-modules/b2sdk/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/b2sdk/default.nix b/pkgs/development/python-modules/b2sdk/default.nix index d81c374670fd..ea745dba369c 100644 --- a/pkgs/development/python-modules/b2sdk/default.nix +++ b/pkgs/development/python-modules/b2sdk/default.nix @@ -16,12 +16,12 @@ buildPythonPackage rec { pname = "b2sdk"; - version = "1.12.0"; + version = "1.13.0"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "sha256-PsImSuK0IVY9EwpLKlP5ZFS6A7j2iJOtUg/GUcQTJR0="; + sha256 = "sha256-Q9B85c+WhazDeXsMR2S0aId32xLY8BAuYRj4QD21x1k="; }; nativeBuildInputs = [ @@ -57,7 +57,9 @@ buildPythonPackage rec { "test_large_file" ]; - pythonImportsCheck = [ "b2sdk" ]; + pythonImportsCheck = [ + "b2sdk" + ]; meta = with lib; { description = "Client library and utilities for access to B2 Cloud Storage (backblaze)"; From 3914ffc6d17b4e26a940d206f2c99cfcd26e6a6c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 24 Oct 2021 21:20:04 +0200 Subject: [PATCH 3/3] backblaze-b2: 3.0.1 -> 3.0.3 --- pkgs/development/tools/backblaze-b2/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/backblaze-b2/default.nix b/pkgs/development/tools/backblaze-b2/default.nix index a326f85eac0a..70bf668765ba 100644 --- a/pkgs/development/tools/backblaze-b2/default.nix +++ b/pkgs/development/tools/backblaze-b2/default.nix @@ -12,12 +12,12 @@ let in python3Packages.buildPythonApplication rec { pname = "backblaze-b2"; - version = "3.0.1"; + version = "3.0.3"; src = python3Packages.fetchPypi { inherit version; pname = "b2"; - sha256 = "sha256-Zr+5J6MCjfth+5fOSfHXpT/CAgD754ZpS1b1NqeGid8="; + sha256 = "sha256-asrhinANGlTsSBbtGToOxTRGGSCf+1c4VWnoE3ezoIA="; }; postPatch = '' @@ -39,11 +39,14 @@ python3Packages.buildPythonApplication rec { setuptools-scm ]; - checkInputs = with python3Packages; [ pytestCheckHook ]; + checkInputs = with python3Packages; [ + pytestCheckHook + ]; disabledTests = [ "test_files_headers" "test_integration" + "test_get_account_info" ]; postInstall = ''