mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python313Packages.dominate: disable failing tests on Python 3.13 (#371716)
This commit is contained in:
commit
c270cdcea8
1 changed files with 8 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
|||
fetchPypi,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
|
@ -12,19 +13,24 @@ buildPythonPackage rec {
|
|||
version = "2.9.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-VYKEaH2biq4ZBOPWBRrRMt1KjAz1UbN+pOfkKjHRncQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "dominate" ];
|
||||
|
||||
disabledTestPaths = lib.optionals (pythonAtLeast "3.13") [
|
||||
# Tests are failing, https://github.com/Knio/dominate/issues/213
|
||||
"tests/test_svg.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for creating and manipulating HTML documents using an elegant DOM API";
|
||||
homepage = "https://github.com/Knio/dominate/";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue