--- Begin Message ---
- To: maintonly@bugs.debian.org
- Subject: mklibs-copy: Python string exceptions no more allowed in Python 2.6
- From: Sandro Tosi <morph@ravel.debian.org>
- Date: Wed, 09 Jun 2010 22:19:37 +0000
- Message-id: <E1OMTcX-0000yp-7w@ravel.debian.org>
Package: mklibs-copy
Version: 0.1.30
Severity: minor
User: debian-python@lists.debian.org
Usertags: python2.6
Hello,
One of the changes brought by Python 2.6 is the removal of string
exceptions, so they won't work in Python 2.6 (just a side note: they
were also buggy before, since they were not guaranteed to work
reliable even in <2.6); as an example:
$ python2.5 -c "raise 'eggs'"
-c:1: DeprecationWarning: raising a string exception is deprecated
Traceback (most recent call last):
File "<string>", line 1, in <module>
eggs
$ python2.6 -c "raise 'eggs'"
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: exceptions must be old-style classes or derived from BaseException, not str
Since 2.6 is the planned default version for the upcoming new Debian
stable release, there are chances your package may be affected by this
change.
We are not sure your package is impacted, since the exception raise
can be in a dead or very rare branch of the code, and so simply never
being executed. We would like to leverage your package maintainer
status and the relationship with upstream authors to inspect more
deeply the issue and act accordingly (that includes: making this bug
release critical, closing it as irrelevant, tagging it 'wontfix', or
whatever is appropriate).
Jakub Wilk made the discovery of the problem and kindly prepared a
list [1] of all identified packages (downloaded on 2010-06-09) along
with files & lines that triggered the pattern search.
[1] http://people.debian.org/~morph/strexp/string-exceptions.lintian
This mass-bug filing was announced at 2010-06-06 on [2] (see the
thread and the references there).
[2] http://lists.debian.org/debian-devel/2010/06/msg00097.html
We do not consider the whole situation a stopper for the Python
transition to 2.6, except (of course) for those single bugs where
severity will be increased.
Thanks in advance for your attention,
Sandro on behalf of debian-python
--- End Message ---
--- Begin Message ---
Source: mklibs
Source-Version: 0.1.31
We believe that the bug you reported is fixed in the latest version of
mklibs, which is due to be installed in the Debian FTP archive:
mklibs-copy_0.1.31_amd64.deb
to main/m/mklibs/mklibs-copy_0.1.31_amd64.deb
mklibs_0.1.31.dsc
to main/m/mklibs/mklibs_0.1.31.dsc
mklibs_0.1.31.tar.gz
to main/m/mklibs/mklibs_0.1.31.tar.gz
mklibs_0.1.31_all.deb
to main/m/mklibs/mklibs_0.1.31_all.deb
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 585254@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Otavio Salvador <otavio@debian.org> (supplier of updated mklibs 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@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 24 Dec 2010 19:20:29 -0200
Source: mklibs
Binary: mklibs mklibs-copy
Architecture: source all amd64
Version: 0.1.31
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Otavio Salvador <otavio@debian.org>
Description:
mklibs - Shared library reduction script
mklibs-copy - Shared library reduction script
Closes: 585254 606621
Changes:
mklibs (0.1.31) unstable; urgency=low
.
[ Colin Watson ]
* Use 'dh $@ --options' rather than 'dh --options $@', for
forward-compatibility with debhelper v8.
.
[ Bastian Blank ]
* Support python 2.6 (closes: #585254)
* Don't fail with static binaries (closes: #606621)
Checksums-Sha1:
eceb8d9be8af26dd1e103beff22d3eb036e2c8d0 1631 mklibs_0.1.31.dsc
7572d31a59d3f44ebb91d72eac1bf9adc07e102f 134262 mklibs_0.1.31.tar.gz
0cffd9ebf51d0310b2370e1af9ad16bf4bbcfaaf 13486 mklibs_0.1.31_all.deb
e949d709744fcefd2e833a2b646e16af7447e223 48522 mklibs-copy_0.1.31_amd64.deb
Checksums-Sha256:
33ce62d6e2c85fe411dd53237e74dd9a331f417bed3922850519ac4d55b8090e 1631 mklibs_0.1.31.dsc
8f5595621eb09d52871c771861e81b032d10c31d15e5dd61fa7f5a9e5b7de405 134262 mklibs_0.1.31.tar.gz
ec8d21441bf80b51191629ec32ff3aa7e5662ede53d7a22d20a398cbdd918a56 13486 mklibs_0.1.31_all.deb
a7810a34096c88cb4f4e8122a02bc961056296690529358cbba411ec9851ceae 48522 mklibs-copy_0.1.31_amd64.deb
Files:
4d95eca1e144fefb1e91ffa56e9db74f 1631 devel optional mklibs_0.1.31.dsc
f4df0307ccbdf60070e42277513f27ed 134262 devel optional mklibs_0.1.31.tar.gz
034a5b6343fdb9b2a110812919f59aba 13486 devel optional mklibs_0.1.31_all.deb
b47c6b8c6aa07f9f9fe851cf0c051eaf 48522 devel optional mklibs-copy_0.1.31_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJNFQ6sAAoJEOtw/vPN/G5PQtwP/AuhiKpIXzEGKEVru20mj5ih
0elGPcNWfkHlsmKKY60qw5vEs2bfQRRjBAgXq56ubKBv7Nvnp+tlKELThJJDBa0a
NAQthXg3H4XCEzrUj9pljbWYWp9BdpJRuxzG69MSQs9hONL9Fzl+ZECIZrEub87K
iP8kO8dCFYOXKfSb4g6Xi823JfZ9Ddq01soWcMrU/MgKeHB3K4XMBtwhKmiItO3f
n99so6ks+IJoqabTiRXd+WDVzuTJHT5mj7RuWs7//S6wOzNHykueu2ANOogshBx8
HnhQfJi9qK+8LtOcehJjL/aKqXqXS4ggj/lifskKZaghidAGT2TexctyDbnloK6m
oBGsUZLXV/4isbMpGeydpVxNnZWLAD0q/idwRXumwlazjKRt0kMy3+USIH7kA64i
TBtM3Yij/Zdc5JqMem3qh5/sB8MQk2qjlju/GfIc93W26VHLY5MQOxVnjzFfTHuD
2TJe64f5xcvq1jrrVJAxqTnvH76baM8pbj+233kyTPBOLy4pMErlwvk1XG8utcXT
PuOYSkiAC3NDAEZBRw2kp86HNrMfZ78NFr8rnkHlZ+uO0EXYu3jaOtpED/cSDxei
Yk28z42jmNpwOalpLcVT2Y1wDR+m4PxKTsVfWZ01yNHyiiqizf5HkxtYVEpMpidN
+ACo+8TUWun09WzLxok2
=OzS4
-----END PGP SIGNATURE-----
--- End Message ---