Skip to content

Commit 4cc0bad

Browse files
authored
fix: update to the latest quil-rs release; should fix Rust crate release (#558)
* fix: update to the latest quil-rs release; should fix QCS crates.io release * fix quil-py publishing * record Zlib license for foldhash
1 parent 342189b commit 4cc0bad

File tree

5 files changed

+34
-5
lines changed

5 files changed

+34
-5
lines changed

Cargo.lock

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tokio = "1.36.0"
1515
# `crates/python/pyproject.toml`.
1616
# The version must also be specified in order to publish to crates.io. Cargo enforces
1717
# that the specified version is the same as the version in the git repository.
18-
quil-rs = { git = "https://github.com/rigetti/quil-rs", tag = "quil-py/v0.15.2" }
18+
quil-rs = { version = "0.32.0", git = "https://github.com/rigetti/quil-rs", tag = "quil-rs/v0.32.0" }
1919

2020
# ndarray is used by the `qcs` crate, but it is also used in the `python` crate via a
2121
# re-export through the numpy crate. They should be updated as a pair to keep both

crates/python/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ crate-type = ["cdylib", "rlib"]
2121
[dependencies]
2222
async-trait = "0.1.73"
2323
futures-util = "0.3.24"
24-
qcs = { path = "../lib", features = ["tracing-opentelemetry", "experimental"] }
24+
# TODO #507: automatically update the version when publishing
25+
qcs = { version = "0.25", path = "../lib", features = ["tracing-opentelemetry", "experimental"] }
2526
qcs-api-client-common = { workspace = true, features = ["python"] }
2627
qcs-api-client-grpc.workspace = true
2728
qcs-api-client-openapi.workspace = true

crates/python/THIRDPARTY.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5995,6 +5995,32 @@ third_party_libraries:
59955995
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
59965996
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
59975997
DEALINGS IN THE SOFTWARE.
5998+
- package_name: foldhash
5999+
package_version: 0.1.5
6000+
repository: https://github.com/orlp/foldhash
6001+
license: Zlib
6002+
licenses:
6003+
- license: Zlib
6004+
text: |-
6005+
Copyright (c) 2024 Orson Peters
6006+
6007+
This software is provided 'as-is', without any express or implied warranty. In
6008+
no event will the authors be held liable for any damages arising from the use of
6009+
this software.
6010+
6011+
Permission is granted to anyone to use this software for any purpose, including
6012+
commercial applications, and to alter it and redistribute it freely, subject to
6013+
the following restrictions:
6014+
6015+
1. The origin of this software must not be misrepresented; you must not claim
6016+
that you wrote the original software. If you use this software in a product,
6017+
an acknowledgment in the product documentation would be appreciated but is
6018+
not required.
6019+
6020+
2. Altered source versions must be plainly marked as such, and must not be
6021+
misrepresented as being the original software.
6022+
6023+
3. This notice may not be removed or altered from any source distribution.
59986024
- package_name: form_urlencoded
59996025
package_version: 1.2.1
60006026
repository: https://github.com/servo/rust-url

deny.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ allow = [
9898
"Unicode-DFS-2016",
9999
"Unicode-3.0",
100100
"CC0-1.0",
101+
"Zlib",
101102
]
102103
# The confidence threshold for detecting a license from license text.
103104
# The higher the value, the more closely the license text must be to the
@@ -109,7 +110,6 @@ confidence-threshold = 0.8
109110
exceptions = [
110111
# Each entry is the crate and version constraint, and its specific allow
111112
# list
112-
#{ allow = ["Zlib"], crate = "adler32" },
113113
{ allow = ["MPL-2.0"], crate = "option-ext" },
114114
{ allow = ["MPL-2.0"], crate = "webpki-roots" }
115115
]

0 commit comments

Comments
 (0)