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: git-buildpackage should declare a dependency on 
python 3.10
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 ---
Package: git-buildpackage
Version: 0.9.27
Severity: normal
X-Debbugs-Cc: none, Diane Trout <[email protected]>

Dear Maintainer,

I was attempting to update some packages using git-buildpackage and had
the following stack trace


~/src/debian/geiser$ gbp import-orig --uscan
Traceback (most recent call last):
  File "/usr/bin/gbp", line 149, in <module>
    sys.exit(supercommand())
  File "/usr/bin/gbp", line 137, in supercommand
    module = import_command(cmd)
  File "/usr/bin/gbp", line 71, in import_command
    return __import__('gbp.scripts.%s' % modulename, fromlist='main', level=0)
  File "/usr/lib/python3/dist-packages/gbp/scripts/import_orig.py", line 26, in 
<module>
    from gbp.deb import (DebianPkgPolicy, parse_changelog_repo)
  File "/usr/lib/python3/dist-packages/gbp/deb/__init__.py", line 28, in 
<module>
    from gbp.deb.policy import DebianPkgPolicy                # noqa: F401
  File "/usr/lib/python3/dist-packages/gbp/deb/policy.py", line 27, in <module>
    from gbp.pkg.pkgpolicy import PkgPolicy
  File "/usr/lib/python3/dist-packages/gbp/pkg/__init__.py", line 20, in 
<module>
    from gbp.pkg.pkgpolicy import PkgPolicy             # noqa: F401
  File "/usr/lib/python3/dist-packages/gbp/pkg/pkgpolicy.py", line 28, in 
<module>
    class PkgPolicy(object):
  File "/usr/lib/python3/dist-packages/gbp/pkg/pkgpolicy.py", line 36, in 
PkgPolicy
    packagename_re: typing.Pattern[str] | None = None
TypeError: unsupported operand type(s) for |: '_GenericAlias' and 'NoneType'


After looking the problem it up there's a line where it's trying to do a
union type between _GenericAlias and NoneType, but that's a feature that
was added in 3.10.
https://peps.python.org/pep-0604/

Some of us on testing still have 3.9 as the default because numba
doesn't work with 3.10. I think it's pretty reasonable to inidicate that
gpb 0.9.27 does requires 3.10.

Thank you,
Diane Trout

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'stable-security'), (500, 
'oldstable-debug'), (500, 'testing'), (500, 'stable'), (110, 'unstable'), (100, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.17.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages git-buildpackage depends on:
ii  devscripts             2.22.1
ii  git                    1:2.35.1-1
ii  man-db                 2.10.2-1
ii  python3                3.9.8-1
ii  python3-dateutil       2.8.1-6
ii  python3-pkg-resources  59.6.0-1.2
ii  sensible-utils         0.0.17

Versions of packages git-buildpackage recommends:
ii  cowbuilder        0.89
ii  pbuilder          0.231
ii  pristine-tar      1.49
ii  python3-requests  2.27.1+dfsg-1
ii  sbuild            0.83.1

Versions of packages git-buildpackage suggests:
ii  python3-notify2  0.3-4
ii  sudo             1.9.10-3
ii  unzip            6.0-26

-- no debconf information

--- 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