Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 7 additions & 15 deletions pkgs/development/python-modules/google-auth/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
, fetchPypi
, pytestCheckHook
, cachetools
, cryptography
, flask
, freezegun
, mock
Expand Down Expand Up @@ -32,6 +33,7 @@ buildPythonPackage rec {
];

checkInputs = [
cryptography
flask
freezegun
mock
Expand All @@ -46,21 +48,11 @@ buildPythonPackage rec {
"google.oauth2"
];

disabledTests = lib.optionals stdenv.isDarwin [
"test_request_with_timeout_success"
"test_request_with_timeout_failure"
"test_request_headers"
"test_request_error"
"test_request_basic"
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
# E MemoryError: Cannot allocate write+execute memory for ffi.callback().
# You might be running on a system that prevents this.
# For more information, see https://cffi.readthedocs.io/en/latest/using.html#callbacks
"test_configure_mtls_channel_with_callback"
"test_configure_mtls_channel_with_metadata"
"TestDecryptPrivateKey"
"TestMakeMutualTlsHttp"
"TestMutualTlsAdapter"
disabledTestPaths = [
# Disable tests related to pyopenssl
"tests/transport/test__mtls_helper.py"
"tests/transport/test_requests.py"
"tests/transport/test_urllib3.py"
];

meta = with lib; {
Expand Down