Dwave-ocean-sdk

Latest version: v6.10.0

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

Scan your dependencies

Page 19 of 27

0.9.1

New Features

- Add Leap hybrid CQM solvers support. See [\489](https://github.com/dwavesystems/dwave-cloud-client/pull/489).

Upgrade Notes

- Sampling on structured solvers of problems with incompatible graph/structure now fails with `ProblemStructureError`. See [\487](https://github.com/dwavesystems/dwave-cloud-client/issues/487).

Bug Fixes

- Make `StructuredSolver.check_problem` faster (15-20%). See [\487](https://github.com/dwavesystems/dwave-cloud-client/issues/487).

0.9.0

New Features

- Default `dwave config create` configuration flow is now simplified to prompt only for essential parameters (at the moment that's only `token`).

Interactive configuration of an extended set of non-essential parameters (i.e. the previous default) is now available via a new flag: `--full`.

See [\304](https://github.com/dwavesystems/dwave-cloud-client/issues/304)

<!-- -->

- A low-level `dwave.cloud.api.client` added to abstract SAPI communication details (like authentication, response decoding, error handling, retries, etc).

- All SAPI requests and responses modelled in `dwave.cloud.api.models.*`. These models are used for data validation and representation.

<!-- -->

- Added model-level interfaces to SAPI resources (in a REST sense), `dwave.cloud.api.resources.Solvers` and `dwave.cloud.api.resources.Problems`.

<!-- -->

- Added mock solver data generators.

<!-- -->

- New layer of exceptions added in `dwave.cloud.api.exceptions`. Base exception `RequestError` subclasses `requests`'s exception and includes raw `.response` object, along with `.error_msg` and `.error_code` returned by SAPI.

<!-- -->

- Begin using reno for changelog.

Upgrade Notes

- `SAPIError` exception is now just an alias for `dwave.cloud.api.exceptions.RequestError`.

<!-- -->

- To configure non-essential parameters such as `endpoint`, `client` and `solver`, configuration create command now has to be called with the `--full` option:

dwave config create --full

<!-- -->

- `dwave.cloud.client` module is now a namespace containing all client subclasses as submodules. You should update your imports accordingly:

dwave.cloud.Client --> dwave.cloud.client.base.Client
dwave.cloud.hybrid.Client --> dwave.cloud.client.hybrid.Client
dwave.cloud.qpu.Client --> dwave.cloud.client.qpu.Client
dwave.cloud.sw.Client --> dwave.cloud.client.sw.Client

For backwards compatibility, old import paths still work, but are deprecated.

Deprecation Notes

- Import paths `dwave.cloud.{hybrid,qpu,sw}.Client` are deprecated and should be replaced with `dwave.cloud.client.{hybrid,qpu,sw}.Client`.

Bug Fixes

- Configured client session creation is sped up by caching user-agent construction (per client). Client session is now created \~200x faster, making it on par with `requests.Session` creation time (\~50us).

<!-- -->

- When a path to a nonexistent config file is provided to `dwave config create`, we'll now happily create that file, instead of failing.

<!-- -->

- Avoid character encoding / charset guessing for speed and [stability](https://github.com/dwavesystems/dwave-cloud-client/pull/476).

0.8.14

New Features

- Improved Documentation. See https://github.com/dwavesystems/dwave-networkx/pull/226, https://github.com/dwavesystems/dwave-networkx/pull/227, https://github.com/dwavesystems/dwave-networkx/pull/229.

- Fix misc deprecation warnings. See https://github.com/dwavesystems/dwave-networkx/pull/228.

- Support NetworkX 3.x. See https://github.com/dwavesystems/dwave-networkx/pull/230.

Upgrade Notes

- Added NumPy as an explicit dependency. See https://github.com/dwavesystems/dwave-networkx/pull/230.

0.8.13

New Features

- Add support for torus QPU graph variations. See [\225](https://github.com/dwavesystems/dwave-networkx/pull/225).

Bug Fixes

- Bug fix/documentation See [\223](https://github.com/dwavesystems/dwave-networkx/pull/223).

0.8.12

New Features

- No longer depend on `dwave-preprocessing`

- Support `dimod>=0.10.8,<0.13.0`

Bug Fixes

- Fix reliance on Matplotlib's `DivergingNorm`. See [\192](https://github.com/dwavesystems/dwave-networkx/issues/192).

- Add missing decorator to `weighted_maximum_cut()`

Upgrade Notes

- Drop support for Python 3.6

0.8.11

New Features
* Add `networkx.DiGraph` support to `traveling_salesperson_qubo()`. See https://github.com/dwavesystems/dwave-networkx/pull/205.
* No longer directly depend on the `decorators` package. See https://github.com/dwavesystems/dwave-networkx/pull/213.
* Add graph relabeling and sub-lattice mappings. See https://github.com/dwavesystems/dwave-networkx/pull/211.
* Add `partition()` and `graph_partition_cqm()`. See https://github.com/dwavesystems/dwave-networkx/pull/216.

Bug Fixes
* `cmap` keyword argument can now be correctly supplied to `draw_embedding()`. See https://github.com/dwavesystems/dwave-networkx/pull/207.

Page 19 of 27

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.