ablog: disable failed test

This commit is contained in:
mivorasu 2025-08-03 14:55:10 +08:00
parent c591bcf594
commit cd8d590a75

View File

@ -5,10 +5,13 @@
gitUpdater,
}:
python3Packages.buildPythonApplication rec {
pname = "ablog";
let
version = "0.11.12";
format = "pyproject";
in
python3Packages.buildPythonApplication {
pname = "ablog";
inherit version;
pyproject = true;
src = fetchFromGitHub {
owner = "sunpy";
@ -20,10 +23,9 @@ python3Packages.buildPythonApplication rec {
build-system = with python3Packages; [
setuptools
setuptools-scm
wheel
];
nativeBuildInputs = with python3Packages; [ wheel ];
dependencies = with python3Packages; [
docutils
feedgen
@ -40,14 +42,17 @@ python3Packages.buildPythonApplication rec {
];
pytestFlags = [
"-Wignore::sphinx.deprecation.RemovedInSphinx90Warning"
"--rootdir=src/ablog"
"-Wignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError
];
# assert "post 1" not in html
# AssertionError
disabledTests = [ "test_not_safe_for_parallel_read" ];
disabledTests = [
# upstream investigation is still ongoing
# https://github.com/sunpy/ablog/issues/302
"test_not_safe_for_parallel_read"
# need sphinx old version
"test_feed"
];
passthru.updateScript = gitUpdater { rev-prefix = "v"; };