From cc2c46c92fc0a1fc16b829531089d0adc5009ed0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 10:29:48 +0100 Subject: [PATCH] Bump base64 from 0.21.7 to 0.22.1 (#1386) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Hewitt --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- tests/test_json.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 45da9800a..a5c70ffa8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -32,9 +32,9 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "base64" -version = "0.21.7" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "bitvec" diff --git a/Cargo.toml b/Cargo.toml index aa5e83ac4..e55158e8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ ahash = "0.8.10" url = "2.5.0" # idna is already required by url, added here to be explicit idna = "1.0.1" -base64 = "0.21.7" +base64 = "0.22.1" num-bigint = "0.4.6" python3-dll-a = "0.2.10" uuid = "1.9.1" diff --git a/tests/test_json.py b/tests/test_json.py index 2a5176a27..03855ae67 100644 --- a/tests/test_json.py +++ b/tests/test_json.py @@ -403,7 +403,7 @@ def test_json_bytes_base64_invalid(): { 'type': 'bytes_invalid_encoding', 'loc': (), - 'msg': f'Data should be valid base64: Invalid byte {ord("!")}, offset {len(wrong_input)-1}.', + 'msg': f'Data should be valid base64: Invalid symbol {ord("!")}, offset {len(wrong_input)-1}.', 'input': wrong_input, } ]