Merge pull request #330310 from ExpidusOS/fix/pkgsllvm/python/mako

pythonPackages.mako: disable test_future_import test under llvm
This commit is contained in:
Aleksana
2024-08-04 10:28:53 +08:00
committed by GitHub
@@ -1,4 +1,5 @@
{
stdenv,
lib,
buildPythonPackage,
pythonOlder,
@@ -49,15 +50,18 @@ buildPythonPackage rec {
pytestCheckHook
] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
disabledTests = lib.optionals isPyPy [
# https://github.com/sqlalchemy/mako/issues/315
"test_alternating_file_names"
# https://github.com/sqlalchemy/mako/issues/238
"test_file_success"
"test_stdin_success"
# fails on pypy2.7
"test_bytestring_passthru"
];
disabledTests =
lib.optionals isPyPy [
# https://github.com/sqlalchemy/mako/issues/315
"test_alternating_file_names"
# https://github.com/sqlalchemy/mako/issues/238
"test_file_success"
"test_stdin_success"
# fails on pypy2.7
"test_bytestring_passthru"
]
# https://github.com/sqlalchemy/mako/issues/408
++ lib.optional (stdenv.targetPlatform.useLLVM or false) "test_future_import";
meta = with lib; {
description = "Super-fast templating language";