From 924237ac6626796d2ec66281f3a83beeec7f9590 Mon Sep 17 00:00:00 2001 From: Harinn Date: Sat, 23 May 2026 19:54:31 +0700 Subject: [PATCH] python3Packages.rnginline: disable test_file_url_roundtrip on python 3.14+ --- pkgs/development/python-modules/rnginline/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/rnginline/default.nix b/pkgs/development/python-modules/rnginline/default.nix index 2903291088b6..670e068e22b6 100644 --- a/pkgs/development/python-modules/rnginline/default.nix +++ b/pkgs/development/python-modules/rnginline/default.nix @@ -2,6 +2,7 @@ lib, fetchPypi, buildPythonPackage, + pythonAtLeast, poetry-core, lxml, docopt-ng, @@ -43,6 +44,11 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = lib.optionals (pythonAtLeast "3.14") [ + # pathname2url now emits RFC 1738 authority-prefixed file URLs for absolute paths + "test_file_url_roundtrip" + ]; + pythonImportsCheck = [ "rnginline" ]; meta = {