Bug 41077

Summary: [OMNIBUS] Debian 13 and Perl 5.40 compatibility
Product: Koha Reporter: Victor Grousset/tuxayo <victor>
Component: Architecture, internals, and plumbingAssignee: Tomás Cohen Arazi (tcohen) <tomascohen>
Status: CONFIRMED --- QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: david, dcook, jonathan.druart, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 40680, 40978, 40989, 41076, 41521, 41099    
Bug Blocks:    

Description Victor Grousset/tuxayo 2025-10-23 00:08:11 UTC

    
Comment 1 David Cook 2026-02-25 00:32:22 UTC
Is bug 41521 the last change that needs to be done for Debian 13 to be supported?
Comment 2 Victor Grousset/tuxayo 2026-02-25 02:45:38 UTC
I think the only remaining thing is xt/author/codespell.t having a lot of failures on Debian 13 so either config change making false positives or large improvements of the tests. I don't recall if the errors looked legit.

I'm not sure it has a ticket here.

Meanwhile, turns out codespell isn't in the light test suite so with bug 41521 in main the CI can already be looked at :D
Comment 3 David Cook 2026-02-25 04:26:34 UTC
(In reply to Victor Grousset/tuxayo from comment #2)
> I think the only remaining thing is xt/author/codespell.t having a lot of
> failures on Debian 13 so either config change making false positives or
> large improvements of the tests. I don't recall if the errors looked legit.
> 
> I'm not sure it has a ticket here.
> 
> Meanwhile, turns out codespell isn't in the light test suite so with bug
> 41521 in main the CI can already be looked at :D

Yeah some of the codespell stuff is wrong (e.g. Plack ==> Plaque) but then there is some good stuff like (C4/Creators/Lib.pm:355: valud ==> valid, value)

I imagine a lot of these must come up with existing KTD... I'll give it a go...
Comment 4 David Cook 2026-02-25 05:09:38 UTC
Yeah... I don't think codespell is an issue really. I mean in the case of "plack" to "plaque", it's just because they added that correction after 2.2.2:

https://github.com/codespell-project/codespell/blob/v2.2.2/codespell_lib/data/dictionary_rare.txt

https://github.com/codespell-project/codespell/blame/main/codespell_lib/data/dictionary_rare.txt

If we think xt/author/codespell.t is a blocker, then we'll need to update ".codespell-ignore" with the relevant words, as well as fixing the legitimate typos the updated library is finding.