tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ablog: disable failed test
mivorasu
5 months ago
cd8d590a
c591bcf5
+14
-9
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ab
ablog
package.nix
+14
-9
pkgs/by-name/ab/ablog/package.nix
···
5
gitUpdater,
6
}:
7
8
-
python3Packages.buildPythonApplication rec {
0
0
0
9
pname = "ablog";
10
-
version = "0.11.12";
11
-
format = "pyproject";
12
13
src = fetchFromGitHub {
14
owner = "sunpy";
···
20
build-system = with python3Packages; [
21
setuptools
22
setuptools-scm
0
23
];
24
-
25
-
nativeBuildInputs = with python3Packages; [ wheel ];
26
27
dependencies = with python3Packages; [
28
docutils
···
40
];
41
42
pytestFlags = [
43
-
"-Wignore::sphinx.deprecation.RemovedInSphinx90Warning"
44
"--rootdir=src/ablog"
45
"-Wignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError
46
];
47
48
-
# assert "post 1" not in html
49
-
# AssertionError
50
-
disabledTests = [ "test_not_safe_for_parallel_read" ];
0
0
0
0
51
52
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
53
···
5
gitUpdater,
6
}:
7
8
+
let
9
+
version = "0.11.12";
10
+
in
11
+
python3Packages.buildPythonApplication {
12
pname = "ablog";
13
+
inherit version;
14
+
pyproject = true;
15
16
src = fetchFromGitHub {
17
owner = "sunpy";
···
23
build-system = with python3Packages; [
24
setuptools
25
setuptools-scm
26
+
wheel
27
];
0
0
28
29
dependencies = with python3Packages; [
30
docutils
···
42
];
43
44
pytestFlags = [
0
45
"--rootdir=src/ablog"
46
"-Wignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError
47
];
48
49
+
disabledTests = [
50
+
# upstream investigation is still ongoing
51
+
# https://github.com/sunpy/ablog/issues/302
52
+
"test_not_safe_for_parallel_read"
53
+
# need sphinx old version
54
+
"test_feed"
55
+
];
56
57
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
58