Skip to content

Commit

Permalink
Merge pull request NixOS#330310 from ExpidusOS/fix/pkgsllvm/python/mako
Browse files Browse the repository at this point in the history
pythonPackages.mako: disable test_future_import test under llvm
  • Loading branch information
Aleksanaa authored Aug 4, 2024
2 parents e32d4c5 + 183218b commit b15628f
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions pkgs/development/python-modules/mako/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
stdenv,
lib,
buildPythonPackage,
pythonOlder,
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit b15628f

Please sign in to comment.