commit:     6a74d54a20889040b5c7c182bcd15528f1f643aa
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 30 05:15:40 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 30 05:16:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a74d54a

dev-python/qiskit-aer: keyword 0.12.2

Thanks to mgorny for doing a lot of work on this and figuring out nlohmann_json
was to blame.

Put back tests which fail for me too (revert some of 
24963bcd1828a41b98a09ef6eb66f62e7ad246fe).

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/qiskit-aer/qiskit-aer-0.12.2.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-python/qiskit-aer/qiskit-aer-0.12.2.ebuild 
b/dev-python/qiskit-aer/qiskit-aer-0.12.2.ebuild
index 2a51f570fc73..9224a7dcb613 100644
--- a/dev-python/qiskit-aer/qiskit-aer-0.12.2.ebuild
+++ b/dev-python/qiskit-aer/qiskit-aer-0.12.2.ebuild
@@ -21,14 +21,15 @@ SRC_URI="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-# Tests fail: https://github.com/Qiskit/qiskit-aer/issues/1742
-#KEYWORDS="~amd64"
+KEYWORDS="~amd64"
 
 # The reference implementation of BLAS/CBLAS is not compatible with qiskit-aer 
right now,
 # because importing library causes an error.
 # 
/usr/lib/python3.9/site-packages/qiskit/providers/aer/backends/controller_wrappers.cpython-39-x86_64-linux-gnu.so:
 undefined symbol: slamch_
 # Using sci-libs/openblas instead here,
 # with the option to switch between reference/openblas implementation runtime 
(eselect-ldso).
+#
+# <nlohmann_json-3.10.3 for https://github.com/Qiskit/qiskit-aer/issues/1742
 DEPEND="
        >=dev-python/numpy-1.16.3[${PYTHON_USEDEP}]
        <dev-cpp/nlohmann_json-3.10.3
@@ -97,8 +98,14 @@ python_test() {
        local EPYTEST_DESELECT=(
                # TODO
                
test/terra/states/test_aer_state.py::TestAerState::test_appply_diagonal
+               
test/terra/states/test_aer_state.py::TestAerState::test_appply_measure
                
test/terra/states/test_aer_state.py::TestAerState::test_appply_reset
 
+               # TODO: GLIBCXX_ASSERTIONS, bug #897758
+               
test/terra/backends/aer_simulator/test_algorithms.py::TestAlgorithms::test_extended_stabilizer_sparse_output_probs
+               
test/terra/backends/aer_simulator/test_options.py::TestOptions::test_mps_options
+               
test/terra/backends/aer_simulator/test_fusion.py::TestGateFusion::test_parallel_fusion_diagonal
+
                # requires qiskit_qasm3_import
                
test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_1___automatic____CPU__
                
test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_2___statevector____CPU__

Reply via email to