Your message dated Tue, 05 Jul 2022 10:34:01 +0000
with message-id <[email protected]>
and subject line Bug#1012717: fixed in git-buildpackage 0.9.28
has caused the Debian Bug report #1012717,
regarding git-buildpackage: type annotation syntax error with older python 
versions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1012717: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012717
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: git-buildpackage: type annotation syntax error with older python 
versions
Package: git-buildpackage
Severity: important

Dear Maintainer,

Please resolve the following syntax error:

```
.venv/lib/python3.8/site-packages/gbp/pkg/pkgpolicy.py:36: in PkgPolicy
    packagename_re: typing.Pattern[str] | None = None
E   TypeError: unsupported operand type(s) for |: '_GenericAlias' and 'NoneType'
```

The '|' (bitwise or) operator for typing.Uninon has appeared in Python 3.10.
https://docs.python.org/3/library/stdtypes.html#union-type

The setup.py file declares the following Python version requirement: 
python_requires='>=3.5',
and Python versions earlier than 3.10, starting with 3.5 will produce the above 
error.

Best regards:
Arnold Czémán

--- End Message ---
--- Begin Message ---
Source: git-buildpackage
Source-Version: 0.9.28
Done: Guido Günther <[email protected]>

We believe that the bug you reported is fixed in the latest version of
git-buildpackage, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guido Günther <[email protected]> (supplier of updated git-buildpackage package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 05 Jul 2022 11:50:33 +0200
Source: git-buildpackage
Architecture: source
Version: 0.9.28
Distribution: unstable
Urgency: medium
Maintainer: Guido Günther <[email protected]>
Changed-By: Guido Günther <[email protected]>
Closes: 1012717
Changes:
 git-buildpackage (0.9.28) unstable; urgency=medium
 .
   [ Diane Trout ]
   * [09338d2] pkgpolicy: Use type annotations that also work for python 3.9
     (Closes: #1012717)
 .
   [ Guido Günther ]
   * [666389b] export-orig: Allow for --pristine-tar-commit.
     No reason to restrict this to build-package
Checksums-Sha1:
 504dfdce4ae1df1fe0b2707d119ddff9dee5a1f6 2340 git-buildpackage_0.9.28.dsc
 1eff59178f6a204f1618ee9f61f8c657171838a0 3496084 git-buildpackage_0.9.28.tar.xz
 9ec514f708ad00b2799d7b39447f8c6790e88a85 13000 
git-buildpackage_0.9.28_amd64.buildinfo
Checksums-Sha256:
 4302dde4bcd741b1832b49667104ec4612b8af2dbf0152882e9a268eee0b07da 2340 
git-buildpackage_0.9.28.dsc
 903cb0bcd0ec1041cbb80bd77e8171ec3fa8b3efeed815221b9c5524990ec3dd 3496084 
git-buildpackage_0.9.28.tar.xz
 c978433b0fd3e52e3ae4d0b6196dad923522733c2787658d40d3c7c9c23b5dfc 13000 
git-buildpackage_0.9.28_amd64.buildinfo
Files:
 d70feb2352badbbd1e8a4f9fdcefaa80 2340 vcs optional git-buildpackage_0.9.28.dsc
 ca6a5c4df93e8a0de18bdc2839896e58 3496084 vcs optional 
git-buildpackage_0.9.28.tar.xz
 122e09a9a4164c8b13eeeff0a5b5cb0d 13000 vcs optional 
git-buildpackage_0.9.28_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEY/bM35YinQkoayrDJb+GUkr8weMFAmLEDtUACgkQJb+GUkr8
weONeBAAmaXgLohwc3fTQm1IWcSPfyqsITnAdGhgxESjx69tG+e79SXVX9jHjcqn
/nCZcrAmqLdCpQ2VjdRaW0+49CTiwZouyEW+D8eCMVDLhPpnu655PsE2snYJJ2SD
rk3HATitvTOhik6o4oBbmiPLL9VrtKj/iZsvGZ9ySNzNcUFWdsFiC7jhqB+wSE3r
huGnImlcFyf836FWR+Vm31cTbNxok1O1uCEeUKNp0elnKUAu5I5odMnZXLgkkUYr
W8UWOUDC57Rn64CXe1yEHzxid1/zJKKvDMsv/j98+DMqaV02G9A2M0nxfDNRh9r2
Q+DcEhKpHPA+by+y5WTYdLgRBsOoCNXp1Ece3+hy+87FKQqGY79lkQImF5OhGhBa
noFHePe9d5/kjQkOwQm2/BiCogS5OqKZjRssRU2xt36W+IdawXbLdt0i4ocBfqjI
xUFVdN/OEGqZDr2oIZbJfIX2PkVj0HaQGYT6b3mtlAneLEENebs9IxIH0F/Zqz/R
Cs/GpqGNPDctXajvwUjJzhdoQRrllAva/tjU62X6etRIoqJaI4XbumoSyvwWXvZx
ieHY/RaIDz2yaLaKHMayf1uXNcFjmozObrukGxKuY5H+Nr2oU1sKt4gCymSpkL1W
kQeeMN8l0yYNeLN5sdE1aHi2NgHG5+chqcsP8y10+a+fbXcqXkc=
=9Gqg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to