Your message dated Mon, 12 Jul 2010 22:59:11 +0000
with message-id <[email protected]>
and subject line Bug#588820: fixed in python-defaults 2.6.5-7
has caused the Debian Bug report #588820,
regarding pyversions: No longer falls back to the list of supported python 
versions
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.)


-- 
588820: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588820
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-minimal
Version: 2.6.5-6
Severity: important

Hi,

Since python 2.6.5-6, pyversions -r exits if the XS-Python-Version field is
missing in debian/control and debian/pyversions does not exist. The manpage
says that it should return the list of supported python versions like in
2.6.5-5.

This bug makes canto and archivemail FTBFS because debhelper relies on
pyversions.

Example:

(2.6.5-6)
$ pyversions -r
pyversions: missing XS-Python-Version in control file, fall back to
debian/pyversions
[Errno 2] No such file or directory: 'debian/pyversions'

(2.6.5-5)
$ pyversions -r
pyversions: missing XS-Python-Version in control file, fall back to
debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
python2.5 python2.6

The attached patch fixes this problem.

Best Regards,
Vincent



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-minimal depends on:
ii  dpkg                    1.15.7.2         Debian package management system
ii  python2.6-minimal       2.6.5+20100706-1 A minimal subset of the Python lan

Versions of packages python-minimal recommends:
ii  python                        2.6.5-6    interactive high-level object-orie

python-minimal suggests no packages.
--- pyversions.py.orig  2010-07-12 16:50:26.004000172 +0200
+++ pyversions.py       2010-07-12 16:50:50.824000172 +0200
@@ -314,11 +314,7 @@
     return versions
 
 def extract_pyversion_attribute_bis(fn):
-    try:
-        vstring = file(fn).readline().rstrip('\n')
-    except IOError, msg:
-        print msg
-        sys.exit(3)
+    vstring = file(fn).readline().rstrip('\n')
     return vstring
 
 def main():

--- End Message ---
--- Begin Message ---
Source: python-defaults
Source-Version: 2.6.5-7

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

idle_2.6.5-7_all.deb
  to main/p/python-defaults/idle_2.6.5-7_all.deb
python-all-dbg_2.6.5-7_all.deb
  to main/p/python-defaults/python-all-dbg_2.6.5-7_all.deb
python-all-dev_2.6.5-7_all.deb
  to main/p/python-defaults/python-all-dev_2.6.5-7_all.deb
python-all_2.6.5-7_all.deb
  to main/p/python-defaults/python-all_2.6.5-7_all.deb
python-dbg_2.6.5-7_all.deb
  to main/p/python-defaults/python-dbg_2.6.5-7_all.deb
python-defaults_2.6.5-7.dsc
  to main/p/python-defaults/python-defaults_2.6.5-7.dsc
python-defaults_2.6.5-7.tar.gz
  to main/p/python-defaults/python-defaults_2.6.5-7.tar.gz
python-dev_2.6.5-7_all.deb
  to main/p/python-defaults/python-dev_2.6.5-7_all.deb
python-doc_2.6.5-7_all.deb
  to main/p/python-defaults/python-doc_2.6.5-7_all.deb
python-examples_2.6.5-7_all.deb
  to main/p/python-defaults/python-examples_2.6.5-7_all.deb
python-minimal_2.6.5-7_all.deb
  to main/p/python-defaults/python-minimal_2.6.5-7_all.deb
python_2.6.5-7_all.deb
  to main/p/python-defaults/python_2.6.5-7_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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Piotr Ożarowski <[email protected]> (supplier of updated python-defaults 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: SHA1

Format: 1.8
Date: Mon, 12 Jul 2010 19:15:17 +0200
Source: python-defaults
Binary: python python-minimal python-examples python-dev idle python-doc 
python-dbg python-all python-all-dev python-all-dbg
Architecture: source all
Version: 2.6.5-7
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <[email protected]>
Changed-By: Piotr Ożarowski <[email protected]>
Description: 
 idle       - IDE for Python using Tkinter (default version)
 python     - interactive high-level object-oriented language (default version)
 python-all - package depending on all supported Python runtime versions
 python-all-dbg - package depending on all supported Python debugging packages
 python-all-dev - package depending on all supported Python development packages
 python-dbg - debug build of the Python Interpreter (version 2.6)
 python-dev - header files and a static library for Python (default)
 python-doc - documentation for the high-level object-oriented language Python
 python-examples - examples for the Python language (default version)
 python-minimal - minimal subset of the Python language (default version)
Closes: 588820
Changes: 
 python-defaults (2.6.5-7) unstable; urgency=low
 .
   * pyversions.py: fall back to the list of supported Python versions
     if debian/pyversions doesn't exist (as in -5, closes: 588820, thanks to
     Vincent Legout)
Checksums-Sha1: 
 e13098237c5bc9470b533175eefbf10ac7f22ddd 1233 python-defaults_2.6.5-7.dsc
 8eccd32da948a7730620b975d0134f47396f3003 128147 python-defaults_2.6.5-7.tar.gz
 51034d3c4e136141b16fcc9e9073e957423579e2 159146 python_2.6.5-7_all.deb
 f70dccf700d2c0398c37ec2bf0d1c696ad244b26 29644 python-minimal_2.6.5-7_all.deb
 94a74d040a25f40a9a361c4a438355f1de716c09 866 python-examples_2.6.5-7_all.deb
 5ef2f6781e9870005747effba0c9df1291cac8eb 964 python-dev_2.6.5-7_all.deb
 ca89fa619af08be7b329df7776f281da572da5e2 3002 idle_2.6.5-7_all.deb
 1248a105637a864bcaabeda9984f9e9456501795 13050 python-doc_2.6.5-7_all.deb
 ce4cf7f67c9003cb3fc5e0aa92ce4d673d62a0f8 1020 python-dbg_2.6.5-7_all.deb
 60bd8193aa9b8f9adec1532ee8a2ba00ec5220c1 878 python-all_2.6.5-7_all.deb
 41fbf96b04b44290244d36c8fa96b8a3b0808e69 894 python-all-dev_2.6.5-7_all.deb
 64fd62d983d4dabaf569351c0b3a028537a1ebc6 904 python-all-dbg_2.6.5-7_all.deb
Checksums-Sha256: 
 fbdb1bd1c65b32a06c8fcf5e2a68daa055cd3b9b16a310b3c9b9768a355875ee 1233 
python-defaults_2.6.5-7.dsc
 85fb4c4098f5fac74d9128875044692318b6eb2cab49189feeb25428da513d3a 128147 
python-defaults_2.6.5-7.tar.gz
 57cada1a6f4c771f1fa72620559411efb435746057c341fea2a5d52f6f3dcd83 159146 
python_2.6.5-7_all.deb
 b63b649ed03e81497e4f133d7b4216e8c70c01bf00e4fe38daf26205d777bbff 29644 
python-minimal_2.6.5-7_all.deb
 9772bb5431b1c7314d9a711616d52c6fb40add3bd6730c725b9a151b43953c5b 866 
python-examples_2.6.5-7_all.deb
 47c0e6f4216b0fa3cde690132c0b8277f2ecc290c825571a2cb0878b1bca01f2 964 
python-dev_2.6.5-7_all.deb
 97eddafb67ddbf78d015c085dbdbeefd09b554b4344078457492fa2c1d73042b 3002 
idle_2.6.5-7_all.deb
 91fc7ad7c84976ac94423e786f8a2fe582ad7a3203310247b44008601a3065f2 13050 
python-doc_2.6.5-7_all.deb
 364d32dca9598867616286c63a11f74917087b03c6d6f592940bdb38765fb3a1 1020 
python-dbg_2.6.5-7_all.deb
 2af4a50dec3fe2519d1d0c841f764b78263724bbfe710bb8a651cb32d6c08540 878 
python-all_2.6.5-7_all.deb
 53b34eb34d866ecc9afbba04c24edb772c7f464b9862365091164bb4ce30d0c0 894 
python-all-dev_2.6.5-7_all.deb
 0e900143af946e7240a6f94fcd026214c7e1fbaa1d6b42b4cb4b6590313ae71a 904 
python-all-dbg_2.6.5-7_all.deb
Files: 
 42e9fe1506919eeb0996c412319dd0b7 1233 python optional 
python-defaults_2.6.5-7.dsc
 0f74dc308d51a392e422b7e25489c357 128147 python optional 
python-defaults_2.6.5-7.tar.gz
 e9da6184c5aef997f123921f37948f17 159146 python standard python_2.6.5-7_all.deb
 3f52547c90c76845738fe1a46bd40336 29644 python standard 
python-minimal_2.6.5-7_all.deb
 92f7a1185569c873d921db985ec3d9e9 866 python optional 
python-examples_2.6.5-7_all.deb
 f0b6b52bc6d264b2259601bef15e2c83 964 python optional python-dev_2.6.5-7_all.deb
 57e92217e53a0ccf536c83909a907f12 3002 python optional idle_2.6.5-7_all.deb
 6cb60db857deb3f0b9dbba06f6a74afe 13050 doc optional python-doc_2.6.5-7_all.deb
 6a9519c627c930f14bdb5ae43189b92a 1020 debug extra python-dbg_2.6.5-7_all.deb
 3e58c84e5f9651407de1c52a65e042d1 878 python optional python-all_2.6.5-7_all.deb
 9592d637b9f7e12e31c43b9f74c3bca5 894 python optional 
python-all-dev_2.6.5-7_all.deb
 8e4383dd103bff919a29872af75b6535 904 debug extra python-all-dbg_2.6.5-7_all.deb

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

iEYEARECAAYFAkw7VvoACgkQB01zfu119ZlH0QCfQR1nq7C4X8cDkGfaybE1DifE
Fm4Anj0hQm+c2xIifDVkAnecKg1TiNzd
=7QMq
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to