Merge pull request #154736 from fabaff/fix-json-schema-for-humans

python310Packages.json-schema-for-humans: relax pyyaml constraint
This commit is contained in:
Fabian Affolter 2022-01-12 12:04:14 +01:00 committed by GitHub
commit 0206581820
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"