pythonPackages.passlib: disable native support test on darwin (#197077)
Several instances of this test fail with error like: AssertionError: did not expect 'darwin' platform would have native support for '...' It looks like passlib's tests erroneously assume that some methods should not have support on Darwin while current nixpkgs does support it through libxcrypt.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, argon2-cffi
|
||||
@@ -25,12 +26,16 @@ buildPythonPackage rec {
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
] ++ passthru.optional-dependencies.argon2
|
||||
++ passthru.optional-dependencies.bcrypt
|
||||
++ passthru.optional-dependencies.totp;
|
||||
++ passthru.optional-dependencies.bcrypt
|
||||
++ passthru.optional-dependencies.totp;
|
||||
|
||||
disabledTests = [
|
||||
# timming sensitive
|
||||
"test_dummy_verify"
|
||||
]
|
||||
# These tests fail because they don't expect support for algorithms provided through libxcrypt
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
"test_82_crypt_support"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user