ablog: disable failed test (#430547)

This commit is contained in:
Aleksana 2025-08-03 20:47:31 +08:00 committed by GitHub
commit ae0862a332
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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