python3Packages.python-etcd: disable tests on aarch64

aarch64 is not fully supported, causing the build to fail due to test errors
This commit is contained in:
Adam Stephens
2024-07-30 08:59:17 -04:00
parent e4f73cb480
commit 81a8cdd319

View File

@@ -9,6 +9,7 @@
etcd_3_4,
mock,
pyopenssl,
stdenv,
}:
buildPythonPackage {
@@ -37,6 +38,9 @@ buildPythonPackage {
pyopenssl
];
# arm64 is an unsupported platform on etcd 3.4. should be able to be removed on >= etcd 3.5
doCheck = !stdenv.isAarch64;
preCheck = ''
for file in "test_auth" "integration/test_simple"; do
substituteInPlace src/etcd/tests/$file.py \