python313Packages.openshift: migrate to pythonRelaxDepsHook
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
six,
|
||||
python-string-utils,
|
||||
pytest-bdd,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
@@ -23,12 +24,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-uLfewj7M8KNs3oL1AM18sR/WhAR2mvBfqadyhR73FP0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "kubernetes ~= 12.0" "kubernetes"
|
||||
|
||||
sed -i '/--cov/d' setup.cfg
|
||||
'';
|
||||
pythonRelaxDeps = [ "kubernetes" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jinja2
|
||||
@@ -42,6 +38,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-bdd
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user