forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly set MSRV for rust extension (Qiskit#8196)
* Explicitly set MSRV for rust extension This commit explicitly sets the MSRV (minimum supported rust version) for Qiskit Terra to 1.56 which was released in October 2021 (with 1.56.1 which fixed two CVEs being released Nov. 1st 2021). Previously we had avoided setting a hard MSRV and opted to try and just loosely support the past 6 months of rust releases. However, managing it loosely has proven tricky to manage in practice. This commit sets a hard version for MSRV and modifies a test job to validate we're able to compile with the MSRV. This should ensure we're able to avoid breaking compatibility for that version. * Explicitly set MSRV to 1.56.1 instead of loosely 1.56 * Explicitly set version as variable in CI config * Assign MSRV to azure variable Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
3577669
commit 186c807
Showing
5 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
upgrade: | ||
- | | ||
Qiskit Terra's compiled Rust extensions now have a minimum supported Rust | ||
version (MSRV) of 1.56.1. This means when building Qiskit Terra from source | ||
the oldest version of the Rust compiler supported is 1.56.1. If you are using | ||
an older version of the Rust compiler you will need to update to a newer | ||
version to continue to build Qiskit from source. This change was necessary | ||
as a number of upstream dependencies have updated their minimum supported | ||
versions too. |