mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
Merge pull request #73599 from ahiaao/fix/pyld-python37
python37Packages.PyLD: fix behavior to terminate generators
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, python, gnugrep }:
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch, python, gnugrep }:
|
||||
|
||||
let
|
||||
|
||||
@@ -29,6 +29,14 @@ buildPythonPackage {
|
||||
sha256 = "1bmpz4s6j7by6l45wwxy7dn7hmrhxc26kbx2hbfy41x29vbjg6j9";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix tests on Python 3. Remove with the next release
|
||||
(fetchpatch {
|
||||
url = "https://github.com/digitalbazaar/pyld/commit/ec4bd907b7fbd566e1f6c76d09676e4900e3dcd0.patch";
|
||||
sha256 = "0i5phs5qnq4bjsb72if1sbfg751qc14qbdskqn0xhlzx0r75l7za";
|
||||
})
|
||||
];
|
||||
|
||||
# Unfortunately PyLD does not pass all testcases in the JSON-LD corpus. We
|
||||
# check for at least a minimum amount of successful tests so we know it's not
|
||||
# getting worse, at least.
|
||||
|
||||
Reference in New Issue
Block a user