python3Packages.myst-parser: 4.0.1 -> 5.0.0
https://github.com/executablebooks/MyST-Parser/blob/v5.0.0/CHANGELOG.md
This commit is contained in:
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user