From 7101d846d17ae7eeab5fcb97492a126e74877174 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 15 Jan 2026 03:16:17 +0100 Subject: [PATCH] python3Packages.myst-parser: 4.0.1 -> 5.0.0 https://github.com/executablebooks/MyST-Parser/blob/v5.0.0/CHANGELOG.md --- .../python-modules/myst-parser/default.nix | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/myst-parser/default.nix b/pkgs/development/python-modules/myst-parser/default.nix index b79a05db5375..bb91e8e228b1 100644 --- a/pkgs/development/python-modules/myst-parser/default.nix +++ b/pkgs/development/python-modules/myst-parser/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + pythonOlder, # build-system flit-core, @@ -25,14 +26,16 @@ }: buildPythonPackage (finalAttrs: { pname = "myst-parser"; - version = "4.0.1"; + version = "5.0.0"; pyproject = true; + disabled = pythonOlder "3.11"; + src = fetchFromGitHub { owner = "executablebooks"; repo = "myst-parser"; tag = "v${finalAttrs.version}"; - hash = "sha256-/Prauz4zuJY39EK2BmgBbH1uwjF4K38e5X5hPYwRBl0="; + hash = "sha256-0lGejdGVVvZar3sPBbvThXzJML7PcR5+shyDHTTtVEY="; }; build-system = [ flit-core ]; @@ -60,15 +63,9 @@ buildPythonPackage (finalAttrs: { ] ++ markdown-it-py.optional-dependencies.linkify; - disabledTests = [ - # sphinx 8.2 compat - # https://github.com/executablebooks/MyST-Parser/issues/1030 - "test_commonmark" - "test_extended_syntaxes" - "test_fieldlist_extension" - "test_includes" - "test_references_singlehtml" - "test_sphinx_directives" + disabledTestPaths = [ + # outdated sphinx fixtures + "tests/test_renderers/test_fixtures_sphinx.py" ]; pythonImportsCheck = [ "myst_parser" ];