Skip to content

Commit d96e0ef

Browse files
authored
python314Packages.uqbar: disable failing tests on python 3.14 (NixOS#483815)
2 parents 96bc8fe + 92490a3 commit d96e0ef

1 file changed

Lines changed: 16 additions & 9 deletions

File tree

pkgs/development/python-modules/uqbar/default.nix

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
lib,
33
buildPythonPackage,
4-
fetchPypi,
4+
fetchFromGitHub,
55
pytestCheckHook,
66
pytest-asyncio,
77
pythonAtLeast,
@@ -12,14 +12,16 @@
1212
unidecode,
1313
}:
1414

15-
buildPythonPackage rec {
15+
buildPythonPackage (finalAttrs: {
1616
pname = "uqbar";
1717
version = "0.9.6";
1818
pyproject = true;
1919

20-
src = fetchPypi {
21-
inherit pname version;
22-
hash = "sha256-BaycnI00SgZzpvHPueXAAzV/yWDJEeaViWRSZkJofaY=";
20+
src = fetchFromGitHub {
21+
owner = "supriya-project";
22+
repo = "uqbar";
23+
tag = "v${finalAttrs.version}";
24+
hash = "sha256-1rK40lwZ3YmQZXhia2+iYRZxDCYvijXgBMIL5p7KmR0=";
2325
};
2426

2527
postPatch = ''
@@ -61,17 +63,22 @@ buildPythonPackage rec {
6163
"test_sphinx_style"
6264
]
6365
++ lib.optional (pythonAtLeast "3.12") [
64-
# https://github.com/josiah-wolf-oberholtzer/uqbar/issues/93
66+
# https://github.com/supriya-project/uqbar/issues/93
6567
"objects.get_vars"
68+
]
69+
++ lib.optionals (pythonAtLeast "3.14") [
70+
# https://github.com/supriya-project/uqbar/issues/106
71+
"test_04"
72+
"SummarizingClassDocumenter"
6673
];
6774

6875
pythonImportsCheck = [ "uqbar" ];
6976

7077
meta = {
7178
description = "Tools for creating Sphinx and Graphviz documentation";
72-
homepage = "https://github.com/josiah-wolf-oberholtzer/uqbar";
73-
changelog = "https://github.com/josiah-wolf-oberholtzer/uqbar/releases/tag/v${version}";
79+
homepage = "https://github.com/supriya-project/uqbar";
80+
changelog = "https://github.com/supriya-project/uqbar/releases/tag/${finalAttrs.src.tag}";
7481
license = lib.licenses.mit;
7582
maintainers = with lib.maintainers; [ davisrichard437 ];
7683
};
77-
}
84+
})

0 commit comments

Comments
 (0)