Merge pull request #256204 from NickCao/edk2-pytool-library

python310Packages.edk2-pytool-library: 0.17.0 -> 0.18.0
This commit is contained in:
Fabian Affolter 2023-09-20 08:44:20 +02:00 committed by GitHub
commit 6a1b459f0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,22 +7,21 @@
, pyasn1 , pyasn1
, pyasn1-modules , pyasn1-modules
, cryptography , cryptography
, tinydb
, joblib , joblib
, tinyrecord , gitpython
, pytestCheckHook , pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "edk2-pytool-library"; pname = "edk2-pytool-library";
version = "0.17.0"; version = "0.18.0";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tianocore"; owner = "tianocore";
repo = "edk2-pytool-library"; repo = "edk2-pytool-library";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-US9m7weW11+VxX6ZsKP5tYKp+bQoiI+TZ3YWE97D/f0="; hash = "sha256-O7K439nAIHHTWSoR8mZWEu9sXcrhYfZto3RTgHZcOuA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -40,15 +39,19 @@ buildPythonPackage rec {
pyasn1 pyasn1
pyasn1-modules pyasn1-modules
cryptography cryptography
tinydb
joblib joblib
tinyrecord gitpython
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
]; ];
disabledTests = [
# requires network access
"test_basic_parse"
];
env.SETUPTOOLS_SCM_PRETEND_VERSION = version; env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
pythonImportsCheck = [ "edk2toollib" ]; pythonImportsCheck = [ "edk2toollib" ];