Bug#409814: python-mysqldb: Adding 2.5 support

2007-05-02 Thread Matthias Klose
Jonas Meurer writes:
> On 01/05/2007 Bernd Zeimetz wrote:
> > > This module compiles fine with 2.5.  I modified
> > > /usr/share/python/debian_defaults and added python2.5 to the list of
> > > supported versions, and removed it from teh list of unsupported
> > > versions, and then re-made python-mysqldb.
> > 
> > this is not the way to update packages unfortunately. The real solution
> > would be to file a bug against python-minimal and ask for support of
> > python2.5 (which will result in pycentral installing the modules for
> > 2.5, too) or the other way would be to use python-support for this
> > package, as python-support is able to handle other versions than the
> > default version just fine (except for a few rare cases).
> 
> unfortunately even this doesn't work. if you build the package in a
> clean environment without python2.5(-dev) installed, the c extensions
> are not built for python2.5.
> 
> the only clean fix is to wait for python-all-dev to be updated or
> build-depend on python2.5-dev.

you'll have to wait until python2.5_2.5.1-1 is built and installed on all
architectures.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#409814: [Python-modules-team] Bug#409814: python-mysqldb: Adding 2.5 support

2007-05-01 Thread Bernd Zeimetz
Heya,

> this is not the way to update packages unfortunately. The real solution
> would be to file a bug against python-minimal and ask for support of
> python2.5 (which will result in pycentral installing the modules for
> 2.5, too) or the other way would be to use python-support for this
> package, as python-support is able to handle other versions than the
> default version just fine (except for a few rare cases).

What I forgot to mention here: Only moving to python-support does not
work for Packages which need python-all-dev to build their .so files.
python-all-dev still does not depend on python2.5-dev, so you'd have to
add it manually to the build dependencies, same for python2.5. This will
lead into pain later, as the package is not binNMU-able when a new
python version comes out. What we really wanna have is python2.5 being
in the list of supported python versions.



Cheers,

Bernd

-- 
Bernd Zeimetz
<[EMAIL PROTECTED]> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#409814: [Python-modules-team] Bug#409814: python-mysqldb: Adding 2.5 support

2007-05-01 Thread Jonas Meurer
On 01/05/2007 Bernd Zeimetz wrote:
> > This module compiles fine with 2.5.  I modified
> > /usr/share/python/debian_defaults and added python2.5 to the list of
> > supported versions, and removed it from teh list of unsupported
> > versions, and then re-made python-mysqldb.
> 
> this is not the way to update packages unfortunately. The real solution
> would be to file a bug against python-minimal and ask for support of
> python2.5 (which will result in pycentral installing the modules for
> 2.5, too) or the other way would be to use python-support for this
> package, as python-support is able to handle other versions than the
> default version just fine (except for a few rare cases).

unfortunately even this doesn't work. if you build the package in a
clean environment without python2.5(-dev) installed, the c extensions
are not built for python2.5.

the only clean fix is to wait for python-all-dev to be updated or
build-depend on python2.5-dev.

...
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#409814: [Python-modules-team] Bug#409814: python-mysqldb: Adding 2.5 support

2007-05-01 Thread Bernd Zeimetz
Heya,


> This module compiles fine with 2.5.  I modified
> /usr/share/python/debian_defaults and added python2.5 to the list of
> supported versions, and removed it from teh list of unsupported
> versions, and then re-made python-mysqldb.

this is not the way to update packages unfortunately. The real solution
would be to file a bug against python-minimal and ask for support of
python2.5 (which will result in pycentral installing the modules for
2.5, too) or the other way would be to use python-support for this
package, as python-support is able to handle other versions than the
default version just fine (except for a few rare cases).

Cheers,


Bernd

-- 
Bernd Zeimetz
<[EMAIL PROTECTED]> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#409814: python-mysqldb: Adding 2.5 support

2007-05-01 Thread Chris AtLee
Package: python-mysqldb
Version: 1.2.2-1
Followup-For: Bug #409814


This module compiles fine with 2.5.  I modified
/usr/share/python/debian_defaults and added python2.5 to the list of
supported versions, and removed it from teh list of unsupported
versions, and then re-made python-mysqldb.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.20-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-mysqldb depends on:
ii  libc6 2.5-5  GNU C Library: Shared libraries
ii  libmysqlclient15off   5.0.38-3   mysql database client library
ii  python2.4.4-2An interactive high-level object-o
ii  python-central0.5.13-0.1 register and build utility for Pyt

python-mysqldb recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]