From fdc20ed07a5c42e01e2355986608eb08b9ab2c99 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Tue, 19 Sep 2023 19:45:18 -0400 Subject: [PATCH] python310Packages.edk2-pytool-library: 0.17.0 -> 0.18.0 Diff: https://github.com/tianocore/edk2-pytool-library/compare/v0.17.0...v0.18.0 Changelog: https://github.com/tianocore/edk2-pytool-library/releases/tag/v0.18.0 --- .../edk2-pytool-library/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/edk2-pytool-library/default.nix b/pkgs/development/python-modules/edk2-pytool-library/default.nix index b92323e0c15c..c1bc530db0ff 100644 --- a/pkgs/development/python-modules/edk2-pytool-library/default.nix +++ b/pkgs/development/python-modules/edk2-pytool-library/default.nix @@ -7,22 +7,21 @@ , pyasn1 , pyasn1-modules , cryptography -, tinydb , joblib -, tinyrecord +, gitpython , pytestCheckHook }: buildPythonPackage rec { pname = "edk2-pytool-library"; - version = "0.17.0"; + version = "0.18.0"; format = "pyproject"; src = fetchFromGitHub { owner = "tianocore"; repo = "edk2-pytool-library"; rev = "v${version}"; - hash = "sha256-US9m7weW11+VxX6ZsKP5tYKp+bQoiI+TZ3YWE97D/f0="; + hash = "sha256-O7K439nAIHHTWSoR8mZWEu9sXcrhYfZto3RTgHZcOuA="; }; nativeBuildInputs = [ @@ -40,15 +39,19 @@ buildPythonPackage rec { pyasn1 pyasn1-modules cryptography - tinydb joblib - tinyrecord + gitpython ]; nativeCheckInputs = [ pytestCheckHook ]; + disabledTests = [ + # requires network access + "test_basic_parse" + ]; + env.SETUPTOOLS_SCM_PRETEND_VERSION = version; pythonImportsCheck = [ "edk2toollib" ];