Package: gertty Version: 1.6.0-1 Severity: normal Dear Maintainer,
I'd like to submit a patch for the gertty package that fixes the compiling issues. See the failure in https://ci.debian.net/packages/g/gertty/unstable/amd64/59454408/ Without the fix, the output of compiling 57s autopkgtest [10:42:43]: test install: [----------------------- 58s + gertty --version 58s Traceback (most recent call last): 58s File "/usr/bin/gertty", line 6, in <module> 58s from gertty.app import main 58s File "/usr/lib/python3/dist-packages/gertty/app.py", line 38, in <module> 58s from gertty import db 58s File "/usr/lib/python3/dist-packages/gertty/db.py", line 615, in <module> 58s mapper(Account, account_table) 58s ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ 58s File "/usr/lib/python3/dist-packages/sqlalchemy/orm/_orm_constructors.py", line 2075, in _mapper_fn 58s raise InvalidRequestError( 58s ...<5 lines>... 58s ) 58s sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. Use the 'sqlalchemy.orm.registry.map_imperatively()` method of the ``sqlalchemy.orm.registry`` class to perform classical mapping. 59s autopkgtest [10:42:45]: test install: -----------------------] 59s install FAIL non-zero exit status 1 With the fix: + gertty --version Gertty version: 1.6.0 autopkgtest [09:25:47]: test install: -----------------------] autopkgtest [09:25:47]: test install: - - - - - - - - - - results - - - - - - - - - - install PASS autopkgtest [09:25:47]: @@@@@@@@@@@@@@@@@@@@ summary install PASS autopkgtest [09:25:47]: Binaries: resetting testbed apt configuration Thank you for considering this patch attached. Rong Fu
fix_compatibility_issues_with_older_Python.patch
Description: fix_compatibility_issues_with_older_Python.patch