Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

User specified QDK package versions silently discarded in favor of latest version #674

Open
anjbur opened this issue May 24, 2022 · 0 comments
Labels
Area-Kernel Issue relates to the IQ# kernel. Kind-Enhancement New feature or request

Comments

@anjbur
Copy link
Contributor

anjbur commented May 24, 2022

Describe the issue
When loading a notebook with a .csproj (or if packages are loaded using the %package magic command), the versions for any QDK package listed are ignored in favor of the defaults in src/Tool/appsettings.json (see Workspace.cs#L399). This is done to ensure the most recent version of the Microsoft.Quantum.* packages are used, and to ensure the same version is used across all the packages. However, this is done without visibility to the user that their specified version is not being used. It also presents some difficulties in development that an alternate package version can't be easily loaded.

Desired behavior

  • Add a message to the user in %workspace magic command (and in the logs) if their specified package versions are overridden.
  • Allow a user to choose to load a specified package version instead of the default.
@anjbur anjbur added the Area-Kernel Issue relates to the IQ# kernel. label May 24, 2022
@cgranade cgranade added the Kind-Enhancement New feature or request label Sep 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area-Kernel Issue relates to the IQ# kernel. Kind-Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants