summary refs log tree commit diff
diff options
context:
space:
mode:
authorhappysalada <raphael@megzari.com>2022-03-17 23:25:40 -0400
committerYt <raphael@megzari.com>2022-03-18 08:33:00 -0400
commitf1c86977b36798af9a7c3aa21d570a2ef8eb5437 (patch)
tree84aef4107c171391c44dc2c3af5e5b95247bbe78
parentcd91a151effdedff28ba12f223f7aa72f1ee6f75 (diff)
downloadnixpkgs-f1c86977b36798af9a7c3aa21d570a2ef8eb5437.tar
nixpkgs-f1c86977b36798af9a7c3aa21d570a2ef8eb5437.tar.gz
nixpkgs-f1c86977b36798af9a7c3aa21d570a2ef8eb5437.tar.bz2
nixpkgs-f1c86977b36798af9a7c3aa21d570a2ef8eb5437.tar.lz
nixpkgs-f1c86977b36798af9a7c3aa21d570a2ef8eb5437.tar.xz
nixpkgs-f1c86977b36798af9a7c3aa21d570a2ef8eb5437.tar.zst
nixpkgs-f1c86977b36798af9a7c3aa21d570a2ef8eb5437.zip
python3Packages.kubernetes: fix aarch64 darwin build
-rw-r--r--pkgs/development/python-modules/kubernetes/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/kubernetes/default.nix b/pkgs/development/python-modules/kubernetes/default.nix
index 3df049c1cec..2342ec5bde4 100644
--- a/pkgs/development/python-modules/kubernetes/default.nix
+++ b/pkgs/development/python-modules/kubernetes/default.nix
@@ -1,4 +1,5 @@
 { lib
+, stdenv
 , buildPythonPackage
 , fetchFromGitHub
 , pythonOlder
@@ -54,6 +55,11 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
+  disabledTests = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
+    # AssertionError: <class 'urllib3.poolmanager.ProxyManager'> != <class 'urllib3.poolmanager.Poolmanager'>
+    "test_rest_proxycare"
+  ];
+
   meta = with lib; {
     description = "Kubernetes python client";
     homepage = "https://github.com/kubernetes-client/python";