From ff246a7aaeb4bce7efa29e8cc166c6b44d58c14d Mon Sep 17 00:00:00 2001 From: Warren Jones Date: Wed, 12 Oct 2022 11:00:50 -0700 Subject: [PATCH 1/3] Update version and history info for az quantum extension 0.17.0 --- src/quantum/HISTORY.rst | 6 ++++++ src/quantum/azext_quantum/__init__.py | 2 +- src/quantum/setup.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/quantum/HISTORY.rst b/src/quantum/HISTORY.rst index 07c6ed925b1..b7220fcca69 100644 --- a/src/quantum/HISTORY.rst +++ b/src/quantum/HISTORY.rst @@ -3,6 +3,12 @@ Release History =============== +0.17.0 +++++++ +* [2022-10-13] Version intended to work with QDK version 0.26.233415 +* The `az quantum` reference documentation now indicates which command parameters are required, and missing-parameter error messages are more informative. See https://learn.microsoft.com/cli/azure/quantum +* You can submit jobs to the microsoft.simulator.resources-estimator target using the CLI. + 0.16.0 ++++++ * [2022-06-30] Version intended to work with QDK version 0.25.218240 diff --git a/src/quantum/azext_quantum/__init__.py b/src/quantum/azext_quantum/__init__.py index 193ee93b80d..cc51ac7daca 100644 --- a/src/quantum/azext_quantum/__init__.py +++ b/src/quantum/azext_quantum/__init__.py @@ -11,7 +11,7 @@ # This is the version reported by the CLI to the service when submitting requests. # This should be in sync with the extension version in 'setup.py', unless we need to # submit using a different version. -CLI_REPORTED_VERSION = "0.16.0" +CLI_REPORTED_VERSION = "0.17.0" class QuantumCommandsLoader(AzCommandsLoader): diff --git a/src/quantum/setup.py b/src/quantum/setup.py index 3c26d228bd9..2343cb8117d 100644 --- a/src/quantum/setup.py +++ b/src/quantum/setup.py @@ -17,7 +17,7 @@ # This version should match the latest entry in HISTORY.rst # Also, when updating this, please review the version used by the extension to # submit requests, which can be found at './azext_quantum/__init__.py' -VERSION = '0.16.0' +VERSION = '0.17.0' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From 2d69b9c6f8ead661d5eff38cd67ae8c7a7d55533 Mon Sep 17 00:00:00 2001 From: Warren Jones Date: Wed, 12 Oct 2022 11:15:26 -0700 Subject: [PATCH 2/3] Fix flake8 style rule violations --- src/quantum/azext_quantum/_params.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/quantum/azext_quantum/_params.py b/src/quantum/azext_quantum/_params.py index a546b5c05e6..c53cbf60d1e 100644 --- a/src/quantum/azext_quantum/_params.py +++ b/src/quantum/azext_quantum/_params.py @@ -21,9 +21,9 @@ def get_action(self, values, option_string): params = {} for item in values: try: - json_obj = shell_safe_json_parse(item) - params.update(json_obj) - except CLIError as e: + json_obj = shell_safe_json_parse(item) + params.update(json_obj) + except CLIError: try: key, value = item.split('=', 1) params[key] = value From d7ac98487cd6666ce9348a6fceb5004a1b000038 Mon Sep 17 00:00:00 2001 From: Warren Jones Date: Thu, 13 Oct 2022 12:15:24 -0700 Subject: [PATCH 3/3] Update release date --- src/quantum/HISTORY.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quantum/HISTORY.rst b/src/quantum/HISTORY.rst index b7220fcca69..3ef0d9a27aa 100644 --- a/src/quantum/HISTORY.rst +++ b/src/quantum/HISTORY.rst @@ -5,7 +5,7 @@ Release History 0.17.0 ++++++ -* [2022-10-13] Version intended to work with QDK version 0.26.233415 +* [2022-10-14] Version intended to work with QDK version 0.26.233415 * The `az quantum` reference documentation now indicates which command parameters are required, and missing-parameter error messages are more informative. See https://learn.microsoft.com/cli/azure/quantum * You can submit jobs to the microsoft.simulator.resources-estimator target using the CLI.