Re: Bugs that'll block python 2.5

2008-04-15 Thread Raphael Hertzog
On Mon, 14 Apr 2008, Adeodato Simó wrote:
> Finally, and quite importantly, there is what to do with modules that
> have been added to the standard library in 2.5 (ctypes, celementtree,
> wgsiref). These use either pycentral or pysupport, and since they mark
> themselves as for python << 2.5 only, the dependency generated is on
> python (<< 2.5), rendering them uninstallable.

I think they should simply be updated to not use ${python:Depends}.
I wonder if that should be replaced by some custom dependency however.
Probably not. There's no reason to depend on python-2.4... that's the
job of packages containing python scripts requiring 2.4.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


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



Re: Bugs that'll block python 2.5

2008-04-15 Thread Piotr Ożarowski
[Raphael Hertzog, 2008-04-15 09:31]
> On Mon, 14 Apr 2008, Adeodato Simó wrote:
> > Finally, and quite importantly, there is what to do with modules that
> > have been added to the standard library in 2.5 (ctypes, celementtree,
> > wgsiref). These use either pycentral or pysupport, and since they mark
> > themselves as for python << 2.5 only, the dependency generated is on
> > python (<< 2.5), rendering them uninstallable.
> 
> I think they should simply be updated to not use ${python:Depends}.
> I wonder if that should be replaced by some custom dependency however.
> Probably not. There's no reason to depend on python-2.4... that's the
> job of packages containing python scripts requiring 2.4.

I guess my mail from yesterday didn't make it... anyway, ctypes and wgsiref
are already fixed (I will file bugs against python-support and python-central
later) and celementtree should be fixed by binNMU (it worked on my
desktop)


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



Re: Bugs that'll block python 2.5

2008-04-15 Thread Adeodato Simó
* Josselin Mouette [Tue, 15 Apr 2008 12:28:00 +0200]:

> On lun, 2008-04-14 at 22:57 +0200, Adeodato Simó wrote:
> > Finally, and quite importantly, there is what to do with modules that
> > have been added to the standard library in 2.5 (ctypes, celementtree,
> > wgsiref). These use either pycentral or pysupport, and since they mark
> > themselves as for python << 2.5 only, the dependency generated is on
> > python (<< 2.5), rendering them uninstallable.

> The solution is really simple, just add them to python’s Provides: list.

That's a good point, but that's about rdepends only, and orthogonal to these
packages being uninstallable.

Anyway, FTR, all three packages have been uploaded like this:

 python-wsgiref (0.1.2-3) unstable; urgency=medium
 .
   * Replace ${python:Depends} with "python (<<2.5) | python2.4,
 python-support (>=0.6.4)" as python-support generates wrong dependencies
 (and makes this package uninstallable with python2.5 set as default)

 celementtree (1.0.5-10) unstable; urgency=low
 .
 - don't use ${python:Depends} in depens fields so
   that the package can coexist with python >= 2.5 (Closes: #475897)

 ctypes (1.0.2-3) unstable; urgency=medium
 .
   * Change "all" to "<<2.5" in XS-Python-Version and let python-central
 generate dependencies, add python2.4 to Depends (closes: #475906)


Cheers,

-- 
Adeodato Simó dato at net.com.org.es
Debian Developer  adeodato at debian.org
 
  Listening to: Carlos Berlanga - Septiembre


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



Re: Bugs that'll block python 2.5

2008-04-15 Thread Josselin Mouette
On lun, 2008-04-14 at 22:57 +0200, Adeodato Simó wrote:
> Finally, and quite importantly, there is what to do with modules that
> have been added to the standard library in 2.5 (ctypes, celementtree,
> wgsiref). These use either pycentral or pysupport, and since they mark
> themselves as for python << 2.5 only, the dependency generated is on
> python (<< 2.5), rendering them uninstallable.

The solution is really simple, just add them to python’s Provides: list.

-- 
 .''`.
: :' :  We are debian.org. Lower your prices, surrender your code.
`. `'   We will add your hardware and software distinctiveness to
  `-our own. Resistance is futile.


signature.asc
Description: Ceci est une partie de message	numériquement signée


Re: Bugs that'll block python 2.5

2008-04-15 Thread Piotr Ożarowski
[Josselin Mouette, 2008-04-15 12:32]
> On lun, 2008-04-14 at 22:57 +0200, Adeodato Simó wrote:
> > Finally, and quite importantly, there is what to do with modules that
> > have been added to the standard library in 2.5 (ctypes, celementtree,
> > wgsiref). These use either pycentral or pysupport, and since they mark
> > themselves as for python << 2.5 only, the dependency generated is on
> > python (<< 2.5), rendering them uninstallable.
> 
> The solution is really simple, just add them to python’s Provides: list.

python2.5 package already does that, the problem was that python-support
generated something like "python (<<2.5)" for "2.1-2.4", anyway, Depends
are filled in by hand in python-wsgiref package and I will file a bug in
python-support after work. In python-ctypes there was a different
problem - XS-Python-Version's content was wrong (I changed "all" to
">=2.1, <<2.5")


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



Re: Bugs that'll block python 2.5

2008-04-15 Thread Adeodato Simó
* Josselin Mouette [Tue, 15 Apr 2008 12:28:00 +0200]:

> On lun, 2008-04-14 at 22:57 +0200, Adeodato Simó wrote:
> > Finally, and quite importantly, there is what to do with modules that
> > have been added to the standard library in 2.5 (ctypes, celementtree,
> > wgsiref). These use either pycentral or pysupport, and since they mark
> > themselves as for python << 2.5 only, the dependency generated is on
> > python (<< 2.5), rendering them uninstallable.

> The solution is really simple, just add them to python’s Provides: list.

Plus, uhm, can't really be done for (c)elementtree, since python 2.5
provides the modules under a different name/namespace.

Which leads to the interesting question of whether some program is going
to break by this (the dependency will be satisfied, but the modules
won't be available under the names where the program *may* be expecting
them).

python-pysqlite2, on the other hand/for example, still provides the
modules for python 2.5 under the old name. elementtree could do this,
or else the packages should be somehow checked, I guess?

-- 
Adeodato Simó dato at net.com.org.es
Debian Developer  adeodato at debian.org
 
  Listening to: Carlos Berlanga - Sueños


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



Re: Bugs that'll block python 2.5

2008-04-15 Thread Josselin Mouette
On mar, 2008-04-15 at 12:46 +0200, Piotr Ożarowski wrote:
> [Josselin Mouette, 2008-04-15 12:32]
> > The solution is really simple, just add them to python’s Provides: list.
> 
> python2.5 package already does that

But python does not:
Provides: python-email, python-xmlbase

> , the problem was that python-support
> generated something like "python (<<2.5)" for "2.1-2.4", anyway, Depends
> are filled in by hand in python-wsgiref package and I will file a bug in
> python-support after work.

This behavior is intentional; if python-foo only supports python << 2.5,
introducing a dependency on python (<< 2.5) | python2.4 will just break
all python-foo’s reverse dependencies, allowing them to be installed
with python 2.5 while they can’t work with it.

Thus, there needs to be some special-casing for modules being moved to
core python packages. As they are doomed to be removed soon enough, I
think they can live with some manual dependencies.

-- 
 .''`.
: :' :  We are debian.org. Lower your prices, surrender your code.
`. `'   We will add your hardware and software distinctiveness to
  `-our own. Resistance is futile.


signature.asc
Description: Ceci est une partie de message	numériquement signée


Re: Bugs that'll block python 2.5

2008-04-15 Thread Raphael Hertzog
On Tue, 15 Apr 2008, Adeodato Simó wrote:
> * Josselin Mouette [Tue, 15 Apr 2008 12:28:00 +0200]:
> > The solution is really simple, just add them to python’s Provides: list.
> 
> Plus, uhm, can't really be done for (c)elementtree, since python 2.5
> provides the modules under a different name/namespace.

?!

In that case it might be a good idea to build python-celementtree for
python 2.5 as well... I haven't heard of technical incompatibility but
just that it was bundled with python 2.5 and thus unneeded/in conflict.

But if the namespace is different, there's no file conflict and I don't
understand why we cared about not generating the module for python 2.5.

> python-pysqlite2, on the other hand/for example, still provides the
> modules for python 2.5 under the old name. elementtree could do this,
> or else the packages should be somehow checked, I guess?

Indeed. (I should read mails entirely before replying :))

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


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



Re: Bugs that'll block python 2.5

2008-04-15 Thread Matthias Klose
Raphael Hertzog writes:
> On Tue, 15 Apr 2008, Adeodato Sim

Vos traductions en toute simplicité

2008-04-15 Thread MisterBabel.com
Vous avez des soucis pour visualiser ce mail, cliquez ici ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=6E2AD9DA694861C400&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )   


  Faites facilement traduire vos brochures, votre site Internet, vos 
courriels en anglais, allemand, hollandais, ...

   u  Offre de lancement : 10 euros offerts ( #10euros )  pour l'achat de votre 
première carte ;
 u  Traduction sans devis : dès le premier mot, pas de minimum de facturation ;
 u  + de 2 000 traducteurs professionnels en ligne, directement ;
 u  Facilité de paiement : carte de traduction prépayée: 50, 150 ou 400€HT.

  9 bonnes raisons de choisir MISTERBABEL.com ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=48C597403BC36A4400&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )  :  

 1. Qualité  2. Réactivité   3. Juste prix  

Traducteurs professionnels rigoureusement sélectionnés 
Traduction uniquement vers leur langue maternelle 
Traducteurs signataires de notre charte de qualité  
Dépôt et traduction de vos textes en ligne  
Paiement au mot quel que soit le nombre de mots 
3 solutions pour répondre au mieux à vos besoins 
Budget maîtrisé   


en savoir plus... ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=D0E116C12E966C&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )  

en savoir plus... ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=48510CA24DDDBE7D00&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )  

en savoir plus... ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=AA211F7173E9399900&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )   


 4. Délais garantis  5. Pour vous6. Sécurité  

Livraison de vos traductions de moins de 500 mots en 24h maxi 
Satisfait ou remboursé et traduit   
Spécialiste des petites traductions et des traductions urgentes 
Traduction de brochures, de sites Internet, de courriels, ...   
Accès sécurisé à votre compte 
Transactions bancaires réalisées par la Caisse d'Epargne 
Traducteurs adhérents à notre contrat de confidentialité   


en savoir plus... ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=AB2F9F7B89687B1900&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )  

en savoir plus... ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=22D64679C39B377800&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )  

en savoir plus... ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=8B7B2817EE595DC600&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )   


 7. Langues  8. Simplicité   9. Accessibilité  

Plus de 20 langues disponibles 
De nouvelles combinaisons ajoutées chaque semaine 
A votre écoute pour vous proposer les langues dont vous avez besoin 
Plateforme et processus intuitifs 
Processus découpé étape par étape 
Assistance téléphonique si nécessaire   
Accessible partout sur Internet 
Dépôts possibles 24h/24, 7j/7 
Alerte par courriel et SMS   


en savoir plus... ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=CF57CF00FE3B793200&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )  

en savoir plus... ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=3C707246E73DF33D00&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )  

en savoir plus... ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=D130C9674728B43500&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )   

 Pour bénéficier des 10 euros offerts, utilisez le code promotionnel B2BSIM ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=847EA590E007ABD400&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )  au moment de l'achat de votre carte. Cette offre est valable jusqu'au 
31/05/2008.

 Toute l'équipe MISTERBABEL.com ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=F56305FCE002A1C500&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )  se tient à votre disposition au 0 892 70 12 42 (0,34€ la minute) pour 
répondre à l'ensemble de vos questions.  

Pour vous désinscrire cliquez ici ( 
http://t.message-business.com?ContactId=22A8BC0440B5E6D9C3816CDEB48E669600&LinkId=626E22EC40319BEF00&OprnId=97F1C61D890133D800&AcctId=1B124450E163433500
 )  



Re: Bugs that'll block python 2.5

2008-04-15 Thread Tristan Seligmann
* Raphael Hertzog <[EMAIL PROTECTED]> [2008-04-15 14:56:40 +0200]:

> On Tue, 15 Apr 2008, Adeodato Simó wrote:
> > * Josselin Mouette [Tue, 15 Apr 2008 12:28:00 +0200]:
> > > The solution is really simple, just add them to python’s Provides: list.
> > 
> > Plus, uhm, can't really be done for (c)elementtree, since python 2.5
> > provides the modules under a different name/namespace.
> 
> ?!
> 
> In that case it might be a good idea to build python-celementtree for
> python 2.5 as well... I haven't heard of technical incompatibility but
> just that it was bundled with python 2.5 and thus unneeded/in conflict.

Since elementtree/celementtree is still released as a standalone module,
a program or library might be using newer features that aren't available
in the stdlib version; this would be more complex to fix than just a
simple try/except ImportError.

> But if the namespace is different, there's no file conflict and I don't
> understand why we cared about not generating the module for python 2.5.

I'm not really sure either; it seems over-eager to get rid of the
standalone module, even if most software can be fairly easily fixed to
import the module from either location.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar


signature.asc
Description: Digital signature


Re: Bugs that'll block python 2.5

2008-04-15 Thread Tristan Seligmann
* Josselin Mouette <[EMAIL PROTECTED]> [2008-04-15 12:28:00 +0200]:

> On lun, 2008-04-14 at 22:57 +0200, Adeodato Simó wrote:
> > Finally, and quite importantly, there is what to do with modules that
> > have been added to the standard library in 2.5 (ctypes, celementtree,
> > wgsiref). These use either pycentral or pysupport, and since they mark
> > themselves as for python << 2.5 only, the dependency generated is on
> > python (<< 2.5), rendering them uninstallable.
> 
> The solution is really simple, just add them to python’s Provides: list.

I really don't think python2.5 should have Provides: python-celementtree,
as python2.5 and python-celementtree are not API-compatible due to the
modules being located in different places.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar


signature.asc
Description: Digital signature