[git-buildpackage] TypeError on Python < 3.10

Łukasz Maszczyński lukasz at maszczynski.net
Sat Jun 11 04:07:57 CEST 2022


Hi,

recent changes in gbp, namely this commit:
9ab4a0e71438dd39a2b6f1da04ab61810e05c521

introduces an implicit dependency on Python 3.10 by using PEP 604. This
makes it impossible to use the most recent 'gbp' package version in
environments, where older version of Python is installed, e.g. Debian
Bullseye (stable).

I attach a patch file that fixes the problem for me.

-- 
cheers,
Łukasz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sigxcpu.org/pipermail/git-buildpackage/attachments/20220611/f471ecc2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: type_hints_fix.patch
Type: text/x-patch
Size: 823 bytes
Desc: not available
URL: <http://lists.sigxcpu.org/pipermail/git-buildpackage/attachments/20220611/f471ecc2/attachment.bin>


More information about the git-buildpackage mailing list