Skip to content

Commit c270cdc

Browse files
authored
python313Packages.dominate: disable failing tests on Python 3.13 (#371716)
2 parents 15ea326 + b7f6784 commit c270cdc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
fetchPypi,
55
setuptools,
66
pytestCheckHook,
7+
pythonAtLeast,
78
pythonOlder,
89
}:
910

@@ -12,19 +13,24 @@ buildPythonPackage rec {
1213
version = "2.9.1";
1314
pyproject = true;
1415

15-
disabled = pythonOlder "3.7";
16+
disabled = pythonOlder "3.9";
1617

1718
src = fetchPypi {
1819
inherit pname version;
1920
hash = "sha256-VYKEaH2biq4ZBOPWBRrRMt1KjAz1UbN+pOfkKjHRncQ=";
2021
};
2122

22-
nativeBuildInputs = [ setuptools ];
23+
build-system = [ setuptools ];
2324

2425
nativeCheckInputs = [ pytestCheckHook ];
2526

2627
pythonImportsCheck = [ "dominate" ];
2728

29+
disabledTestPaths = lib.optionals (pythonAtLeast "3.13") [
30+
# Tests are failing, https://github.com/Knio/dominate/issues/213
31+
"tests/test_svg.py"
32+
];
33+
2834
meta = with lib; {
2935
description = "Library for creating and manipulating HTML documents using an elegant DOM API";
3036
homepage = "https://github.com/Knio/dominate/";

0 commit comments

Comments
 (0)