Update dependencies (#794)

Pull in a bunch of updates so they get some testing before we announce
the project. textwrap 0.16 is blocked on miette updating, http 1.0 on
reqwest.
This commit is contained in:
konsti 2024-01-05 17:40:12 +01:00 committed by GitHub
parent 08edbc9f60
commit 5820a9d937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 405 additions and 459 deletions

View file

@ -36,7 +36,7 @@ url = { workspace = true, features = ["serde"] }
indoc = "2.0.4"
log = "0.4.20"
testing_logger = "0.1.1"
serde_json = "1.0.108"
serde_json = "1.0.111"
[features]
pyo3 = ["dep:pyo3", "pep440_rs/pyo3", "pyo3-log"]

View file

@ -70,16 +70,16 @@ which = { workspace = true }
mimalloc = "0.1.39"
[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies]
tikv-jemallocator = "0.5.0"
tikv-jemallocator = "0.5.4"
[dev-dependencies]
assert_cmd = { version = "2.0.12" }
assert_fs = { version = "1.0.13" }
assert_fs = { version = "1.1.0" }
indoc = { version = "2.0.4" }
insta-cmd = { version = "0.4.0" }
insta = { version = "1.34.0", features = ["filters"] }
predicates = { version = "3.0.4" }
reqwest = { version = "0.11.22", features = ["blocking", "rustls"], default-features = false }
reqwest = { version = "0.11.23", features = ["blocking", "rustls"], default-features = false }
[features]
# Introduces a dependency on a local Python installation.

View file

@ -407,7 +407,7 @@ pub async fn read_metadata_async(
.entries()
.iter()
.enumerate()
.filter_map(|(idx, e)| Some((idx, e.entry().filename().as_str().ok()?))),
.filter_map(|(idx, e)| Some((idx, e.filename().as_str().ok()?))),
)?;
// Read the contents of the METADATA file

View file

@ -72,13 +72,13 @@ pub(crate) async fn wheel_metadata_from_remote_zip(
.entries()
.iter()
.enumerate()
.filter_map(|(idx, e)| Some(((idx, e), e.entry().filename().as_str().ok()?))),
.filter_map(|(idx, e)| Some(((idx, e), e.filename().as_str().ok()?))),
)?;
let offset = metadata_entry.header_offset();
let size = metadata_entry.entry().compressed_size()
let size = metadata_entry.compressed_size()
+ 30 // Header size in bytes
+ metadata_entry.entry().filename().as_bytes().len() as u64;
+ metadata_entry.filename().as_bytes().len() as u64;
// The zip archive uses as BufReader which reads in chunks of 8192. To ensure we prefetch
// enough data we round the size up to the nearest multiple of the buffer size.

View file

@ -57,4 +57,4 @@ url = { workspace = true }
mimalloc = "0.1.39"
[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies]
tikv-jemallocator = "0.5.0"
tikv-jemallocator = "0.5.4"

View file

@ -33,4 +33,4 @@ which = { workspace = true}
[dev-dependencies]
indoc = { version = "2.0.4" }
tempfile = { version = "3.8.1" }
tempfile = { version = "3.9.0" }

View file

@ -62,7 +62,7 @@ zip = { workspace = true }
gourgeist = { path = "../gourgeist" }
puffin-interpreter = { path = "../puffin-interpreter" }
once_cell = { version = "1.18.0" }
once_cell = { version = "1.19.0" }
insta = { version = "1.34.0" }
[features]

View file

@ -31,6 +31,6 @@ url = { workspace = true }
[dev-dependencies]
indoc = { version = "2.0.4" }
insta = { version = "1.34.0" }
serde_json = { version = "1.0.108" }
tempfile = { version = "3.8.1" }
test-case = { version = "3.2.1" }
serde_json = { version = "1.0.111" }
tempfile = { version = "3.9.0" }
test-case = { version = "3.3.1" }

View file

@ -27,9 +27,9 @@ unscanny = { workspace = true }
url = { workspace = true }
[dev-dependencies]
anyhow = { version = "1.0.75" }
anyhow = { version = "1.0.79" }
indoc = { version = "2.0.4" }
insta = { version = "1.34.0" }
serde_json = { version = "1.0.108" }
tempfile = { version = "3.8.1" }
test-case = { version = "3.2.1" }
serde_json = { version = "1.0.111" }
tempfile = { version = "3.9.0" }
test-case = { version = "3.3.1" }