python310Packages.json-schema-for-humans: relax pyyaml constraint
This commit is contained in:
parent
ed89030b17
commit
9f25f01353
1 changed files with 7 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue