3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.json-schema-for-humans: relax pyyaml constraint

This commit is contained in:
Fabian Affolter 2022-01-12 11:07:18 +01:00
parent ed89030b17
commit 9f25f01353

View file

@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "coveooss";
repo = pname;
rev = "v${version}";
sha256 = "sha256-gaholnLO5oIQaXgliuvlU2MfpjiCMgAPplOPgvMYim8=";
hash = "sha256-gaholnLO5oIQaXgliuvlU2MfpjiCMgAPplOPgvMYim8=";
};
nativeBuildInputs = [
@ -54,6 +54,12 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
# https://github.com/coveooss/json-schema-for-humans/issues/127
substituteInPlace pyproject.toml \
--replace 'PyYAML = "^5.4.1"' 'PyYAML = "*"'
'';
disabledTests = [
# Tests require network access
"test_references_url"