commit python-rpcq for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rpcq for openSUSE:Factory checked in at 2023-01-30 17:11:07 Comparing /work/SRC/openSUSE:Factory/python-rpcq (Old) and /work/SRC/openSUSE:Factory/.python-rpcq.new.32243 (New) Package is "python-rpcq" Mon Jan 30 17:11:07 2023 rev:7 rq:1061989 version:3.10.0 Changes: --- /work/SRC/openSUSE:Factory/python-rpcq/python-rpcq.changes 2021-04-21 21:00:48.110333878 +0200 +++ /work/SRC/openSUSE:Factory/.python-rpcq.new.32243/python-rpcq.changes 2023-01-30 17:14:57.633810352 +0100 @@ -1,0 +2,9 @@ +Sat Jan 28 22:42:28 UTC 2023 - Ben Greiner + +- Update to 3.10.0 + * Update: Add new execution results message +- Version 3.9.2 + * Rework types calculation with locks +- Fix requirements, unpin msgpack + +--- Old: rpcq-3.9.1.tar.gz New: rpcq-3.10.0.tar.gz Other differences: -- ++ python-rpcq.spec ++ --- /var/tmp/diff_new_pack.aTRQ4X/_old 2023-01-30 17:14:58.037812844 +0100 +++ /var/tmp/diff_new_pack.aTRQ4X/_new 2023-01-30 17:14:58.041812869 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-rpcq # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,32 +16,33 @@ # -%define packagename rpcq -%define skip_python2 1 -%define skip_python36 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rpcq -Version:3.9.1 +Version:3.10.0 Release:0 Summary:The RPC framework and message specification for Rigetti QCS License:Apache-2.0 URL:https://github.com/rigetti/rpcq -Source: https://github.com/rigetti/rpcq/archive/v%{version}.tar.gz#/%{packagename}-%{version}.tar.gz +Source: https://github.com/rigetti/rpcq/archive/v%{version}.tar.gz#/rpcq-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.6} BuildRequires: %{python_module msgpack >= 0.6} -BuildRequires: %{python_module numpy} -BuildRequires: %{python_module pytest-asyncio} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pip} BuildRequires: %{python_module python-rapidjson} BuildRequires: %{python_module pyzmq >= 17} BuildRequires: %{python_module ruamel.yaml} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-msgpack >= 0.6 -Requires: python-numpy Requires: python-python-rapidjson Requires: python-pyzmq >= 17 Requires: python-ruamel.yaml +# SECTION test +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pytest-asyncio} +BuildRequires: %{python_module pytest} + +# /SECTION BuildArch: noarch %python_subpackages @@ -49,16 +50,18 @@ The RPC framework and message specification for Rigetti QCS. %prep -%setup -q -n %{packagename}-%{version} +%setup -q -n rpcq-%{version} # Fix non-executable-script -sed -i '/^#!/d' %{packagename}/core_messages.py -sed -i '/^#!/d' %{packagename}/messages.py +sed -i '/^#!/d' rpcq/core_messages.py +sed -i '/^#!/d' rpcq/messages.py +# unpin msgpack and ignore gh#rigetti/pyqui#1178 +sed -i '/msgpack/ s/,<1.0//' setup.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -68,7 +71,7 @@ %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/*egg-info -%{python_sitelib}/%{packagename} +%{python_sitelib}/rpcq-%{version}.dist-info +%{python_sitelib}/rpcq %changelog ++ rpcq-3.9.1.tar.gz -> rpcq-3.10.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.9.1/VERSION.txt new/rpcq-3.10.0/VERSION.txt --- old/rpcq-3.9.1/VERSION.txt 2021-04-19 19:39:47.0 +0200 +++ new/rpcq-3.10.0/VERSION.txt 2022-04-07 20:01:33.0 +0200 @@ -1 +1 @@ -3.9.1 +3.10.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.9.1/rpcq/_base.py new/rpcq-3.10.0/rpcq/_base.py --- old/rpcq-3.9.1/rpcq/_base.py2021-04-19 19:39:47.0 +0200 +++ new/rpcq-3.10.0/rpcq/_base.py 2022-04-07 20:01:33.0 +0200 @@ -13,7 +13,7 @@ #See the License for the specific language governing permissions and #limitations under the License. ## - +import functools import inspect import
commit python-rpcq for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rpcq for openSUSE:Factory checked in at 2021-04-21 21:00:09 Comparing /work/SRC/openSUSE:Factory/python-rpcq (Old) and /work/SRC/openSUSE:Factory/.python-rpcq.new.12324 (New) Package is "python-rpcq" Wed Apr 21 21:00:09 2021 rev:6 rq:887089 version:3.9.1 Changes: --- /work/SRC/openSUSE:Factory/python-rpcq/python-rpcq.changes 2021-01-31 16:52:28.852743308 +0100 +++ /work/SRC/openSUSE:Factory/.python-rpcq.new.12324/python-rpcq.changes 2021-04-21 21:00:48.110333878 +0200 @@ -1,0 +2,12 @@ +Tue Apr 20 20:17:10 UTC 2021 - andy great + +- Update to 3.9.1. + * No changelog given. + +--- +Thu Apr 15 15:09:22 UTC 2021 - andy great + +- Update to version 3.9.0. + * No changelog given. + +--- Old: rpcq-3.8.0.tar.gz New: rpcq-3.9.1.tar.gz Other differences: -- ++ python-rpcq.spec ++ --- /var/tmp/diff_new_pack.HPJHOr/_old 2021-04-21 21:00:48.518334520 +0200 +++ /var/tmp/diff_new_pack.HPJHOr/_new 2021-04-21 21:00:48.522334527 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-rpcq # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %define skip_python36 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rpcq -Version:3.8.0 +Version:3.9.1 Release:0 Summary:The RPC framework and message specification for Rigetti QCS License:Apache-2.0 @@ -62,7 +62,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +# test_client_warning stall for unknown reason. +%pytest -k "not (test_client_warning)" %files %{python_files} %doc README.md ++ rpcq-3.8.0.tar.gz -> rpcq-3.9.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.8.0/VERSION.txt new/rpcq-3.9.1/VERSION.txt --- old/rpcq-3.8.0/VERSION.txt 2021-01-28 20:39:23.0 +0100 +++ new/rpcq-3.9.1/VERSION.txt 2021-04-19 19:39:47.0 +0200 @@ -1 +1 @@ -3.8.0 +3.9.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.8.0/rpcq/_base.py new/rpcq-3.9.1/rpcq/_base.py --- old/rpcq-3.8.0/rpcq/_base.py2021-01-28 20:39:23.0 +0100 +++ new/rpcq-3.9.1/rpcq/_base.py2021-04-19 19:39:47.0 +0200 @@ -109,7 +109,7 @@ def __hash__(self): return hash((self.__class__, astuple(self))) -_types = None +_types = {} @staticmethod def types(): @@ -120,13 +120,12 @@ :return: A dictionary of ``Message`` types. :rtype: Dict[str,type] """ -if Message._types is None: -Message._types = {} -classes_to_process = [Message] -while classes_to_process: -atom = classes_to_process.pop() -classes_to_process += atom.__subclasses__() -Message._types[atom.__name__] = (atom, inspect.getfullargspec(atom.__init__).args) +classes_to_process = [Message] +while classes_to_process: +atom = classes_to_process.pop() +classes_to_process += atom.__subclasses__() +Message._types[atom.__name__] = (atom, inspect.getfullargspec(atom.__init__).args) + return Message._types diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.8.0/rpcq/core_messages.py new/rpcq-3.9.1/rpcq/core_messages.py --- old/rpcq-3.8.0/rpcq/core_messages.py2021-01-28 20:39:23.0 +0100 +++ new/rpcq-3.9.1/rpcq/core_messages.py2021-04-19 19:39:47.0 +0200 @@ -8,6 +8,7 @@ from warnings import warn from rpcq._base import Message +from rpcq.messages import ParameterSpec, PatchTarget from typing import Any, List, Dict, Optional if sys.version_info < (3, 7): @@ -877,6 +878,9 @@ tx_channel: str """The label of the associated channel.""" +sequencer_index: int +"""The sequencer index of this sequencer.""" + @dataclass(eq=False, repr=False) class QDOSequencer(Message): @@ -887,6 +891,9 @@ tx_channel: str """The label of the associated channel.""" +sequencer_index: int +"""The sequencer index of this sequencer.""" + @dataclass(eq=False, repr=False) class QFDx2Sequencer(Message): @@ -897,6 +904,9 @@ tx_channel: str """The label of the associated
commit python-rpcq for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rpcq for openSUSE:Factory checked in at 2021-01-31 16:52:27 Comparing /work/SRC/openSUSE:Factory/python-rpcq (Old) and /work/SRC/openSUSE:Factory/.python-rpcq.new.28504 (New) Package is "python-rpcq" Sun Jan 31 16:52:27 2021 rev:5 rq:868112 version:3.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-rpcq/python-rpcq.changes 2021-01-30 13:57:47.274399132 +0100 +++ /work/SRC/openSUSE:Factory/.python-rpcq.new.28504/python-rpcq.changes 2021-01-31 16:52:28.852743308 +0100 @@ -1,0 +2,7 @@ +Sat Jan 30 08:10:52 UTC 2021 - andy great + +- Fix RPMLINT warning non-executable-script. +- Zero length rpcq/py.typed must be kept for PEP 561 compliance. +- Disable build for python 3.6 because numpy will not support it. + +--- Other differences: -- ++ python-rpcq.spec ++ --- /var/tmp/diff_new_pack.PBGRnw/_old 2021-01-31 16:52:29.344744018 +0100 +++ /var/tmp/diff_new_pack.PBGRnw/_new 2021-01-31 16:52:29.348744024 +0100 @@ -18,6 +18,7 @@ %define packagename rpcq %define skip_python2 1 +%define skip_python36 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rpcq Version:3.8.0 @@ -49,6 +50,9 @@ %prep %setup -q -n %{packagename}-%{version} +# Fix non-executable-script +sed -i '/^#!/d' %{packagename}/core_messages.py +sed -i '/^#!/d' %{packagename}/messages.py %build %python_build
commit python-rpcq for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rpcq for openSUSE:Factory checked in at 2021-01-30 13:56:42 Comparing /work/SRC/openSUSE:Factory/python-rpcq (Old) and /work/SRC/openSUSE:Factory/.python-rpcq.new.28504 (New) Package is "python-rpcq" Sat Jan 30 13:56:42 2021 rev:4 rq:867799 version:3.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-rpcq/python-rpcq.changes 2021-01-19 16:03:16.811478261 +0100 +++ /work/SRC/openSUSE:Factory/.python-rpcq.new.28504/python-rpcq.changes 2021-01-30 13:57:47.274399132 +0100 @@ -1,0 +2,6 @@ +Fri Jan 29 10:25:51 UTC 2021 - andy great + +- Update to version 3.8.0. + * No changelog given. + +--- Old: rpcq-3.7.0.tar.gz New: rpcq-3.8.0.tar.gz Other differences: -- ++ python-rpcq.spec ++ --- /var/tmp/diff_new_pack.7lesOQ/_old 2021-01-30 13:57:47.846400096 +0100 +++ /var/tmp/diff_new_pack.7lesOQ/_new 2021-01-30 13:57:47.850400102 +0100 @@ -20,7 +20,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rpcq -Version:3.7.0 +Version:3.8.0 Release:0 Summary:The RPC framework and message specification for Rigetti QCS License:Apache-2.0 ++ rpcq-3.7.0.tar.gz -> rpcq-3.8.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.7.0/VERSION.txt new/rpcq-3.8.0/VERSION.txt --- old/rpcq-3.7.0/VERSION.txt 2020-12-29 21:08:50.0 +0100 +++ new/rpcq-3.8.0/VERSION.txt 2021-01-28 20:39:23.0 +0100 @@ -1 +1 @@ -3.7.0 +3.8.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.7.0/rpcq/core_messages.py new/rpcq-3.8.0/rpcq/core_messages.py --- old/rpcq-3.7.0/rpcq/core_messages.py2020-12-29 21:08:50.0 +0100 +++ new/rpcq-3.8.0/rpcq/core_messages.py2021-01-28 20:39:23.0 +0100 @@ -132,7 +132,7 @@ fwhm: Optional[float] = None """Full Width Half Max shape paramter in seconds""" -t0: float = None +t0: float = 0.0e+0 """Center time coordinate of the shape in seconds. Defaults to mid-point of pulse.""" anh: float = -2.1e+8 @@ -513,7 +513,7 @@ """ port: int -"""The physical Tsunami MNIO port, indexed from 0, +"""The physical Tsunami MNIO port, indexed from 0, where this connection originates.""" destination: str diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.7.0/rpcq/messages.py new/rpcq-3.8.0/rpcq/messages.py --- old/rpcq-3.7.0/rpcq/messages.py 2020-12-29 21:08:50.0 +0100 +++ new/rpcq-3.8.0/rpcq/messages.py 2021-01-28 20:39:23.0 +0100 @@ -22,7 +22,7 @@ Specification of a dynamic parameter type and array-length. """ -type: str = None +type: str = "" """The parameter type, e.g., one of 'INTEGER', or 'FLOAT'.""" length: int = 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.7.0/rpcq/test/test_spec.py new/rpcq-3.8.0/rpcq/test/test_spec.py --- old/rpcq-3.7.0/rpcq/test/test_spec.py 2020-12-29 21:08:50.0 +0100 +++ new/rpcq-3.8.0/rpcq/test/test_spec.py 2021-01-28 20:39:23.0 +0100 @@ -30,7 +30,7 @@ self.num = num async def add(self, *args): -asyncio.sleep(0.1) +await asyncio.sleep(0.1) return sum(args) + self.num def blocking_add(self, *args): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.7.0/src/core-messages.lisp new/rpcq-3.8.0/src/core-messages.lisp --- old/rpcq-3.7.0/src/core-messages.lisp 2020-12-29 21:08:50.0 +0100 +++ new/rpcq-3.8.0/src/core-messages.lisp 2021-01-28 20:39:23.0 +0100 @@ -158,7 +158,7 @@ :documentation "Center time coordinate of the shape in seconds. Defaults to mid-point of pulse." :type :float :required t -:default nil) +:default 0.0) (|anh| :documentation "Anharmonicity of the qubit, f01-f12 in Hz" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.7.0/src/messages.lisp new/rpcq-3.8.0/src/messages.lisp --- old/rpcq-3.7.0/src/messages.lisp2020-12-29 21:08:50.0 +0100 +++ new/rpcq-3.8.0/src/messages.lisp2021-01-28 20:39:23.0 +0100 @@ -23,7 +23,7 @@ :documentation "The parameter type, e.g., one of 'INTEGER', or 'FLOAT'." :type :string :required t - :default nil) + :default "")
commit python-rpcq for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rpcq for openSUSE:Factory checked in at 2021-01-19 16:02:50 Comparing /work/SRC/openSUSE:Factory/python-rpcq (Old) and /work/SRC/openSUSE:Factory/.python-rpcq.new.28504 (New) Package is "python-rpcq" Tue Jan 19 16:02:50 2021 rev:3 rq:864169 version:3.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-rpcq/python-rpcq.changes 2020-11-29 12:30:16.642114392 +0100 +++ /work/SRC/openSUSE:Factory/.python-rpcq.new.28504/python-rpcq.changes 2021-01-19 16:03:16.811478261 +0100 @@ -1,0 +2,11 @@ +Sat Jan 16 07:47:21 UTC 2021 - andy great + +- Update to version 3.7.0. + * Add mnio_connections section + * Import messages and core_messages in rpcq module init + * Allow None for optional bools + * Correctly report timeout in timeout error messages +Fix for breaking change in upstream cl-messagepack + + +--- Old: rpcq-3.6.0.tar.gz New: rpcq-3.7.0.tar.gz Other differences: -- ++ python-rpcq.spec ++ --- /var/tmp/diff_new_pack.Pld10z/_old 2021-01-19 16:03:17.787479729 +0100 +++ /var/tmp/diff_new_pack.Pld10z/_new 2021-01-19 16:03:17.787479729 +0100 @@ -20,7 +20,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rpcq -Version:3.6.0 +Version:3.7.0 Release:0 Summary:The RPC framework and message specification for Rigetti QCS License:Apache-2.0 ++ rpcq-3.6.0.tar.gz -> rpcq-3.7.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.6.0/VERSION.txt new/rpcq-3.7.0/VERSION.txt --- old/rpcq-3.6.0/VERSION.txt 2020-11-25 21:19:55.0 +0100 +++ new/rpcq-3.7.0/VERSION.txt 2020-12-29 21:08:50.0 +0100 @@ -1 +1 @@ -3.6.0 +3.7.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.6.0/rpcq/__init__.py new/rpcq-3.7.0/rpcq/__init__.py --- old/rpcq-3.6.0/rpcq/__init__.py 2020-11-25 21:19:55.0 +0100 +++ new/rpcq-3.7.0/rpcq/__init__.py 2020-12-29 21:08:50.0 +0100 @@ -1,3 +1,9 @@ from rpcq._client import Client, ClientAuthConfig from rpcq._server import Server, ServerAuthConfig +# These are imported so that the corresponding data classes are +# registered whenever rpcq is imported. Without which one would have +# to import the messages and core_messages modules directly before +# using, e.g., from_json / to_json. +from rpcq import messages +from rpcq import core_messages from rpcq.version import __version__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.6.0/rpcq/core_messages.py new/rpcq-3.7.0/rpcq/core_messages.py --- old/rpcq-3.6.0/rpcq/core_messages.py2020-11-25 21:19:55.0 +0100 +++ new/rpcq-3.7.0/rpcq/core_messages.py2020-12-29 21:08:50.0 +0100 @@ -507,6 +507,20 @@ @dataclass(eq=False, repr=False) +class MNIOConnection(Message): +""" +Description of one side of an MNIO connection between two Tsunamis. +""" + +port: int +"""The physical Tsunami MNIO port, indexed from 0, + where this connection originates.""" + +destination: str +"""The Tsunami where this connection terminates.""" + + +@dataclass(eq=False, repr=False) class Program(Message): """ The dynamic aspects (waveforms, readout kernels, scheduled @@ -617,6 +631,9 @@ instrument_type: str """Instrument type (driver class name).""" +mnio_connections: Dict[str, MNIOConnection] = field(default_factory=dict) +"""MNIO network connections between Tsunami instruments""" + channels: Dict[str, Any] = field(default_factory=dict) """Mapping of channel labels to channel settings""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.6.0/src/core-messages.lisp new/rpcq-3.7.0/src/core-messages.lisp --- old/rpcq-3.6.0/src/core-messages.lisp 2020-11-25 21:19:55.0 +0100 +++ new/rpcq-3.7.0/src/core-messages.lisp 2020-12-29 21:08:50.0 +0100 @@ -624,6 +624,21 @@ :documentation "Specify an acquisition on an rx-frame as well as the\ filters to apply.") +(defmessage |MNIOConnection| () +( + (|port| + :documentation "The physical Tsunami MNIO port, indexed from 0, \ + where this connection originates." + :type :integer + :required t) + + (|destination| + :documentation "The Tsunami where this connection terminates." + :type :string + :required t)) + + :documentation
[opensuse-commit] commit python-rpcq for openSUSE:Factory
Hello community, here is the log from the commit of package python-rpcq for openSUSE:Factory checked in at 2020-11-29 12:29:58 Comparing /work/SRC/openSUSE:Factory/python-rpcq (Old) and /work/SRC/openSUSE:Factory/.python-rpcq.new.5913 (New) Package is "python-rpcq" Sun Nov 29 12:29:58 2020 rev:2 rq:851324 version:3.6.0 Changes: --- /work/SRC/openSUSE:Factory/python-rpcq/python-rpcq.changes 2020-08-19 18:58:45.291908754 +0200 +++ /work/SRC/openSUSE:Factory/.python-rpcq.new.5913/python-rpcq.changes 2020-11-29 12:30:16.642114392 +0100 @@ -1,0 +2,8 @@ +Thu Nov 26 06:23:22 UTC 2020 - andy great + +- Update to version 3.6.0. + * Add YokogawaGS200Channel message +- Updates since 3.4.0. + * Add QDOSequencer, QDOSlowFluxChannel, and QDOFastFluxChannel. + +--- Old: rpcq-3.4.0.tar.gz New: rpcq-3.6.0.tar.gz Other differences: -- ++ python-rpcq.spec ++ --- /var/tmp/diff_new_pack.cDG4F5/_old 2020-11-29 12:30:17.286115043 +0100 +++ /var/tmp/diff_new_pack.cDG4F5/_new 2020-11-29 12:30:17.290115048 +0100 @@ -20,7 +20,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rpcq -Version:3.4.0 +Version:3.6.0 Release:0 Summary:The RPC framework and message specification for Rigetti QCS License:Apache-2.0 ++ rpcq-3.4.0.tar.gz -> rpcq-3.6.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.4.0/VERSION.txt new/rpcq-3.6.0/VERSION.txt --- old/rpcq-3.4.0/VERSION.txt 2020-07-16 01:37:35.0 +0200 +++ new/rpcq-3.6.0/VERSION.txt 2020-11-25 21:19:55.0 +0100 @@ -1 +1 @@ -3.4.0 +3.6.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.4.0/rpcq/core_messages.py new/rpcq-3.6.0/rpcq/core_messages.py --- old/rpcq-3.4.0/rpcq/core_messages.py2020-07-16 01:37:35.0 +0200 +++ new/rpcq-3.6.0/rpcq/core_messages.py2020-11-25 21:19:55.0 +0100 @@ -692,7 +692,7 @@ """Delay [seconds] to account for inter-channel skew.""" flux_current: Optional[float] = None -"""Slow flux current [Amps].""" +"""Flux current [Amps].""" relay_closed: Optional[bool] = None """Set the state of the Flux relay. @@ -793,6 +793,52 @@ @dataclass(eq=False, repr=False) +class QDOSlowFluxChannel(Message): +""" +Configuration for a single QDO Slow Flux Channel. +""" + +channel_index: int +"""The channel index on the QDO, zero indexed from the + lowest channel, as installed in the box. Flux index typically starts at 4.""" + +flux_current: Optional[float] = None +"""Flux current [Amps].""" + +relay_closed: Optional[bool] = False +"""Set the state of the Flux relay. + True - Relay closed, allows flux current to flow. + False - Relay open, no flux current can flow.""" + + +@dataclass(eq=False, repr=False) +class QDOFastFluxChannel(Message): +""" +Configuration for a single QDO Fast Flux Channel. +""" + +channel_index: int +"""The channel index on the QDO, zero indexed from the + lowest channel, as installed in the box.""" + +direction: Optional[str] = "tx" +"""The QDO is a device that transmits pulses.""" + +delay: float = 0.0e+0 +"""Delay [seconds] to account for inter-channel skew.""" + +flux_current: Optional[float] = None +"""Flux current [Amps].""" + + +@dataclass(eq=False, repr=False) +class YokogawaGS200Channel(Message): +""" +Configuration for a single Yokogawa GS200 Channel. +""" + + +@dataclass(eq=False, repr=False) class LegacyUSRPSequencer(Message): """ Configuration for a Legacy USRP Sequencer @@ -812,6 +858,16 @@ """ tx_channel: str +"""The label of the associated channel.""" + + +@dataclass(eq=False, repr=False) +class QDOSequencer(Message): +""" +Configuration for a single QDO Sequencer. +""" + +tx_channel: str """The label of the associated channel.""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpcq-3.4.0/src/core-messages.lisp new/rpcq-3.6.0/src/core-messages.lisp --- old/rpcq-3.4.0/src/core-messages.lisp 2020-07-16 01:37:35.0 +0200 +++ new/rpcq-3.6.0/src/core-messages.lisp 2020-11-25 21:19:55.0 +0100 @@ -868,7 +868,7 @@ :default 0.0) (|flux_current| - :documentation "Slow flux current [Amps]." + :documentation "Flux current [Amps]." :type :float :required nil :default nil) @@ -1019,6 +1019,63 @@