diff --git a/Cargo.lock b/Cargo.lock index 7e93ae2d5..6a660fdfe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2417,9 +2417,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "jiff" -version = "0.2.16" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35" +checksum = "e67e8da4c49d6d9909fe03361f9b620f58898859f5c7aded68351e85e71ecf50" dependencies = [ "jiff-static", "jiff-tzdb-platform", @@ -2432,9 +2432,9 @@ dependencies = [ [[package]] name = "jiff-static" -version = "0.2.16" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69" +checksum = "e0c84ee7f197eca9a86c6fd6cb771e55eb991632f15f2bc3ca6ec838929e6e78" dependencies = [ "proc-macro2", "quote", diff --git a/crates/uv/tests/it/lock_exclude_newer_relative.rs b/crates/uv/tests/it/lock_exclude_newer_relative.rs index 4eb7723ee..d1867ce38 100644 --- a/crates/uv/tests/it/lock_exclude_newer_relative.rs +++ b/crates/uv/tests/it/lock_exclude_newer_relative.rs @@ -997,7 +997,7 @@ fn lock_exclude_newer_relative_values() -> Result<()> { ----- stdout ----- ----- stderr ----- - error: invalid value 'P4Z' for '--exclude-newer ': `P4Z` could not be parsed as an ISO 8601 duration: failed to parse "P4Z" as an ISO 8601 duration string: expected to find date unit designator suffix (Y, M, W or D), but found "Z" instead + error: invalid value 'P4Z' for '--exclude-newer ': `P4Z` could not be parsed as an ISO 8601 duration: expected to find date unit designator suffix (`Y`, `M`, `W` or `D`), but found `Z` instead For more information, try '--help'. "#); @@ -1039,7 +1039,7 @@ fn lock_exclude_newer_relative_values() -> Result<()> { ----- stdout ----- ----- stderr ----- - error: invalid value '2 weak' for '--exclude-newer ': `2 weak` could not be parsed as a duration: failed to parse "2 weak" in the "friendly" format: parsed value 'P2W', but unparsed input "eak" remains (expected no unparsed input) + error: invalid value '2 weak' for '--exclude-newer ': `2 weak` could not be parsed as a duration: failed to parse input in the "friendly" duration format: parsed value 'P2W', but unparsed input "eak" remains (expected no unparsed input) For more information, try '--help'. "#); @@ -1067,7 +1067,7 @@ fn lock_exclude_newer_relative_values() -> Result<()> { ----- stdout ----- ----- stderr ----- - error: invalid value '1000000 years' for '--exclude-newer ': `1000000 years` could not be parsed as a duration: failed to parse "1000000 years" in the "friendly" format: failed to set value 1000000 as year unit on span: parameter 'years' with value 1000000 is not in the required range of -19998..=19998 + error: invalid value '1000000 years' for '--exclude-newer ': `1000000 years` could not be parsed as a duration: failed to parse input in the "friendly" duration format: failed to set value for year unit on span: parameter 'years' with value 1000000 is not in the required range of -19998..=19998 For more information, try '--help'. "#); @@ -1135,7 +1135,7 @@ fn lock_exclude_newer_relative_values_pyproject() -> Result<()> { | 9 | exclude-newer = "2 foos" | ^^^^^^^^ - `2 foos` could not be parsed as a duration: failed to parse "2 foos" in the "friendly" format: expected to find unit designator suffix (e.g., 'years' or 'secs'), but found input beginning with "foos" instead + `2 foos` could not be parsed as a duration: failed to parse input in the "friendly" duration format: expected to find unit designator suffix (e.g., `years` or `secs`) after parsing integer Resolved 2 packages in [TIME] "#); @@ -1165,7 +1165,7 @@ fn lock_exclude_newer_relative_values_pyproject() -> Result<()> { | 9 | exclude-newer = "P4Z" | ^^^^^ - `P4Z` could not be parsed as an ISO 8601 duration: failed to parse "P4Z" as an ISO 8601 duration string: expected to find date unit designator suffix (Y, M, W or D), but found "Z" instead + `P4Z` could not be parsed as an ISO 8601 duration: expected to find date unit designator suffix (`Y`, `M`, `W` or `D`), but found `Z` instead Resolved 2 packages in [TIME] "#); diff --git a/crates/uv/tests/it/pip_compile.rs b/crates/uv/tests/it/pip_compile.rs index 70a124c7a..2db9d1be7 100644 --- a/crates/uv/tests/it/pip_compile.rs +++ b/crates/uv/tests/it/pip_compile.rs @@ -3437,7 +3437,7 @@ fn compile_exclude_newer() -> Result<()> { ----- stdout ----- ----- stderr ----- - error: invalid value '2022-04-04T26:00:00+00' for '--exclude-newer ': `2022-04-04T26:00:00+00` could not be parsed as a valid date: failed to parse hour in time "26:00:00+00": hour is not valid: parameter 'hour' with value 26 is not in the required range of 0..=23 + error: invalid value '2022-04-04T26:00:00+00' for '--exclude-newer ': `2022-04-04T26:00:00+00` could not be parsed as a valid date: failed to parse hour in time: parsed hour is not valid: parameter 'hour' with value 26 is not in the required range of 0..=23 For more information, try '--help'. "#