3
0
Fork 0
forked from mirrors/nixpkgs

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:
Yuriy Taraday 2022-10-22 18:32:19 +04:00 committed by GitHub
parent 95aeaf83c2
commit a2d5dc2c46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, argon2-cffi
@ -31,6 +32,10 @@ buildPythonPackage rec {
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; {