Merge pull request #282468 from lilyinstarlight/fix/pykwalify-tests
python311Packages.pykwalify: fix tests with ruamel.yaml 0.18+
This commit is contained in:
commit
ba82cca580
@ -1,10 +1,10 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchpatch
|
||||
, python-dateutil
|
||||
, docopt
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pyyaml
|
||||
, ruamel-yaml
|
||||
, testfixtures
|
||||
}:
|
||||
@ -19,10 +19,18 @@ buildPythonPackage rec {
|
||||
hash = "sha256-eWsq0+1MuZuIMItTP7L1WcMPpu+0+p/aETR/SD0kWIQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix test failures with ruamel.yaml 0.18+
|
||||
(fetchpatch {
|
||||
name = "pykwalify-fix-tests-ruamel-yaml-0.18.patch";
|
||||
url = "https://github.com/Grokzen/pykwalify/commit/57bb2ba5c28b6928edb3f07ef581a5a807524baf.diff";
|
||||
hash = "sha256-XUiebDzFSvNrPpRMoc2lv9m+30cfFh0N0rznMiSdQ/0=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-dateutil
|
||||
docopt
|
||||
pyyaml
|
||||
ruamel-yaml
|
||||
];
|
||||
|
||||
@ -31,10 +39,6 @@ buildPythonPackage rec {
|
||||
testfixtures
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_multi_file_support"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pykwalify" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user