Debian Bug report logs - #585299
python-librdf: Python string exceptions no more allowed in Python 2.6

version graph

Package: python-librdf; Maintainer for python-librdf is Dave Beckett <dajobe@debian.org>; Source for python-librdf is src:redland-bindings (PTS, buildd, popcon).

Reported by: Sandro Tosi <morph@debian.org>

Date: Wed, 9 Jun 2010 22:27:13 UTC

Severity: minor

Found in version redland-bindings/1.0.10.1-2

Fixed in version redland-bindings/1.0.10.1-3

Done: Dave Beckett <dajobe@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Dave Beckett <dajobe@debian.org>:
Bug#585299; Package python-librdf. (Wed, 09 Jun 2010 22:27:16 GMT) (full text, mbox, link).


Acknowledgement sent to Sandro Tosi <morph@ravel.debian.org>:
New Bug report received and forwarded. Copy sent to Dave Beckett <dajobe@debian.org>. (Wed, 09 Jun 2010 22:27:16 GMT) (full text, mbox, link).


Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):

From: Sandro Tosi <morph@ravel.debian.org>
To: maintonly@bugs.debian.org
Subject: python-librdf: Python string exceptions no more allowed in Python 2.6
Date: Wed, 09 Jun 2010 22:19:38 +0000
Package: python-librdf
Version: 1.0.10.1-2
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




Changed Bug submitter to 'Sandro Tosi <morph@debian.org>' from 'Sandro Tosi <morph@ravel.debian.org>' Request was from Sandro Tosi <morph@debian.org> to control@bugs.debian.org. (Tue, 22 Jun 2010 22:28:37 GMT) (full text, mbox, link).


Reply sent to Dave Beckett <dajobe@debian.org>:
You have taken responsibility. (Fri, 06 Aug 2010 06:51:03 GMT) (full text, mbox, link).


Notification sent to Sandro Tosi <morph@debian.org>:
Bug acknowledged by developer. (Fri, 06 Aug 2010 06:51:04 GMT) (full text, mbox, link).


Message #12 received at 585299-close@bugs.debian.org (full text, mbox, reply):

From: Dave Beckett <dajobe@debian.org>
To: 585299-close@bugs.debian.org
Subject: Bug#585299: fixed in redland-bindings 1.0.10.1-3
Date: Fri, 06 Aug 2010 06:47:09 +0000
Source: redland-bindings
Source-Version: 1.0.10.1-3

We believe that the bug you reported is fixed in the latest version of
redland-bindings, which is due to be installed in the Debian FTP archive:

librdf-perl_1.0.10.1-3_i386.deb
  to main/r/redland-bindings/librdf-perl_1.0.10.1-3_i386.deb
librdf-ruby_1.0.10.1-3_i386.deb
  to main/r/redland-bindings/librdf-ruby_1.0.10.1-3_i386.deb
php5-librdf_1.0.10.1-3_i386.deb
  to main/r/redland-bindings/php5-librdf_1.0.10.1-3_i386.deb
python-librdf_1.0.10.1-3_i386.deb
  to main/r/redland-bindings/python-librdf_1.0.10.1-3_i386.deb
redland-bindings_1.0.10.1-3.diff.gz
  to main/r/redland-bindings/redland-bindings_1.0.10.1-3.diff.gz
redland-bindings_1.0.10.1-3.dsc
  to main/r/redland-bindings/redland-bindings_1.0.10.1-3.dsc



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 585299@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dave Beckett <dajobe@debian.org> (supplier of updated redland-bindings 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: SHA1

Format: 1.8
Date: Thu, 05 Aug 2010 23:27:00 -0700
Source: redland-bindings
Binary: librdf-perl python-librdf librdf-ruby php5-librdf
Architecture: source i386
Version: 1.0.10.1-3
Distribution: unstable
Urgency: low
Maintainer: Dave Beckett <dajobe@debian.org>
Changed-By: Dave Beckett <dajobe@debian.org>
Description: 
 librdf-perl - Perl language bindings for the Redland RDF library
 librdf-ruby - Ruby 1.8 language bindings for the Redland RDF library
 php5-librdf - PHP5 language bindings for the Redland RDF library
 python-librdf - Python language bindings for the Redland RDF library
Closes: 585299
Changes: 
 redland-bindings (1.0.10.1-3) unstable; urgency=low
 .
   * debian/control:
     - Standards-Version: 3.9.1
   * debian/patches/01-python-example-exception.patch: Added from upstream
     GIT 72c03eeb3267be06774771be6043cc034d12a827 (Closes: #585299)
   * debian/patches/02-python-unicode-exception.patch: Added from upstream
     GIT commmits 1c5088ed79c7f1c32da2582cfb26a9a5a3010776
     713a4cbc4728c25f6d2398db4a3a4f70827e7765 and
     aaabb24978c9f95d3510a16cac879344ed0452ec to remove crash and
     python exception failure on creating URIs from unicode strings.
     Seen as an error like 'SystemError: error return without exception set'
     in Redland_python.unicode_to_bytes.
Checksums-Sha1: 
 f4482f3be8a92ab789f354bbb3105f44448a4448 1309 redland-bindings_1.0.10.1-3.dsc
 17919fa168c1854eadd9b70fd9354582c63776d2 13972 redland-bindings_1.0.10.1-3.diff.gz
 00278e0bc3d00595dffa806e106dbee5097bf3ec 143360 librdf-perl_1.0.10.1-3_i386.deb
 b56b7b0b4320f68235b1e32084f0ac0bc5156f6e 107954 python-librdf_1.0.10.1-3_i386.deb
 43d30191b084bcadc0295259593393454a2d1c3c 55844 librdf-ruby_1.0.10.1-3_i386.deb
 0e607d644549ec43eb0f4689ed66a72d65f80d4a 45130 php5-librdf_1.0.10.1-3_i386.deb
Checksums-Sha256: 
 625ef852183a23926b8d05e0b10f7005999f3d436fc41a99cf2f5b3984f3ae67 1309 redland-bindings_1.0.10.1-3.dsc
 e025002fdf8a25fd76cce31a4762ee2ce7f0532446b2c88ca73643959fa88d2f 13972 redland-bindings_1.0.10.1-3.diff.gz
 762cab7051826ecdd64a6160f7c3d2406d4ae818985f5d918dae35cf6d8a1b40 143360 librdf-perl_1.0.10.1-3_i386.deb
 874457e971530ae41dbc7d91c9e829bb76af67cbd23e43fe51c0738d58b36e10 107954 python-librdf_1.0.10.1-3_i386.deb
 f7c76abb40607191ce4e0c24893bc721e2cfe918afe591b239b2e80340741843 55844 librdf-ruby_1.0.10.1-3_i386.deb
 93a35293574b9fc8ee3606f0633c84bbd3e70e9d653a55705cbd2b0eb2dac6e3 45130 php5-librdf_1.0.10.1-3_i386.deb
Files: 
 b089728ff74b201a391231e0fcc1da57 1309 devel optional redland-bindings_1.0.10.1-3.dsc
 4018a090304ace82d47d9d2327f37f15 13972 devel optional redland-bindings_1.0.10.1-3.diff.gz
 27cda8c64adc4be8d7fe53a21b9e61e6 143360 perl optional librdf-perl_1.0.10.1-3_i386.deb
 23ab7c3979cb968e44428286cdc35f32 107954 python optional python-librdf_1.0.10.1-3_i386.deb
 08ed30a8991133da7e7abac19f1a21e8 55844 ruby optional librdf-ruby_1.0.10.1-3_i386.deb
 ef5996881716f0d1d4a560d8016aaf3c 45130 php optional php5-librdf_1.0.10.1-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFMW61iQ+ySUE9xlVoRAkTHAJ4zjfSGkPaInGpygKucAKTNf67O0gCfTGIh
GMTdh6zlJRvRbcipLVWg9k8=
=e8XT
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 25 Mar 2011 07:40:33 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Jan 8 02:25:59 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.