Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyquil for openSUSE:Factory 
checked in at 2022-09-15 22:58:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyquil (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyquil.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyquil"

Thu Sep 15 22:58:39 2022 rev:6 rq:1003657 version:3.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyquil/python-pyquil.changes      
2021-05-08 22:08:44.121400205 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyquil.new.2083/python-pyquil.changes    
2022-09-15 22:59:22.269246013 +0200
@@ -1,0 +2,93 @@
+Thu Sep 15 02:22:35 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Add missing BuildRequires on pytest-timeout 
+
+-------------------------------------------------------------------
+Fri Aug 26 06:27:18 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 3.3.0:
+  * gracefully handle error when QPU unavailable for engagement (#1457)
+  * `QAMExecutionResult` now includes `execution_duration_microseconds`,
+     providing the amount of time a job held exclusive hardware access.
+  * Upgrade `qcs-api-client` so that clients can specify a QCS account on
+    their profile, which `qcs-api-client` will in turn use to set
+    `X-QCS-ACCOUNT-{ID/TYPE}` headers on outgoing QCS requests, most notably
+    during engagement creation. (@erichulburd, #1439)
+  * `setup.py` has been removed and will no longer be generated as part of
+    the automated release process.
+  * Function `pyquil.quilatom.substitute()` now supports substitution of
+    classical `MemoryReference` objects such as `theta[4]` with their
+    parameter values, enabling user-side parameter substitution.
+  * The CompilerISA of physical QPUs now assigns a fidelity of 1 to virtual
+    RZs.
+  * Fixed typo where `scale` was being used as the `phase` in generation of
+    several waveforms.
+  * Both `get_qc` and `QPU` now accept an `endpoint_id` argument which is
+    used to engage against a specific QCS quantum processor endpoint.
+  * Allow `np.ndarray` when writing QAM memory. Disallow non-integer and
+    non-float types.
+  * Fix typo where `qc.compiler.calibration_program` should be
+    `qc.compiler.get_calibration_program()`.
+  * `DefFrame` string-valued fields that contain JSON strings now round trip
+    to valid Quil and back to JSON via `DefFrame.out` and `parse`. Quil and
+    JSON both claim `"` as their only string delimiter, so the JSON `"`s are
+    escaped in the Quil.
+  * Python 3.6 is no longer supported. Python 3.7, 3.8, and 3.9 are supported.
+  * `pyquil.compatibility.v2` provides a number of classes/utilities which
+    support the pyQuil v2 API, such as `get_qc`; `pyquil.compatibility.v2.api`
+    offers `QuantumComputer`, `QPU`, and `QVM`. These may be used to
+    incrementally migrate from v2 to v3, but should not be relied on
+    indefinitely, as the underlying mechanics of these two versions will
+    continue to diverge in the future.
+  * `ForestConnection` and `ForestSession` have been removed. Connection
+    information is now managed via `api.QCSClientConfiguration` and
+    `api.EngagementManager`.
+  * `QVMCompiler` now produces a `Program` instead of a
+    `PyQuilExecutableResponse`.
+  * Replaced intermediary `Qubit.type` with an explicit list of gates that
+    the client may pass to the compiler without further transformation.
+  * Dropped the intermediary `ISA` class. Rely exclusively on `CompilerISA`
+    as a carrier of instruction set architecture information.
+  * Support `AbstractQuantumProcessor`s derived from QCS
+    `InstructionSetArchitecture`, `CompilerISA`, and `nx.Graph`.
+  * Dropped `api._quantum_processors`. Moved `get_device` to
+    `pyquil.quantum_processor.qcs.get_qcs_quantum_processor`.
+  * `get_qc()` raises `ValueError` when the user passes a QCS quantum
+    processor name and `noisy=True`.
+  * `QuantumComputer.run_and_measure()` has been removed. Instead, add
+    explicit `MEASURE` instructions to programs and use
+  * `QuantumComputer.compile()` along with `QuantumComputer.run()` to compile
+    and execute.
+  * The `pyquil.magic` package has been removed in favor of writing programs
+    more explicitly.
+  * `QPUConnection` and `QVMConnection` have been removed in favor of using
+    `QuantumComputer`, `QVM` or`QPU` (e.g. via `QuantumComputer.qam`), or
+    `WavefunctionSimulator`.
+  * `WavefunctionSimulator` constructor now accepts optional
+    `measurement_noise` and `gate_noise`. These noise parameters are passed to
+    the QVM by `WavefunctionSimulator.run_and_measure()` and
+    `WavefunctionSimulator.wavefunction()`.
+  * `noise.estimate_assignment_probs()` now accepts a `QuantumComputer`
+    instead of `QVMConnection`.
+  * `QAM.run` no longer accepts a `memory_map` argument. Memory values must
+    be written onto executable directly with `Program.write_memory()` and
+    `EncryptedProgram.write_memory()` instead.
+  * `QuantumComputer`, `QAM`, `QPU`, and `QVM` are now safe to share across
+    threads and processes, as they no longer store request-related state.
+  * `PyQVM.execute` has been renamed to `PyQVM.execute_once` to execute a
+    single program from start to finish within the context of the existing
+    `PyQVM` state. `PyQVM` is the only stateful `QAM`.
+  * Results returned from execution are now referred to as `readout_data`
+    rather than `memory`, reflecting the reality that the memory of the QAM
+    is not currently exposed to the user.
+  * `QuantumComputer.run` now returns a `QAMExecutionResult` rather than the
+    readout data from the `ro` readout source.
+  * Simultaneous, rather than independent, random benchmark scores are
+    passed to quilc as the gate fidelity for RX and RZ operations.
+  * Fix parser bug that prevented calling a circuit without parameters,
+    e.g. `BELL` (@notmgsk).
+- Drop patch rounding.patch, included upstream.
+- No longer skip Python 3.6.
+- Add new BuildRequires, switch to newer build macros.
+
+-------------------------------------------------------------------

Old:
----
  pyquil-2.28.1.tar.gz
  rounding.patch

New:
----
  pyquil-3.3.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyquil.spec ++++++
--- /var/tmp/diff_new_pack.rOg01G/_old  2022-09-15 22:59:23.193248622 +0200
+++ /var/tmp/diff_new_pack.rOg01G/_new  2022-09-15 22:59:23.197248634 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyquil
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,27 +18,32 @@
 
 %define packagename pyquil
 %define skip_python2 1
-%define skip_python36 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pyquil
-Version:        2.28.1
+Version:        3.3.0
 Release:        0
 Summary:        A Python library to generate Quantum Instruction Language 
(Quil) Programs
 License:        Apache-2.0
 URL:            https://github.com/rigetti/pyquil
 Source:         
https://github.com/rigetti/pyquil/archive/v%{version}.tar.gz#/%{packagename}-%{version}.tar.gz
-# get rid of rounding glitch on 32 bit
-Patch0:         rounding.patch
 BuildRequires:  %{python_module antlr4-python3-runtime >= 4.7.2}
+BuildRequires:  %{python_module flaky}
 BuildRequires:  %{python_module immutables}
 BuildRequires:  %{python_module ipython}
 BuildRequires:  %{python_module lark-parser}
 BuildRequires:  %{python_module networkx >= 2.0.0}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pandas}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module poetry}
+BuildRequires:  %{python_module pytest-mock}
+BuildRequires:  %{python_module pytest-timeout}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module qcs-api-client >= 0.20.13}
 BuildRequires:  %{python_module requests-mock}
 BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module respx}
+BuildRequires:  %{python_module retry}
 BuildRequires:  %{python_module rpcq >= 3.0.0}
 BuildRequires:  %{python_module scipy}
 BuildRequires:  %{python_module seaborn}
@@ -52,6 +57,7 @@
 Requires:       python-lark-parser
 Requires:       python-networkx >= 2.0.0
 Requires:       python-numpy
+Requires:       python-qcs-api-client >= 0.20.13
 Requires:       python-requests
 Requires:       python-requests-mock
 Requires:       python-rpcq >= 3.0.0
@@ -64,22 +70,21 @@
 A Python library to generate Quantum Instruction Language (Quil) Programs.
 
 %prep
-%setup -q -n %{packagename}-%{version}
-%autopatch -p1
+%autosetup -p1 -n %{packagename}-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# Tests that need network connection were ignored.
-%pytest --ignore pyquil/api/_qvm.py --ignore 
pyquil/tests/test_quantum_computer.py --ignore pyquil/api/tests/test_compiler.py
+# Tests that need network connection are ignored or skipped.
+%pytest --ignore api/_qvm.py --ignore test/unit/test_quantum_computer.py 
--ignore api/tests/test_compiler.py --ignore test/e2e --ignore 
test/unit/test_compatibility_v2_operator_estimation.py  --ignore 
test/unit/test_compatibility_v2_quantum_computer.py --ignore 
test/unit/test_wavefunction_simulator.py --ignore 
test/unit/test_compatibility_v2_qvm.py --ignore 
test/unit/test_reference_wavefunction.py --ignore test/unit/test_qvm.py 
--ignore test/unit/test_qpu_client.py --ignore 
test/unit/test_operator_estimation.py --ignore 
test/unit/test_engagement_manager.py -k 'not (test_quil_to_native_quil or 
test_local_rb_sequence or test_local_conjugate_request or 
test_apply_clifford_to_pauli or test_compile_with_quilt_calibrations or 
test_probabilities)'
 
 %files %{python_files}
-%{python_sitelib}/*egg-info
+%{python_sitelib}/*dist-info
 %{python_sitelib}/%{packagename}
 
 %changelog

++++++ pyquil-2.28.1.tar.gz -> pyquil-3.3.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-pyquil/pyquil-2.28.1.tar.gz 
/work/SRC/openSUSE:Factory/.python-pyquil.new.2083/pyquil-3.3.0.tar.gz differ: 
char 12, line 1

Reply via email to