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,
|
fetchPypi,
|
||||||
setuptools,
|
setuptools,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
|
pythonAtLeast,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -12,19 +13,24 @@ buildPythonPackage rec {
|
||||||
version = "2.9.1";
|
version = "2.9.1";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-VYKEaH2biq4ZBOPWBRrRMt1KjAz1UbN+pOfkKjHRncQ=";
|
hash = "sha256-VYKEaH2biq4ZBOPWBRrRMt1KjAz1UbN+pOfkKjHRncQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
nativeCheckInputs = [ pytestCheckHook ];
|
nativeCheckInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
pythonImportsCheck = [ "dominate" ];
|
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; {
|
meta = with lib; {
|
||||||
description = "Library for creating and manipulating HTML documents using an elegant DOM API";
|
description = "Library for creating and manipulating HTML documents using an elegant DOM API";
|
||||||
homepage = "https://github.com/Knio/dominate/";
|
homepage = "https://github.com/Knio/dominate/";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue