Skip to content

Commit

Permalink
pythonPackages.passlib: disable native support test on darwin (NixOS#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
YorikSar authored and jsoo1 committed Dec 22, 2023
1 parent 12c4471 commit ada35a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/passlib/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, argon2-cffi
Expand Down Expand Up @@ -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; {
Expand Down

0 comments on commit ada35a2

Please sign in to comment.