qbraid-cli 0.8.5a1__tar.gz → 0.8.5a2__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.
Potentially problematic release.
This version of qbraid-cli might be problematic. Click here for more details.
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/PKG-INFO +1 -1
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/pyproject.toml +1 -1
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/_version.py +2 -2
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/jobs/app.py +6 -4
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/jobs/toggle_braket.py +0 -12
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli.egg-info/PKG-INFO +1 -1
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/jobs/test_jobs_toggle_braket_enable.py +0 -12
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/.env.example +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/.github/workflows/bump-version.yml +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/.github/workflows/docs.yml +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/.github/workflows/format.yml +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/.github/workflows/main.yml +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/.github/workflows/pre-release.yml +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/.github/workflows/publish.yml +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/.github/workflows/tag-on-merge.yml +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/.gitignore +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/.readthedocs.yml +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/CONTRIBUTING.md +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/LICENSE +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/MANIFEST.IN +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/Makefile +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/README.md +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/Makefile +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/_static/api-key.png +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/_static/cards/jupyter.png +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/_static/cards/python.png +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/_static/cards/terminal.png +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/_static/favicon.ico +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/_static/logo.png +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/_static/style/custom.css +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/_static/style/s4defs-roles.css +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/configure.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/credits.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/devices-list.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/devices.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/envs-activate.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/envs-list.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/envs-uninstall.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/envs.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/jobs-add.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/jobs-disable.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/jobs-enable.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/jobs-list.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/jobs.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/kernels.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/cli/qbraid.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/conf.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/guide/overview.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/index.rst +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/make.bat +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/docs/requirements.txt +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/admin/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/admin/app.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/admin/buildlogs.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/admin/headers.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/admin/validation.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/configure/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/configure/actions.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/configure/app.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/credits/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/credits/app.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/devices/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/devices/app.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/devices/validation.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/envs/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/envs/activate.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/envs/app.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/envs/create.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/envs/data_handling.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/exceptions.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/handlers.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/jobs/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/jobs/validation.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/kernels/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/kernels/app.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/main.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/pip/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/pip/app.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/pip/hooks.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli/py.typed +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli.egg-info/SOURCES.txt +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli.egg-info/dependency_links.txt +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli.egg-info/entry_points.txt +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli.egg-info/requires.txt +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/qbraid_cli.egg-info/top_level.txt +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/ruff.toml +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/setup.cfg +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/configure/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/configure/test_configure_prompt_for_config.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/configure/test_configure_set.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/configure/test_configure_validate_input.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/credits/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/credits/test_credits_value.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/devices/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/devices/test_devices_list.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/devices/test_devices_validations.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/envs/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/envs/test_envs_activate.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/envs/test_envs_activate_find_shell_rc.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/envs/test_envs_activate_print_command.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/envs/test_envs_activate_pyenv.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/envs/test_envs_list.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/envs/test_envs_remove.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/jobs/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/jobs/test_jobs_disable.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/jobs/test_jobs_enable.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/jobs/test_jobs_list.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/jobs/test_jobs_state.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/jobs/test_jobs_toggle_braket_confirm.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/jobs/test_jobs_toggle_braket_disable.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/jobs/test_jobs_toggle_braket_get_data.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/jobs/test_jobs_validate_get_state.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/jobs/test_jobs_validate_handle_state.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/jobs/test_jobs_validate_library.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/kernels/__init__.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/kernels/test_kernels_list.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tools/bump_version.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tools/create_dev_build.sh +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tools/install_wheel_extras.sh +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tools/split_md.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tools/split_rst.py +0 -0
- {qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tools/stamp_pre_release.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "qbraid-cli"
|
|
7
|
-
version = "0.8.
|
|
7
|
+
version = "0.8.5a2"
|
|
8
8
|
description = "Command Line Interface for interacting with all parts of the qBraid platform."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{ name = "qBraid Development Team", email = "contact@qbraid.com" }]
|
|
@@ -12,5 +12,5 @@ __version__: str
|
|
|
12
12
|
__version_tuple__: VERSION_TUPLE
|
|
13
13
|
version_tuple: VERSION_TUPLE
|
|
14
14
|
|
|
15
|
-
__version__ = version = '0.1.dev1+
|
|
16
|
-
__version_tuple__ = version_tuple = (0, 1, 'dev1', '
|
|
15
|
+
__version__ = version = '0.1.dev1+g9c5838a.d20240822'
|
|
16
|
+
__version_tuple__ = version_tuple = (0, 1, 'dev1', 'g9c5838a.d20240822')
|
|
@@ -75,16 +75,18 @@ def jobs_state(
|
|
|
75
75
|
max_lib_length = max((len(lib) for lib in state_values.keys()), default=len(header_1))
|
|
76
76
|
padding = max_lib_length + 9
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
console.print(f"\n{header_1:<{padding}}{header_2}", style="bold")
|
|
80
|
-
|
|
78
|
+
output = ""
|
|
81
79
|
for lib, (installed, enabled) in state_values.items():
|
|
82
80
|
state_str = (
|
|
83
81
|
"[green]enabled"
|
|
84
82
|
if enabled and installed
|
|
85
83
|
else "[red]disabled" if installed else "[grey70]unavailable"
|
|
86
84
|
)
|
|
87
|
-
|
|
85
|
+
output += f"{lib:<{padding-1}} {state_str}\n"
|
|
86
|
+
|
|
87
|
+
console.print(f"Executable: {python_exe}")
|
|
88
|
+
console.print(f"\n{header_1:<{padding}}{header_2}", style="bold")
|
|
89
|
+
console.print(output)
|
|
88
90
|
|
|
89
91
|
|
|
90
92
|
@jobs_app.command(name="list")
|
|
@@ -157,18 +157,6 @@ def enable_braket(auto_confirm: bool = False):
|
|
|
157
157
|
aws_configure_dummy() # TODO: possibly add another confirmation for writing aws config files
|
|
158
158
|
|
|
159
159
|
try:
|
|
160
|
-
subprocess.check_call(
|
|
161
|
-
[
|
|
162
|
-
python_exe,
|
|
163
|
-
"-m",
|
|
164
|
-
"pip",
|
|
165
|
-
"install",
|
|
166
|
-
"amazon-braket-sdk",
|
|
167
|
-
"--upgrade",
|
|
168
|
-
"--upgrade-strategy",
|
|
169
|
-
"eager",
|
|
170
|
-
]
|
|
171
|
-
)
|
|
172
160
|
subprocess.check_call([python_exe, "-m", "pip", "install", f"boto3=={target}"])
|
|
173
161
|
subprocess.check_call([python_exe, "-m", "pip", "uninstall", "botocore", "-y", "--quiet"])
|
|
174
162
|
subprocess.check_call(
|
|
@@ -52,18 +52,6 @@ def test_subprocess_calls():
|
|
|
52
52
|
|
|
53
53
|
# Expected subprocess calls in order
|
|
54
54
|
expected_calls = [
|
|
55
|
-
call(
|
|
56
|
-
[
|
|
57
|
-
mock_python_path,
|
|
58
|
-
"-m",
|
|
59
|
-
"pip",
|
|
60
|
-
"install",
|
|
61
|
-
"amazon-braket-sdk",
|
|
62
|
-
"--upgrade",
|
|
63
|
-
"--upgrade-strategy",
|
|
64
|
-
"eager",
|
|
65
|
-
]
|
|
66
|
-
),
|
|
67
55
|
call([mock_python_path, "-m", "pip", "install", f"boto3=={version}"]),
|
|
68
56
|
call([mock_python_path, "-m", "pip", "uninstall", "botocore", "-y", "--quiet"]),
|
|
69
57
|
call(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qbraid_cli-0.8.5a1 → qbraid_cli-0.8.5a2}/tests/configure/test_configure_prompt_for_config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|