[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986903: marked as done (python3-zope.testrunner: bcep file does not work with buster's py3compile)



Your message dated Wed, 14 Apr 2021 12:48:54 +0000
with message-id <E1lWeww-0003fH-RG@fasolo.debian.org>
and subject line Bug#986903: fixed in zope.testrunner 5.2-3
has caused the Debian Bug report #986903,
regarding python3-zope.testrunner: bcep file does not work with buster's py3compile
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 owner@bugs.debian.org
immediately.)


-- 
986903: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986903
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python3-zope.testrunner
Version: 5.2-2
Severity: serious
X-Debbugs-Cc: sramacher@debian.org

Starting from a buster chroot, the following fails

$ apt install -y python3-zope.testrunner
$ sed 's/buster/bullseye/' -i /etc/apt/sources.list
$ apt update
$ apt install -y python3-zope.testrunner

with:

Setting up python3-zope.testrunner (5.2-2) ...
Traceback (most recent call last):
  File "/usr/bin/py3compile", line 290, in <module>
    main()
  File "/usr/bin/py3compile", line 266, in main
    e_patterns = get_exclude_patterns()
  File "/usr/bin/py3compile", line 93, in get_exclude_patterns
    for type_, vers, dname, pattern in get_exclude_patterns_from_dir():
  File "/usr/share/python3/debpython/__init__.py", line 22, in __call__
    self.cache[key] = self.func(*args, **kwargs)
  File "/usr/bin/py3compile", line 68, in get_exclude_patterns_from_dir
    type_, vrange, dname, pattern = line.split('|', 3)
ValueError: not enough values to unpack (expected 4, got 3)
dpkg: error processing package python3-zope.testrunner (--configure):
 installed python3-zope.testrunner package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 python3-zope.testrunner
E: Sub-process /usr/bin/dpkg returned an error code (1)

The issue is python3-zope.testrunner's bcep file (see #985455 for a
similar bug) which contains:

  dir|3.0-|/usr/lib/python3/dist-packages/zope/testrunner/tests/

Although the documentation of dh_python3 suggests that this would be
supported in buster, it actually isn't. Possible fixes include:

* Chaning the bcep file to

    re|3.0-|/usr/lib/python3/dist-packages/zope/testrunner/tests|.*

* Or adding a dependency on python3-minimal (>= 3.8.2-2)

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: zope.testrunner
Source-Version: 5.2-3
Done: Graham Inggs <ginggs@debian.org>

We believe that the bug you reported is fixed in the latest version of
zope.testrunner, 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 986903@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Graham Inggs <ginggs@debian.org> (supplier of updated zope.testrunner 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 14 Apr 2021 12:27:28 +0000
Source: zope.testrunner
Architecture: source
Version: 5.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Graham Inggs <ginggs@debian.org>
Closes: 986903
Changes:
 zope.testrunner (5.2-3) unstable; urgency=medium
 .
   * QA upload
 .
   [ Sebastian Ramacher ]
   * Make python3-zope.testrunner.bcep compatible with
     py3compile in buster (Closes: #986903)
Checksums-Sha1:
 1a03eaf13b96a74d6f572b31a79e2482435871f8 1961 zope.testrunner_5.2-3.dsc
 7028189057ccf3b594cb8032413e69cac7b74c61 6168 zope.testrunner_5.2-3.debian.tar.xz
Checksums-Sha256:
 e95df04870a48313e63604cf03ddb91aa8ed6598bb4c9c43e5ac9c2647ac3f3c 1961 zope.testrunner_5.2-3.dsc
 da99db99f494c9a3a1d485fcbe325aace49d95426ff0f37018ff5dd0d1b98fa5 6168 zope.testrunner_5.2-3.debian.tar.xz
Files:
 ccb93532ee6c5ba192e8679161c57d43 1961 zope optional zope.testrunner_5.2-3.dsc
 4b9a2164ee8a0cf13d5a84d4016af9e8 6168 zope optional zope.testrunner_5.2-3.debian.tar.xz

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

iQIzBAEBCgAdFiEEJeP/LX9Gnb59DU5Qr8/sjmac4cIFAmB24DgACgkQr8/sjmac
4cLkGhAAoTuWBsZeUsO/3KU6DbOv8W+PZnvY0/eFAfJYc7alGoQ6+RPPw3lKYJqg
D/RDT7tJbNJ6pIGBRN5rEq/ErCh+idUNScEDDZdoqfICliKbJCRN3XV4aLPzsJ9W
tTNLBFUg3RN3mk14sI38cYufNL32E/R7w/5VV8ZFK6AwG6wIEAProZkyQeDxr4Uq
BULBAr+hfy3TOT1xobAvrN9L3mcNiUxIj2lQa6SgwQDj0U7QFOIf0UiFoppsPrna
mrkx+S3rmInivLh33zXtqRc70rLO7LV1gp3aUNao+xHAtbAajv4MA9eWV6SxQvrm
isB6P+aPuRWNmRu0Cvm5UEOezNm2l/VHP5PyM5RIUnWXl4FeI6e4wnWo4ABEsCt3
HLQkBlPdnZcu9gLqadJkfMsorlzqnP6bGNm2lovCpp4tBWVDT9wnSz6pplm2cY6L
igrzhqBwBkjc2D9BxPK29pkz4i7k0jzIzw4iR0HvzWGAVl1wgjQPJy7T6MpM3HOR
8RV9C6EGYhoC3TuqQ1X1pulrjgSkYYSjUVHpIgUxTacj+m2rVZcWJhIehE/Yziqo
60ciVWLKPvsz97XUFKL82fkAC3zS+CTTBqzIKcbmyniQUw0TCgjDMP4UwfAaPE0d
GIJdQXMmeh26ESveMJVHZNrHDcfVjjftbjdfDWyp/34GVBklByA=
=hVhk
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: