Merge pull request #269945 from sveitser/zhf-cirq-core-darwin-fix-build
python3Packages.cirq-core: fix build on aarch64
This commit is contained in:
commit
c8acf72a81
1 changed files with 3 additions and 13 deletions
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue