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

Bug#585325: marked as done (python-rdflib: Python string exceptions no more allowed in Python 2.6)

Your message dated Sat, 04 May 2013 19:27:29 +0000
with message-id <E1UYi7F-0003os-4d@franck.debian.org>
and subject line Bug#585325: fixed in rdflib 2.4.2-3
has caused the Debian Bug report #585325,
regarding python-rdflib: Python string exceptions no more allowed in Python 2.6
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

585325: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585325
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-rdflib
Version: 2.4.2-1+b1
Severity: minor
User: debian-python@lists.debian.org
Usertags: python2.6

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>

$ 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

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: rdflib
Source-Version: 2.4.2-3

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

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

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 585325@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Colin Watson <cjwatson@debian.org> (supplier of updated rdflib 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)

Hash: SHA256

Format: 1.8
Date: Sat, 04 May 2013 19:42:14 +0100
Source: rdflib
Binary: python-rdflib
Architecture: source i386
Version: 2.4.2-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
 python-rdflib - RDF library containing an RDF triple store and RDF/XML parser/ser
Closes: 551690 585325
 rdflib (2.4.2-3) unstable; urgency=low
   * QA upload.
   * Build using dh_python2 (thanks, Matthias Klose; incidentally closes:
   * Remove uses of string exceptions, no longer supported in Python 2.6
     (closes: #585325).
   * Add ${misc:Depends}.
   * Add build-indep and build-arch targets to debian/rules.
   * Convert to 3.0 (quilt) source format.
 bc69b720520f6789d47b68e29cda40e5a2895abd 1798 rdflib_2.4.2-3.dsc
 8877272437505ec167011e834560b380155ff448 9164 rdflib_2.4.2-3.debian.tar.gz
 cf0e276e0ceead36d02dccc973410170315a9fad 310870 python-rdflib_2.4.2-3_i386.deb
 1838199671217e3b3a88969245b643947017dca6224516ec8400696a306ca2a0 1798 rdflib_2.4.2-3.dsc
 a0536c9197a69dfd9d6816edc9e945de1cd9f45165bab92131b03039c1572951 9164 rdflib_2.4.2-3.debian.tar.gz
 ff5750950afdc58be44dc70cac8d26586502e0e53b68e45d9d973be94811c8ae 310870 python-rdflib_2.4.2-3_i386.deb
 7627807f50949a8c889473fd346d6dc9 1798 python optional rdflib_2.4.2-3.dsc
 30d2a1c146b4fe7a889c610dff16b5eb 9164 python optional rdflib_2.4.2-3.debian.tar.gz
 1b0e814203ba0aef63f48380648f0a3f 310870 python optional python-rdflib_2.4.2-3_i386.deb

Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer


--- End Message ---

Reply to: