Merge pull request #269945 from sveitser/zhf-cirq-core-darwin-fix-build

python3Packages.cirq-core: fix build on aarch64
This commit is contained in:
Fabian Affolter 2023-12-05 11:48:59 +01:00 committed by GitHub
commit c8acf72a81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, buildPythonPackage
, pythonAtLeast
, pythonOlder
, fetchFromGitHub
, duet
@ -84,17 +83,9 @@ buildPythonPackage rec {
"cirq/_version_test.py"
];
disabledTests = [
# Tries to import flynt, which isn't in Nixpkgs
"test_metadata_search_path"
# Fails due pandas MultiIndex. Maybe issue with pandas version in nix?
"test_benchmark_2q_xeb_fidelities"
# https://github.com/quantumlib/Cirq/pull/5991
"test_json_and_repr_data"
# Tests for some changed error handling behavior in SymPy 1.12
"test_custom_value_not_implemented"
# Calibration issue
"test_xeb_to_calibration_layer"
disabledTests = lib.optionals stdenv.isAarch64 [
# https://github.com/quantumlib/Cirq/issues/5924
"test_prepare_two_qubit_state_using_sqrt_iswap"
];
meta = with lib; {
@ -103,6 +94,5 @@ buildPythonPackage rec {
changelog = "https://github.com/quantumlib/Cirq/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ drewrisinger fab ];
broken = (stdenv.isLinux && stdenv.isAarch64);
};
}