Diff qiskit-aer-0.11.2-r1 with a qiskit-aer-0.12.2

/usr/portage/dev-python/qiskit-aer/qiskit-aer-0.12.2.ebuild 2023-10-09 14:52:30.364368372 +0300
5 5

  
6 6
DISTUTILS_EXT=1
7 7
DISTUTILS_USE_PEP517=setuptools
8
PYTHON_COMPAT=( python3_{9..11} )
8
PYTHON_COMPAT=( python3_{10..11} )
9 9

  
10 10
inherit distutils-r1 multiprocessing
11 11

  
......
28 28
# /usr/lib/python3.9/site-packages/qiskit/providers/aer/backends/controller_wrappers.cpython-39-x86_64-linux-gnu.so: undefined symbol: slamch_
29 29
# Using sci-libs/openblas instead here,
30 30
# with the option to switch between reference/openblas implementation runtime (eselect-ldso).
31
#
32
# <nlohmann_json-3.10.3 for https://github.com/Qiskit/qiskit-aer/issues/1742
31 33
DEPEND="
32 34
	>=dev-python/numpy-1.16.3[${PYTHON_USEDEP}]
35
	<dev-cpp/nlohmann_json-3.10.3
33 36
	>=dev-cpp/nlohmann_json-3.1.1
34
	>=dev-libs/spdlog-1.5.0:=
37
	>=dev-libs/spdlog-1.9.2:=
35 38
	>=dev-cpp/muParserX-4.0.8
36 39
	virtual/cblas[eselect-ldso]
37 40
	sci-libs/openblas[eselect-ldso]
38 41
"
39 42
RDEPEND="
40 43
	${DEPEND}
41
	>=dev-python/qiskit-terra-0.21.0[${PYTHON_USEDEP}]
44
	>=dev-python/qiskit-terra-0.25.1-r1[${PYTHON_USEDEP}]
42 45
	>=dev-python/scipy-1.0[${PYTHON_USEDEP}]
43 46
"
44 47
BDEPEND="
......
55 58
PATCHES=(
56 59
	# Remove cmake dependency from setup.py because of
57 60
	# invalid dependency description. We put this dependency check in BDEPEND.
58
	"${FILESDIR}/qiskit-aer-0.10.3-remove-cmake-dependency.patch"
59
	"${FILESDIR}/qiskit-aer-0.11.2-terra-test.patch"
61
	"${FILESDIR}"/${PN}-0.12.0-remove-cmake-dependency.patch
60 62
)
61 63

  
62 64
distutils_enable_tests pytest
......
87 89
python_prepare_all() {
88 90
	export DISABLE_CONAN="ON"
89 91
	export DISABLE_DEPENDENCY_INSTALL="ON"
90
	#export SKBUILD_CONFIGURE_OPTIONS=""
92
	export SKBUILD_CONFIGURE_OPTIONS="-DTEST_JSON=1"
91 93

  
92 94
	distutils-r1_python_prepare_all
93 95
}
......
95 97
python_test() {
96 98
	local EPYTEST_DESELECT=(
97 99
		# TODO
98
		test/terra/states/test_aer_statevector.py::TestAerStatevector::test_drawings
100
		test/terra/states/test_aer_state.py::TestAerState::test_appply_diagonal
101
		test/terra/states/test_aer_state.py::TestAerState::test_appply_measure
102
		test/terra/states/test_aer_state.py::TestAerState::test_appply_reset
99 103

  
100 104
		# TODO: GLIBCXX_ASSERTIONS, bug #897758
101 105
		test/terra/backends/aer_simulator/test_algorithms.py::TestAlgorithms::test_extended_stabilizer_sparse_output_probs
102 106
		test/terra/backends/aer_simulator/test_options.py::TestOptions::test_mps_options
107
		test/terra/backends/aer_simulator/test_fusion.py::TestGateFusion::test_parallel_fusion_diagonal
108

  
109
		# requires qiskit_qasm3_import
110
		test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_1___automatic____CPU__
111
		test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_2___statevector____CPU__
112
		test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_3___matrix_product_state____CPU__
113
		test/terra/backends/aer_simulator/test_save_statevector.py::TestSaveStatevector::test_save_statevector_for_qasm3_circuit_4___extended_stabilizer____CPU__
103 114
	)
104 115

  
116
	# From tox.ini/tests.yml in CI
117
	# Needed to suppress a warning in jupyter-core 5.x by eagerly migrating to
118
	# a new internal interface that will be the default in jupyter-core 6.x.
119
	# This variable should become redundant on release of jupyter-core 6.
120
	local -x JUPYTER_PLATFORM_DIRS=1
121

  
105 122
	rm -rf qiskit_aer || die
106 123
	epytest -n "$(makeopts_jobs)" -s
107 124
}
Thank you!