[Python-modules-team] Bug#409814: python-mysqldb: no python2.5
support
C. Scott Ananian
cananian at sincerity-forever.lcs.mit.edu
Mon Feb 5 18:55:00 CET 2007
Package: python-mysqldb
Version: 1.2.1-p2-4
Severity: normal
The python-mysqldb package should support python2.5. Currently no files
are installed in /usr/lib/python2.5/site-packages/. For example:
$ python2.4
Python 2.4.4 (#2, Jan 13 2007, 17:50:26)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
>>>
$ python2.5
Python 2.5 (release25-maint, Dec 9 2006, 14:35:53)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named MySQLdb
>>>
$
The MySQLdb package ought to work on python2.5, judging from the limited
information available on sourceforge, and I have an unconfirmed report that
this package works with python2.5 in Ubuntu (sigh).
There is a patch in the Ubuntu repository:
http://patches.ubuntu.com/p/python-mysqldb/python-mysqldb_1.2.1-p2-4ubuntu2.patch
but it seems that a rebuild was all that was necessary to support python2.5.
--scott
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages python-mysqldb depends on:
ii libc6 2.3.6.ds1-11 GNU C Library: Shared libraries
ii libmysqlclient15off 5.0.32-3 mysql database client library
ii python 2.4.4-2 An interactive high-level object-o
ii python-central 0.5.12 register and build utility for Pyt
ii zlib1g 1:1.2.3-13 compression library - runtime
python-mysqldb recommends no packages.
-- no debconf information
More information about the Python-modules-team
mailing list