Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all dependencies and fix chrono deprecation #302

Merged
merged 1 commit into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions crates/rattler-bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ native-tls = ["reqwest/native-tls", "rattler/native-tls", "rattler_repodata_gate
rustls-tls = ["reqwest/rustls-tls", "rattler/rustls-tls", "rattler_repodata_gateway/rustls-tls", "rattler_networking/rustls-tls"]

[dependencies]
anyhow = "1.0.71"
clap = { version = "4.3.11", features = ["derive"] }
anyhow = "1.0.75"
clap = { version = "4.4.1", features = ["derive"] }
console = { version = "0.15.7", features = ["windows-console-colors"] }
dirs = "5.0.1"
futures = "0.3.28"
indicatif = "0.17.5"
indicatif = "0.17.6"
itertools = "0.11.0"
once_cell = "1.18.0"
rattler = { version = "0.8.0", path = "../rattler", default-features = false }
Expand All @@ -35,8 +35,8 @@ rattler_conda_types = { version = "0.8.0", path = "../rattler_conda_types" }
rattler_repodata_gateway = { version = "0.8.0", path = "../rattler_repodata_gateway", features = ["sparse"], default-features = false }
rattler_solve = { version = "0.8.0", path = "../rattler_solve", features = ["libsolv_rs", "libsolv_c"] }
rattler_virtual_packages = { version = "0.8.0", path = "../rattler_virtual_packages" }
reqwest = { version = "0.11.18", default-features = false }
tokio = { version = "1.29.1", features = ["rt-multi-thread", "macros"] }
reqwest = { version = "0.11.20", default-features = false }
tokio = { version = "1.32.0", features = ["rt-multi-thread", "macros"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }

[package.metadata.release]
Expand Down
38 changes: 19 additions & 19 deletions crates/rattler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,48 +16,48 @@ native-tls = ['reqwest/native-tls', 'rattler_package_streaming/native-tls']
rustls-tls = ['reqwest/rustls-tls', 'rattler_package_streaming/rustls-tls']

[dependencies]
anyhow = "1.0.71"
async-compression = { version = "0.4.1", features = ["gzip", "tokio", "bzip2", "zstd"] }
anyhow = "1.0.75"
async-compression = { version = "0.4.2", features = ["gzip", "tokio", "bzip2", "zstd"] }
bytes = "1.4.0"
chrono = { version = "0.4.26", default-features = false, features = ["std", "serde", "alloc"] }
chrono = { version = "0.4.27", default-features = false, features = ["std", "serde", "alloc"] }
digest = "0.10.7"
dirs = "5.0.1"
futures = "0.3.28"
fxhash = "0.2.1"
hex = "0.4.3"
itertools = "0.11.0"
memchr = "2.5.0"
memchr = "2.6.1"
memmap2 = "0.7.1"
nom = "7.1.3"
once_cell = "1.18.0"
pin-project-lite = "0.2.10"
pin-project-lite = "0.2.13"
rattler_conda_types = { version = "0.8.0", path = "../rattler_conda_types" }
rattler_digest = { version = "0.8.0", path = "../rattler_digest" }
rattler_networking = { version = "0.8.0", path = "../rattler_networking", default-features = false }
rattler_package_streaming = { version = "0.8.0", path = "../rattler_package_streaming", features = ["reqwest", "tokio"], default-features = false }
regex = "1.9.1"
reqwest = { version = "0.11.18", default-features = false, features = ["stream", "json", "gzip"] }
serde = { version = "1.0.171", features = ["derive"] }
serde_json = { version = "1.0.102", features = ["raw_value"] }
regex = "1.9.4"
reqwest = { version = "0.11.20", default-features = false, features = ["stream", "json", "gzip"] }
serde = { version = "1.0.188", features = ["derive"] }
serde_json = { version = "1.0.105", features = ["raw_value"] }
serde_with = "3.3.0"
smallvec = { version = "1.11.0", features = ["serde", "const_new", "const_generics", "union"] }
tempfile = "3.6.0"
thiserror = "1.0.43"
tokio = { version = "1.29.1", features = ["rt", "io-util", "macros"] }
tempfile = "3.8.0"
thiserror = "1.0.47"
tokio = { version = "1.32.0", features = ["rt", "io-util", "macros"] }
tokio-stream = "0.1.14"
tokio-util = { version = "0.7.8", features = ["codec", "io"] }
tracing = "0.1.37"
url = { version = "2.4.0", features = ["serde"] }
uuid = { version = "1.4.0", features = ["v4", "fast-rng"] }
url = { version = "2.4.1", features = ["serde"] }
uuid = { version = "1.4.1", features = ["v4", "fast-rng"] }

[dev-dependencies]
assert_matches = "1.5.0"
rand = "0.8.5"
rstest = "0.18.1"
rstest = "0.18.2"
tracing-test = { version = "0.2.4" }
insta = { version = "1.30.0", features = ["yaml"] }
insta = { version = "1.31.0", features = ["yaml"] }

tokio = { version = "1.29.1", features = ["macros", "rt-multi-thread"] }
axum = "0.6.18"
tower-http = { version = "0.4.1", features = ["fs"] }
tokio = { version = "1.32.0", features = ["macros", "rt-multi-thread"] }
axum = "0.6.20"
tower-http = { version = "0.4.3", features = ["fs"] }
tower = { version = "0.4.13", default-features = false, features = ["util"] }
22 changes: 11 additions & 11 deletions crates/rattler_conda_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,35 @@ license.workspace = true
readme.workspace = true

[dependencies]
chrono = "0.4.26"
chrono = "0.4.27"
fxhash = "0.2.1"
hex = "0.4.3"
indexmap = { version = "2.0.0", features = ["serde"] }
itertools = "0.11.0"
lazy-regex = "3.0.0"
lazy-regex = "3.0.1"
nom = "7.1.3"
regex = "1.9.1"
serde = { version = "1.0.171", features = ["derive"] }
serde_json = "1.0.102"
regex = "1.9.4"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.105"
serde-json-python-formatter = "0.1.0"
serde_yaml = "0.9.22"
serde_yaml = "0.9.25"
serde_with = { version = "3.3.0", features = ["indexmap_2"] }
serde_repr = "0.1"
smallvec = { version = "1.11.0", features = ["serde", "const_new", "const_generics", "union"] }
strum = { version = "0.25.0", features = ["derive"] }
thiserror = "1.0.43"
thiserror = "1.0.47"
tracing = "0.1.37"
url = { version = "2.4.0", features = ["serde"] }
url = { version = "2.4.1", features = ["serde"] }
rattler_digest = { version = "0.8.0", path = "../rattler_digest", features = ["serde"] }
rattler_macros = { version = "0.8.0", path = "../rattler_macros" }
glob = "0.3.1"

[dev-dependencies]
rand = "0.8.5"
insta = { version = "1.30.0", features = ["yaml", "redactions", "toml"] }
insta = { version = "1.31.0", features = ["yaml", "redactions", "toml"] }
rattler_package_streaming = { path = "../rattler_package_streaming", default-features = false, features=["rustls-tls"] }
tempfile = "3.6.0"
rstest = "0.18.1"
tempfile = "3.8.0"
rstest = "0.18.2"
assert_matches = "1.5.0"
hex-literal = "0.4.1"
criterion = { version = "0.5", features = ["html_reports"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_conda_types/src/utils/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl<'de> DeserializeAs<'de, chrono::DateTime<chrono::Utc>> for Timestamp {
};

// Convert the timestamp to a UTC timestamp
Ok(chrono::DateTime::<chrono::Utc>::from_utc(
Ok(chrono::DateTime::<chrono::Utc>::from_naive_utc_and_offset(
chrono::NaiveDateTime::from_timestamp_micros(microseconds)
.ok_or_else(|| D::Error::custom("got invalid timestamp, timestamp out of range"))?,
chrono::Utc,
Expand Down
10 changes: 5 additions & 5 deletions crates/rattler_digest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ readme.workspace = true

[dependencies]
digest = "0.10.7"
tokio = { version = "1.29.1", features = ["io-util"], optional = true }
tokio = { version = "1.32.0", features = ["io-util"], optional = true }
hex = "0.4.3"
serde = { version = "1.0.171", features = ["derive"], optional = true }
serde = { version = "1.0.188", features = ["derive"], optional = true }
sha2 = "0.10.7"
md-5 = "0.10.5"
blake2 = "0.10.6"
Expand All @@ -25,7 +25,7 @@ tokio = ["dep:tokio"]
serde = ["dep:serde"]

[dev-dependencies]
rstest = "0.18.1"
tempfile = "3.6.0"
rstest = "0.18.2"
tempfile = "3.8.0"
md-5 = "0.10.5"
serde_json = "1.0.102"
serde_json = "1.0.105"
6 changes: 3 additions & 3 deletions crates/rattler_libsolv_c/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ readme.workspace = true

[dependencies]
libc = { version = "0.2" }
libz-sys = { version = "1.1.9", default-features = false, features = ["static"] }
libz-sys = { version = "1.1.12", default-features = false, features = ["static"] }
cfg-if = "1.0.0"

[build-dependencies]
anyhow = "1.0.71"
cc = "1.0.79"
anyhow = "1.0.75"
cc = "1.0.83"
cmake = "0.1.50"

[package.metadata.cargo-udeps.ignore]
Expand Down
4 changes: 2 additions & 2 deletions crates/rattler_libsolv_rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ readme.workspace = true

[dependencies]
itertools = "0.11.0"
petgraph = "0.6.3"
petgraph = "0.6.4"
rattler_conda_types = { version = "0.8.0", path = "../rattler_conda_types" }
tracing = "0.1.37"

[dev-dependencies]
insta = "1.30.0"
insta = "1.31.0"
6 changes: 3 additions & 3 deletions crates/rattler_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ name = "tests"
path = "tests/tests.rs"

[dependencies]
syn = "2.0.25"
quote = "1.0.29"
syn = "2.0.29"
quote = "1.0.33"

[dev-dependencies]
trybuild = { version = "1.0.81", features = ["diff"] }
trybuild = { version = "1.0.83", features = ["diff"] }
18 changes: 9 additions & 9 deletions crates/rattler_networking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ rustls-tls = ['reqwest/rustls-tls']
blocking = ['reqwest/blocking']

[dependencies]
anyhow = "1.0.71"
anyhow = "1.0.75"
dirs = "5.0.1"
keyring = "2.0.4"
keyring = "2.0.5"
lazy_static = "1.4.0"
libc = "0.2.147"
reqwest = { version = "0.11.18", default-features = false}
reqwest = { version = "0.11.20", default-features = false}
retry-policies = { version = "0.2.0", default-features = false }
serde = "1.0.171"
serde_json = "1.0.102"
thiserror = "1.0.43"
serde = "1.0.188"
serde_json = "1.0.105"
thiserror = "1.0.47"
tracing = "0.1.37"

[target.'cfg( target_arch = "wasm32" )'.dependencies]
getrandom = { version = "0.2.10", features = ["js"] }

[dev-dependencies]
anyhow = "1.0.71"
insta = { version = "1.30.0", features = ["json"] }
tempfile = "3.6.0"
anyhow = "1.0.75"
insta = { version = "1.31.0", features = ["json"] }
tempfile = "3.8.0"
18 changes: 9 additions & 9 deletions crates/rattler_package_streaming/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ readme.workspace = true

[dependencies]
bzip2 = "0.4.4"
chrono = "0.4.26"
chrono = "0.4.27"
futures-util = { version = "0.3.28", optional = true }
itertools = "0.11.0"
rattler_conda_types = { version = "0.8.0", path = "../rattler_conda_types" }
rattler_digest = { version = "0.8.0", path = "../rattler_digest" }
serde_json = "1.0.102"
tar = { version = "0.4.38" }
thiserror = "1.0.43"
serde_json = "1.0.105"
tar = { version = "0.4.40" }
thiserror = "1.0.47"
tokio = { version = "1", optional = true }
tokio-util = { version = "0.7", optional = true }
reqwest = { version = "0.11.18", optional = true, default-features = false }
url = "2.4.0"
reqwest = { version = "0.11.20", optional = true, default-features = false }
url = "2.4.1"
zip = { version = "0.6.6", default-features = false, features = ["deflate", "time"] }
zstd = { version = "0.12.3", default-features = false }
zstd = { version = "0.12.4", default-features = false }
rattler_networking = { version = "0.8.0", path = "../rattler_networking", default-features = false }

[features]
Expand All @@ -37,8 +37,8 @@ blocking = ["rattler_networking/blocking"]
wasm = ["zstd/wasm"]

[dev-dependencies]
tempfile = "3.6.0"
tempfile = "3.8.0"
tokio = { version = "1", features = ["rt", "macros"] }
walkdir = "2.3.3"
rstest = "0.18.1"
rstest = "0.18.2"
rstest_reuse = "0.6.0"
34 changes: 17 additions & 17 deletions crates/rattler_repodata_gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,30 @@ license.workspace = true
readme.workspace = true

[dependencies]
async-compression = { version = "0.4.1", features = ["gzip", "tokio", "bzip2", "zstd"] }
async-compression = { version = "0.4.2", features = ["gzip", "tokio", "bzip2", "zstd"] }
blake2 = "0.10.6"
cache_control = "0.2.0"
chrono = { version = "0.4.26", default-features = false, features = ["std", "serde", "alloc", "clock"] }
chrono = { version = "0.4.27", default-features = false, features = ["std", "serde", "alloc", "clock"] }
humansize = "2.1.3"
humantime = "2.1.0"
futures = "0.3.28"
reqwest = { version = "0.11.18", default-features = false, features = ["stream"] }
reqwest = { version = "0.11.20", default-features = false, features = ["stream"] }
tokio-util = { version = "0.7.8", features = ["codec", "io"] }
tempfile = "3.6.0"
tempfile = "3.8.0"
tracing = "0.1.37"
thiserror = "1.0.43"
url = { version = "2.4.0", features = ["serde"] }
tokio = { version = "1.29.1", features = ["rt", "io-util"] }
anyhow = "1.0.71"
serde = { version = "1.0.171", features = ["derive"] }
serde_json = { version = "1.0.102" }
pin-project-lite = "0.2.10"
thiserror = "1.0.47"
url = { version = "2.4.1", features = ["serde"] }
tokio = { version = "1.32.0", features = ["rt", "io-util"] }
anyhow = "1.0.75"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = { version = "1.0.105" }
pin-project-lite = "0.2.13"
md-5 = "0.10.5"
rattler_digest = { version = "0.8.0", path = "../rattler_digest", features = ["tokio", "serde"] }
rattler_conda_types = { version = "0.8.0", path = "../rattler_conda_types", optional = true }
fxhash = { version = "0.2.1", optional = true }
memmap2 = { version = "0.7.1", optional = true }
ouroboros = { version = "0.17.0", optional = true }
ouroboros = { version = "0.17.2", optional = true }
serde_with = "3.3.0"
superslice = { version = "1.0.0", optional = true }
itertools = { version = "0.11.0", optional = true }
Expand All @@ -50,13 +50,13 @@ windows-sys = { version = "0.48.0", features = ["Win32_Storage_FileSystem", "Win

[dev-dependencies]
hex-literal = "0.4.1"
tower-http = { version = "0.4.1", features = ["fs", "compression-gzip", "trace"] }
tower-http = { version = "0.4.3", features = ["fs", "compression-gzip", "trace"] }
tracing-test = { version = "0.2.4" }
insta = { version = "1.30.0", features = ["yaml"] }
axum = "0.6.18"
insta = { version = "1.31.0", features = ["yaml"] }
axum = "0.6.20"
assert_matches = "1.5.0"
tokio = { version = "1.29.1", features = ["macros", "rt-multi-thread"] }
rstest = "0.18.1"
tokio = { version = "1.32.0", features = ["macros", "rt-multi-thread"] }
rstest = "0.18.2"

[features]
default = ['native-tls']
Expand Down
10 changes: 5 additions & 5 deletions crates/rattler_shell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ enum_dispatch = "0.3.12"
indexmap = "2.0.0"
itertools = "0.11.0"
rattler_conda_types = { version = "0.8.0", path = "../rattler_conda_types" }
serde_json = { version = "1.0.102", features = ["preserve_order"] }
serde_json = { version = "1.0.105", features = ["preserve_order"] }
shlex = "1.1.0"
sysinfo = { version = "0.29.4", optional = true }
tempfile = "3.6.0"
thiserror = "1.0.43"
sysinfo = { version = "0.29.9", optional = true }
tempfile = "3.8.0"
thiserror = "1.0.47"
tracing = "0.1.37"

[dev-dependencies]
insta = { version = "1.30.0", features = ["yaml"] }
insta = { version = "1.31.0", features = ["yaml"] }
tempdir = "0.3.7"
20 changes: 10 additions & 10 deletions crates/rattler_solve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ readme.workspace = true
rattler_conda_types = { version = "0.8.0", path = "../rattler_conda_types" }
rattler_digest = { version = "0.8.0", path = "../rattler_digest" }
libc = { version = "0.2", optional = true }
anyhow = "1.0.71"
thiserror = "1.0.43"
anyhow = "1.0.75"
thiserror = "1.0.47"
tracing = "0.1.37"
serde = { version = "1.0.171", features = ["derive"] }
url = "2.4.0"
serde = { version = "1.0.188", features = ["derive"] }
url = "2.4.1"
hex = "0.4.3"
tempfile = "3.6.0"
tempfile = "3.8.0"
rattler_libsolv_c = { version = "0.8.0", path = "../rattler_libsolv_c", optional = true }
rattler_libsolv_rs = { version = "0.8.0", path = "../rattler_libsolv_rs", optional = true }

[dev-dependencies]
rattler_repodata_gateway = { version = "0.8.0", path = "../rattler_repodata_gateway", default-features = false, features = ["sparse"] }
insta = { version = "1.30.0", features = ["yaml"] }
rstest = "0.18.1"
serde_json = "1.0.102"
url = "2.4.0"
similar-asserts = "1.4.2"
insta = { version = "1.31.0", features = ["yaml"] }
rstest = "0.18.2"
serde_json = "1.0.105"
url = "2.4.1"
similar-asserts = "1.5.0"
once_cell = "1.18.0"
criterion = "0.5.1"

Expand Down
Loading