Hi, Thanks for reporting this. With which version of python3-pyparsing was your test run with? I'm asking because as I can tell from Pyparsing's CHANGES [1] they added initial support for Python 3.14 in version 3.2.2 and full support in version 3.3.0. Debian forky still has 3.1.3-1 while sid has a supported version: 3.3.2-2. >From looking at the reported line of code, that was issue #578 [2] on pyparsing's repository and the fix was released in version 3.2.2.
While Cumin doesn't yet officially support Python 3.14, I've tried locally and it seems to work fine with the latest pyparsing. I'll send a patch to officially support Python 3.14 and that will be included in the next release of Cumin. [1] https://github.com/pyparsing/pyparsing/blob/master/CHANGES [2] https://github.com/pyparsing/pyparsing/issues/578 On Wed, Mar 11, 2026 at 6:17 PM Graham Inggs <[email protected]> wrote: > Source: cumin > Version: 5.1.1-1 > Severity: important > Tags: forky sid > User: [email protected] > Usertags: python3.14 > > Hi Maintainer > > The autopkgtests of this package will fail once Python 3.14 is the > default version in Debian. I've copied what I hope is the relevant > part of the log below. > > Regards > Graham > > > 312s autopkgtest [14:36:53]: test command1: for py3 in $(py3versions > -s); do echo "[*] testing cumin's version on $py3:"; cumin --version ; > done > 312s autopkgtest [14:36:53]: test command1: [----------------------- > 312s [*] testing cumin's version on python3.13: > 312s /usr/lib/python3/dist-packages/pyparsing/core.py:5637: > SyntaxWarning: 'return' in a 'finally' block > 312s return f"{type(self).__name__}: {retString}" > 312s cumin 5.1.1 > 312s [*] testing cumin's version on python3.14: > 313s /usr/lib/python3/dist-packages/pyparsing/core.py:5637: > SyntaxWarning: 'return' in a 'finally' block > 313s return f"{type(self).__name__}: {retString}" > 313s cumin 5.1.1 > 313s autopkgtest [14:36:54]: test command1: -----------------------] > 313s autopkgtest [14:36:54]: test command1: - - - - - - - - - - > results - - - - - - - - - - > 313s command1 FAIL stderr: > /usr/lib/python3/dist-packages/pyparsing/core.py:5637: SyntaxWarning: > 'return' in a 'finally' block > 314s autopkgtest [14:36:55]: test command1: - - - - - - - - - - > stderr - - - - - - - - - - > 314s /usr/lib/python3/dist-packages/pyparsing/core.py:5637: > SyntaxWarning: 'return' in a 'finally' block > 314s return f"{type(self).__name__}: {retString}" >

