Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cirq for openSUSE:Factory checked in at 2023-04-04 21:27:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cirq (Old) and /work/SRC/openSUSE:Factory/.python-cirq.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cirq" Tue Apr 4 21:27:07 2023 rev:8 rq:1077206 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cirq/python-cirq.changes 2023-02-02 18:32:16.156895566 +0100 +++ /work/SRC/openSUSE:Factory/.python-cirq.new.19717/python-cirq.changes 2023-04-04 21:27:19.115542553 +0200 @@ -1,0 +2,7 @@ +Mon Apr 3 19:27:40 UTC 2023 - Ben Greiner <[email protected]> + +- Don't test and build cirq_core[contrib] for python311 + * no numba + * no quimb + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cirq.spec ++++++ --- /var/tmp/diff_new_pack.aVm7Sb/_old 2023-04-04 21:27:19.875546867 +0200 +++ /var/tmp/diff_new_pack.aVm7Sb/_new 2023-04-04 21:27:19.879546890 +0200 @@ -59,10 +59,10 @@ # SECTION cirq-core[contrib] BuildRequires: %{python_module autoray} BuildRequires: %{python_module PyLaTeX >= 1.3.0} -BuildRequires: %{python_module numba >= 0.53} +BuildRequires: %{python_module numba >= 0.53 if %python-base < 3.11} BuildRequires: %{python_module opt-einsum} BuildRequires: %{python_module ply >= 3.6} -BuildRequires: %{python_module quimb} +BuildRequires: %{python_module quimb if %python-base < 3.11} # /SECTION # SECTION test BuildRequires: %{python_module flynt >= 0.60} @@ -206,9 +206,13 @@ # tests assume testfiles and import path to be the same, but we test BUILDROOT donttest="test_json_test_data_coverage" donttest="$donttest or test_json_and_repr_data" +# no cirq-core[contrib] extra for python311 yet +python311_donttest=" or test_immutable or test_gate_family_immutable" +python311_donttest="$python311_donttest or (classical_data_test and test_repr)" +python311_ignore="--ignore cirq/contrib" for p in %cirqmodules; do pushd cirq-$p - %pytest -v -k "not ($donttest)" -n auto + %pytest -v -k "not ($donttest ${$python_donttest})" ${$python_ignore} -n auto popd done @@ -223,9 +227,11 @@ %{python_sitelib}/cirq %{python_sitelib}/cirq_core-%{version}*-info +%if %{python_version_nodots} < 311 %files %{python_files core-contrib} %doc cirq-core/README.rst %license cirq-core/LICENSE +%endif %files %{python_files aqt} %doc cirq-aqt/README.rst
