qctrl-workflow-client 8.0.0__tar.gz → 9.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: qctrl-workflow-client
3
- Version: 8.0.0
3
+ Version: 9.0.0
4
4
  Summary: Q-CTRL Workflow Client
5
5
  License: https://q-ctrl.com/terms
6
6
  Keywords: black opal,boulder opal,fire opal,ironstone opal,nisq,open controls,q control,q ctrl,q-control,q-ctrl,qcontrol,qctrl,quantum,quantum algorithms,quantum circuits,quantum coding,quantum coding software,quantum computing,quantum control,quantum control software,quantum control theory,quantum engineering,quantum error correction,quantum firmware,quantum fundamentals,quantum navigation,quantum sensing,qubit,qudit
@@ -30,7 +30,7 @@ Classifier: Topic :: System :: Distributed Computing
30
30
  Requires-Dist: gql (>=3.5.3,<4.0.0)
31
31
  Requires-Dist: importlib-metadata (>=8.7.0,<9.0.0)
32
32
  Requires-Dist: packaging (>=25.0,<26.0)
33
- Requires-Dist: qctrl-client (>=14.0.0,<15.0.0)
33
+ Requires-Dist: qctrl-client (>=16.0.2,<17.0.0)
34
34
  Requires-Dist: qctrl-commons (>=25.1.2,<26.0.0)
35
35
  Requires-Dist: requests (>=2.32.4,<3.0.0)
36
36
  Requires-Dist: tenacity (>=9.1.2,<10.0.0)
@@ -2,7 +2,7 @@
2
2
  name = "qctrl-workflow-client"
3
3
  description = "Q-CTRL Workflow Client"
4
4
  requires-python = ">=3.10, <3.14"
5
- version = "8.0.0"
5
+ version = "9.0.0"
6
6
  license = "https://q-ctrl.com/terms"
7
7
  authors = [
8
8
  { name = "Q-CTRL", email = "support@q-ctrl.com" },
@@ -101,16 +101,16 @@ tenacity = "^9.1.2"
101
101
  requests = "^2.32.4"
102
102
  packaging = "^25.0"
103
103
  qctrl-commons = { version = "^25.1.2", source = "PyPI" }
104
- qctrl-client = { version = "^14.0.0", source = "PyPI" }
104
+ qctrl-client = { version = "^16.0.2", source = "PyPI" }
105
105
 
106
106
  [tool.poetry.group.dev.dependencies]
107
107
  pre-commit = "^4.1.0"
108
- pytest = "^8.3.4"
108
+ pytest = "^9.0.2"
109
109
  pytest-cov = "^7.0.0"
110
110
  pytest-mock = "^3.10.0"
111
111
  pytest-xdist = "^3.2.1"
112
- qctrl-core-workflow-manager = "^5.1.1"
113
- ruff = "^0.6.0"
112
+ qctrl-core-workflow-manager = "^6.0.0"
113
+ ruff = "^0.14.11"
114
114
 
115
115
  [tool.ruff]
116
116
  line-length = 100
@@ -1,4 +1,4 @@
1
- # Copyright 2025 Q-CTRL. All rights reserved.
1
+ # Copyright 2026 Q-CTRL. All rights reserved.
2
2
  #
3
3
  # Licensed under the Q-CTRL Terms of service (the "License"). Unauthorized
4
4
  # copying or use of this file, via any medium, is strictly prohibited.
@@ -11,7 +11,7 @@
11
11
  # distributed under the License is distributed on an "AS IS" BASIS. See the
12
12
  # License for the specific language.
13
13
 
14
- __version__ = "8.0.0"
14
+ __version__ = "9.0.0"
15
15
 
16
16
  from .defaults import get_authenticated_client_for_product
17
17
  from .functions import (
@@ -30,13 +30,13 @@ from .router import (
30
30
  from .settings import CoreClientSettings
31
31
 
32
32
  __all__ = [
33
- "get_authenticated_client_for_product",
34
- "core_workflow",
35
- "print_warnings",
36
- "Product",
37
- "ProductInfo",
38
33
  "ApiRouter",
39
34
  "BaseRouter",
40
- "LocalRouter",
41
35
  "CoreClientSettings",
36
+ "LocalRouter",
37
+ "Product",
38
+ "ProductInfo",
39
+ "core_workflow",
40
+ "get_authenticated_client_for_product",
41
+ "print_warnings",
42
42
  ]
@@ -1,4 +1,4 @@
1
- # Copyright 2025 Q-CTRL. All rights reserved.
1
+ # Copyright 2026 Q-CTRL. All rights reserved.
2
2
  #
3
3
  # Licensed under the Q-CTRL Terms of service (the "License"). Unauthorized
4
4
  # copying or use of this file, via any medium, is strictly prohibited.
@@ -18,7 +18,7 @@ from typing import TYPE_CHECKING
18
18
  if TYPE_CHECKING:
19
19
  from qctrlclient.auth import BaseAuth
20
20
  else:
21
- from qctrlclient.auth import BaseAuth # noqa: TCH002
21
+ from qctrlclient.auth import BaseAuth # noqa: TC002
22
22
 
23
23
  from qctrlclient import (
24
24
  CliAuth,
@@ -1,4 +1,4 @@
1
- # Copyright 2025 Q-CTRL. All rights reserved.
1
+ # Copyright 2026 Q-CTRL. All rights reserved.
2
2
  #
3
3
  # Licensed under the Q-CTRL Terms of service (the "License"). Unauthorized
4
4
  # copying or use of this file, via any medium, is strictly prohibited.
@@ -79,7 +79,7 @@ def core_workflow(
79
79
  router = config.get_router()
80
80
 
81
81
  if isinstance(router, ApiRouter):
82
- router.set_async_state(kwargs.pop("is_async", False))
82
+ router.set_async_state(is_async=kwargs.pop("is_async", False))
83
83
 
84
84
  data = func(*args, **kwargs)
85
85
 
@@ -154,7 +154,7 @@ def async_core_workflow(
154
154
  router = config.get_router()
155
155
 
156
156
  # Set the async state to True
157
- router.set_async_state(True)
157
+ router.set_async_state(is_async=True)
158
158
  if "is_async" in kwargs:
159
159
  raise QctrlArgumentsValueError(
160
160
  description="The asynchronous state of this function cannot be altered.",
@@ -1,4 +1,4 @@
1
- # Copyright 2025 Q-CTRL. All rights reserved.
1
+ # Copyright 2026 Q-CTRL. All rights reserved.
2
2
  #
3
3
  # Licensed under the Q-CTRL Terms of service (the "License"). Unauthorized
4
4
  # copying or use of this file, via any medium, is strictly prohibited.
@@ -1,4 +1,4 @@
1
- # Copyright 2025 Q-CTRL. All rights reserved.
1
+ # Copyright 2026 Q-CTRL. All rights reserved.
2
2
  #
3
3
  # Licensed under the Q-CTRL Terms of service (the "License"). Unauthorized
4
4
  # copying or use of this file, via any medium, is strictly prohibited.
@@ -1,4 +1,4 @@
1
- # Copyright 2025 Q-CTRL. All rights reserved.
1
+ # Copyright 2026 Q-CTRL. All rights reserved.
2
2
  #
3
3
  # Licensed under the Q-CTRL Terms of service (the "License"). Unauthorized
4
4
  # copying or use of this file, via any medium, is strictly prohibited.
@@ -32,9 +32,9 @@ if TYPE_CHECKING:
32
32
 
33
33
  from qctrlworkflowclient.settings import CoreClientSettings
34
34
  else:
35
- from qctrlclient import GraphQLClient # noqa: TCH002
35
+ from qctrlclient import GraphQLClient # noqa: TC002
36
36
 
37
- from qctrlworkflowclient.settings import CoreClientSettings # noqa: TCH001
37
+ from qctrlworkflowclient.settings import CoreClientSettings # noqa: TC001
38
38
 
39
39
  from qctrlclient.exceptions import GraphQLClientError
40
40
  from qctrlcommons.preconditions import check_argument
@@ -1,4 +1,4 @@
1
- # Copyright 2025 Q-CTRL. All rights reserved.
1
+ # Copyright 2026 Q-CTRL. All rights reserved.
2
2
  #
3
3
  # Licensed under the Q-CTRL Terms of service (the "License"). Unauthorized
4
4
  # copying or use of this file, via any medium, is strictly prohibited.
@@ -1,4 +1,4 @@
1
- # Copyright 2025 Q-CTRL. All rights reserved.
1
+ # Copyright 2026 Q-CTRL. All rights reserved.
2
2
  #
3
3
  # Licensed under the Q-CTRL Terms of service (the "License"). Unauthorized
4
4
  # copying or use of this file, via any medium, is strictly prohibited.
@@ -17,7 +17,7 @@ from typing import TYPE_CHECKING
17
17
  if TYPE_CHECKING:
18
18
  from qctrlcoreworkflowmanager import CallableResolver
19
19
  else:
20
- from qctrlcoreworkflowmanager import CallableResolver # noqa: TCH002
20
+ from qctrlcoreworkflowmanager import CallableResolver # noqa: TC002
21
21
 
22
22
  from .base import BaseRouter
23
23
 
@@ -1,4 +1,4 @@
1
- # Copyright 2025 Q-CTRL. All rights reserved.
1
+ # Copyright 2026 Q-CTRL. All rights reserved.
2
2
  #
3
3
  # Licensed under the Q-CTRL Terms of service (the "License"). Unauthorized
4
4
  # copying or use of this file, via any medium, is strictly prohibited.
@@ -1,4 +1,4 @@
1
- # Copyright 2025 Q-CTRL. All rights reserved.
1
+ # Copyright 2026 Q-CTRL. All rights reserved.
2
2
  #
3
3
  # Licensed under the Q-CTRL Terms of service (the "License"). Unauthorized
4
4
  # copying or use of this file, via any medium, is strictly prohibited.