python313Packages.pywbem: 1.7.3 -> 1.8.1, run tests (#479546)
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
buildPythonPackage,
|
||||
decorator,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
formencode,
|
||||
httpretty,
|
||||
libxml2,
|
||||
@@ -12,7 +14,7 @@
|
||||
nocaselist,
|
||||
pbr,
|
||||
ply,
|
||||
pytest,
|
||||
pytestCheckHook,
|
||||
pytz,
|
||||
pyyaml,
|
||||
requests,
|
||||
@@ -24,14 +26,24 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pywbem";
|
||||
version = "1.7.3";
|
||||
version = "1.8.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-0fCi69T/7e+NBnrzhVIW21GQx/byfI0tzUZ+CXAckLA=";
|
||||
hash = "sha256-P+/sNPckpVHkLKOJ0ILQKf7QO0/xSsyO9cfLkv3aE1s=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools-scm>=9.2.0" "setuptools-scm"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mock
|
||||
nocasedict
|
||||
@@ -50,7 +62,7 @@ buildPythonPackage rec {
|
||||
httpretty
|
||||
libxml2
|
||||
lxml
|
||||
pytest
|
||||
pytestCheckHook
|
||||
pytz
|
||||
requests-mock
|
||||
testfixtures
|
||||
@@ -58,6 +70,11 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "pywbem" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/leaktest" # requires 'yagot'
|
||||
"tests/end2endtest" # requires 'pytest_easy_server'
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Support for the WBEM standard for systems management";
|
||||
homepage = "https://pywbem.github.io";
|
||||
|
||||
Reference in New Issue
Block a user