Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "upgrade" option to the dwave install CLI command #381

Closed
mdecandia opened this issue Jun 3, 2020 · 0 comments · Fixed by #384
Closed

Add "upgrade" option to the dwave install CLI command #381

mdecandia opened this issue Jun 3, 2020 · 0 comments · Fixed by #384
Labels

Comments

@mdecandia
Copy link
Member

Current Problem
While the dwave install CLI command allows us to install contributor Ocean tools such as the Problem Inspector, it does not let us entirely upgrade this tool. For example, when upgrading dwave-ocean-sdk, the dwave-inspectorapp package does not get automatically upgraded to the latest version, because dwave-inspectorapp is installed by dwave install.

Proposed Solution
Add an upgrade option to dwave install, such as dwave install -u and dwave install --upgrade

@randomir randomir transferred this issue from dwavesystems/dwave-ocean-sdk Jun 3, 2020
randomir added a commit that referenced this issue Jul 8, 2020
Changes from 0.7.2:

New Features
---

- Hybrid solvers support (#378):
  - `dwave.cloud.hybrid.Client` is a new client type specialized
    for SAPI hybrid solvers
  - `Solver.hybrid` is a new derived property, also available for
    feature-based solver filtering
- Client certificate SAPI authentication supported via `client_cert`
  and `client_cert_key` config/kwarg parameters (#382)
- `dwave install` now supports `--upgrade` option to (re)install
  partially installed contrib packages, or upgrade stale
  requirements (#381)

Fixes
---

- `qpu`/`sw`/`hybrid` derived solver properties refactored to use
  the new SAPI solver property, `category`
- Nested exception properly propagated by `Future.exception()`
- `dwave install` now enforces the full requirement specifier for
  each contrib dependency
- User home and environment variables are now expanded in
  config file path (#318)

Changes
---

- `Solver.is_*` properties scheduled for removal in 0.8.0
- `Future.error` deprecated in favor of `Future.exception()` and
  scheduled for removal in 0.9.0
- Removed most of Python 2 constructs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants