From 79716d1f884b1bb0ae4a06bc385fc5eb059931b7 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 18 Aug 2025 10:34:51 -0300 Subject: [PATCH] Bug 40663: Update GD::Barcode::QRcode to v2.01 1. Start an Ubuntu 24.04 KTD: $ KOHA_IMAGE=main-noble ktd --name noble up -d 2. Run: $ ktd --name noble --shell k$ pmvers GD::Barcode::QRcode => 2.00 3. Run: k$ prove t/db_dependent/Koha/Auth/TwoFactorAuth.t => FAIL: Tests fail! 4. Run: k$ sudo cpanm -i GD::Barcode::QRcode@2.01 5. Repeat 3 => SUCCESS: Tests pass! 6. Exit the 24.04 KTD and stop it: k$ exit $ ktd --name noble down 7. Start a Debian 12 KTD: $ KOHA_IMAGE=main-bookworm ktd --name bookworm up -d 8. Run: $ ktd --name bookworm --shell k$ pmvers GD::Barcode::QRcode => 0.01 9. Run: k$ prove t/db_dependent/Koha/Auth/TwoFactorAuth.t => SUCCESS: Tests pass! 10. Run: k$ sudo cpanm -i GD::Barcode::QRcode@2.01 11. Repeat 9 => SUCCESS: Tests still pass! Signed-off-by: Tomas Cohen Arazi --- cpanfile | 1 + 1 file changed, 1 insertion(+) diff --git a/cpanfile b/cpanfile index 84d6e4ede08..59ee3b521c9 100644 --- a/cpanfile +++ b/cpanfile @@ -45,6 +45,7 @@ requires 'Exception::Class', '1.38'; requires 'File::Slurp', '9999.13'; requires 'Font::TTF', '0.45'; requires 'GD', '2.39'; +requires 'GD::Barcode::QRcode', '2.01'; requires 'GD::Barcode::UPCE', '1.1'; requires 'Getopt::Long', '2.35'; requires 'Getopt::Std', '1.05'; -- 2.50.1