python3Packages.kubernetes: fix aarch64 darwin build

This commit is contained in:
happysalada 2022-03-17 23:25:40 -04:00 committed by Yt
parent cd91a151ef
commit f1c86977b3

View file

@ -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";