From f6eecc04eef5dbabba512acbd8480b2c02c25720 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 31 Dec 2022 15:28:37 +0100 Subject: [PATCH] python3Packages.myst-parser: Relax sphinx constraint and disable failing tests for now. --- pkgs/development/python-modules/myst-parser/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/myst-parser/default.nix b/pkgs/development/python-modules/myst-parser/default.nix index a7a0ec69c8f..f3efa9f85b2 100644 --- a/pkgs/development/python-modules/myst-parser/default.nix +++ b/pkgs/development/python-modules/myst-parser/default.nix @@ -20,6 +20,7 @@ buildPythonPackage rec { pname = "myst-parser"; version = "0.18.1"; + format = "pyproject"; disabled = pythonOlder "3.7"; @@ -32,11 +33,10 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace "docutils>=0.15,<0.19" "docutils>=0.15" + --replace "docutils>=0.15,<0.19" "docutils>=0.15" \ + --replace "sphinx>=4,<6" "sphinx" ''; - format = "flit"; - nativeBuildInputs = [ flit-core ]; propagatedBuildInputs = [ @@ -67,6 +67,8 @@ buildPythonPackage rec { "test_fieldlist_extension" # docutils 0.19 expectation mismatches "test_docutils_roles" + # sphinx 6.0 expectation mismatches + "test_sphinx_directives" ]; meta = with lib; {