Skip to content

Commit 052b4da

Browse files
authored
Pin httparse to =1.8 to avoid unit test failures in runtime crates (#3687)
## Motivation and Context To fix current CI and release pipeline failures coming from `aws-smithy-runtime` and `aws-sigv4` now depending on `httparse` version 1.9.0 or greater. ## Testing Tests in CI ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
1 parent 998af09 commit 052b4da

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.cargo-deny-config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ allow = [
1818
"MIT",
1919
"MPL-2.0",
2020
"Unicode-DFS-2016",
21+
"Unicode-3.0",
2122
]
2223
confidence-threshold = 1.0
2324
exceptions = [

aws/rust-runtime/aws-sigv4/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aws-sigv4"
3-
version = "1.2.1"
3+
version = "1.2.2"
44
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "David Barsky <me@davidbarsky.com>"]
55
description = "SigV4 signer for HTTP requests and Event Stream messages."
66
edition = "2021"
@@ -44,7 +44,7 @@ aws-credential-types = { path = "../aws-credential-types", features = ["test-uti
4444
aws-smithy-runtime-api = { path = "../../../rust-runtime/aws-smithy-runtime-api", features = ["client", "test-util"] }
4545
bytes = "1"
4646
hex-literal = "0.4.1"
47-
httparse = "1.8"
47+
httparse = "=1.8"
4848
libfuzzer-sys = "0.4.6"
4949
pretty_assertions = "1.3"
5050
proptest = "1.2"

rust-runtime/aws-smithy-runtime/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aws-smithy-runtime"
3-
version = "1.5.6"
3+
version = "1.5.7"
44
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Zelda Hessler <zhessler@amazon.com>"]
55
description = "The new smithy runtime crate"
66
edition = "2021"
@@ -34,6 +34,8 @@ h2 = { version = "0.3", default-features = false, optional = true }
3434
http = { version = "0.2.8" }
3535
http-body-0-4 = { package = "http-body", version = "0.4.4" }
3636
http-body-1 = { package = "http-body", version = "1" }
37+
# This avoids bringing `httparse` 1.9.0 and 1.9.1 through `hyper-0-14` that break unit tests of runtime crates
38+
httparse = "=1.8.0"
3739
hyper-0-14 = { package = "hyper", version = "0.14.26", default-features = false, optional = true }
3840
hyper-rustls = { version = "0.24", features = ["rustls-native-certs", "http2"], optional = true }
3941
once_cell = "1.18.0"

0 commit comments

Comments
 (0)