Skip to content

Commit

Permalink
python310Packages.passlib: Disable tests for unsupported algorithms
Browse files Browse the repository at this point in the history
These tests have a fixed expectation, that they should be available on
Linux, but in fact they't don't have to be.
  • Loading branch information
mweinelt committed Mar 17, 2023
1 parent 1cdc67f commit 94f0ae8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/python-modules/passlib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ buildPythonPackage rec {
"test_82_crypt_support"
];

pytestFlagsArray = [
# hashing algorithms we don't support anymore
"--deselect=passlib/tests/test_handlers.py::des_crypt_os_crypt_test::test_82_crypt_support"
"--deselect=passlib/tests/test_handlers.py::md5_crypt_os_crypt_test::test_82_crypt_support"
"--deselect=passlib/tests/test_handlers.py::sha256_crypt_os_crypt_test::test_82_crypt_support"
];

meta = with lib; {
description = "A password hashing library for Python";
homepage = "https://foss.heptapod.net/python-libs/passlib";
Expand Down

0 comments on commit 94f0ae8

Please sign in to comment.