From 30a4fcbaad6b2e6cca9bfc1499bfed7fa03a6aca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 24 Oct 2025 12:11:17 +0200 Subject: [PATCH] python3Packages.rdflib: patch a test instead of skipping Upstream has resolved this, better patch it. Otherwise we risk of keeping to skip the test forever. --- pkgs/development/python-modules/rdflib/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/rdflib/default.nix b/pkgs/development/python-modules/rdflib/default.nix index 07c57be63ef06..7c0884f08dd5e 100644 --- a/pkgs/development/python-modules/rdflib/default.nix +++ b/pkgs/development/python-modules/rdflib/default.nix @@ -3,6 +3,7 @@ stdenv, buildPythonPackage, fetchFromGitHub, + fetchpatch, pythonOlder, # builds @@ -38,6 +39,12 @@ buildPythonPackage rec { tag = version; hash = "sha256-FisMiBTiL6emJS0d7UmlwGUzayA+CME5GGWgw/owfhc="; }; + patches = [ + (fetchpatch { + url = "https://github.com/RDFLib/rdflib/commit/0ab817f86b5733c9a3b4ede7ef065b8d79e53fc5.diff"; + hash = "sha256-+yWzQ3MyH0wihgiQRMMXV/FpG8WlXaIBhpsDF4e3rbY="; + }) + ]; build-system = [ poetry-core ]; @@ -66,8 +73,6 @@ buildPythonPackage rec { # requires network access "rdflib/__init__.py::rdflib" "test/jsonld/test_onedotone.py::test_suite" - # https://github.com/RDFLib/rdflib/issues/3274 - "test/test_sparql/test_translate_algebra.py::test_roundtrip" ]; disabledTests = [