Dwave-cloud-client

Latest version: v0.12.0

Safety actively analyzes 638884 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 13

0.10.2

Not secure
New Features

- Added `estimate_qpu_access_time` method to `dwave.cloud.solver.StructuredSolver`
to estimate quantum processing unit (QPU) access time for a submission to the
selected solver.

0.10.1

Not secure
Bug Fixes

- Previously it was possible for mutually exclusive config options, if all specified on the same level, and depending on the order used, to not be correctly combined with options from a lower level. See [\524](https://github.com/dwavesystems/dwave-cloud-client/issues/524), now fixed.

0.10.0

Not secure
New Features

- Add `poll_backoff_base` configuration option to control the exponential base of the (problem status) polling schedule. Available as a config file option and `dwave.cloud.Client` keyword argument.

Upgrade Notes

- Make polling schedule denser in the beginning (by lowering the exponential base from `2` to `1.3`), thus enabling much faster answer download for SAPI response times under two minutes.

<!-- -->

- Remove `Client.solvers()` method in favor of `Client.get_solvers()`. It was previously deprecated in `dwave-cloud-client==0.5.0`.

<!-- -->

- Remove `dwave.cloud.computation.Future.error` property in favor of `dwave.cloud.computation.future.exception()` method. The property was previously deprecated in `dwave-cloud-client==0.7.3`.

<!-- -->

- Remove `dwave.cloud.computation.Future.{eta_min,eta_max}`. These properties were previously deprecated in `dwave-cloud-client==0.8.5` when the underlying SAPI feature/field was removed.

<!-- -->

- Remove `dwave.cloud.computation.Future.occurrences` alias in favor of `dwave.cloud.computation.Future.num_occurrences` property. The alias was previously deprecated in `dwave-cloud-client==0.8.0`.

<!-- -->

- CLI: use of `-c` for `--config-file` has been deprecated since `dwave-cloud-client==0.8.5` in favor of `-f`, and the option is now removed in 0.10.0. Use `--config-file` or `-f` instead.

<!-- -->

- Remove support for dimod 0.8.x. Upgrade dimod to 0.9.0+.

<!-- -->

- Upgrade your python to 3.7+. We no longer support python 3.6 and below.

Deprecation Notes

- Alias keys (`samples` and `occurrences`) in `dwave.cloud.computation.Future.result()`-returned dictionary are deprecated since `dwave-cloud-client==0.8.0` and will be removed in `dwave-cloud-client==0.12.0`.

<!-- -->

- Positional arguments to `dwave.cloud.Client` constructor are deprecated since `dwave-cloud-client==0.10.0` and will be removed in `dwave-cloud-client==0.12.0`. Use keywords arguments instead.

0.9.5

Not secure
Bug Fixes

- Preemptively resolve sampling answer during `dwave ping` and `dwave sample`, as to capture and properly output/format eventual errors. See [\517](https://github.com/dwavesystems/dwave-cloud-client/issues/517).

0.9.4

Not secure
New Features

- Add `StructuredSolver.reformat_parameters()` method. This method can be used to format solver parameters for SAPI. See [\465](https://github.com/dwavesystems/dwave-cloud-client/issues/465).

- Support `dimod<0.13.0`.

Bug Fixes

- Make sure `Future.wait_id()` fails deterministically in a case of problem submit error. Previously it would hang if SAPI didn't return problem\_id for whatever reason. See [\469](https://github.com/dwavesystems/dwave-cloud-client/issues/469) and [\#511](https://github.com/dwavesystems/dwave-cloud-client/issues/511).

0.9.3

Not secure
New Features

- Add Python 3.10 support.

- Add `--json` output option to `dwave sample`.

- Add `--sampling-params` option to `dwave sample`. `--num-reads` has been kept, and it now overwrites value given in sampling params.

- Add `--label` option to `dwave ping` and `dwave sample`, with a default value set. See [\481](https://github.com/dwavesystems/dwave-cloud-client/issues/481).

- Add `--full` option to `dwave setup`, propagated to `dwave config create`. Clarified `dwave setup` operation in CLI help.

- Filter out API token-like strings from logs. Most notably, we make sure to redact Solver API tokens, but will filter out any prefixed hex token. See [\391](https://github.com/dwavesystems/dwave-cloud-client/issues/391).

Bug Fixes

- Improved error and output handling in `dwave sample`. See [\300](https://github.com/dwavesystems/dwave-cloud-client/issues/300).

Page 3 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.