FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 02-18-2009, 12:23 AM
Piotr O┼╝arowski
 
Default Python related changes for unstable/squeeze

[Josselin Mouette, 2009-02-18]
> Le mercredi 18 f├ęvrier 2009 ├* 01:20 +0100, Piotr O┼╝arowski a ├ęcrit :
> > > where is the advantage of having a /usr/lib/pyshared?
> >
> > it's one of the "sacrifices" you'll have to make if you want
> > /usr/share/py{,3}shared to be used by other tool(s). I see no way to use
> > Python's official path in pysupport in its current design.
> > Sure, pysupport is not perfect. Using /var/ for bytecompiled stuff is
> > probably the worst of it's bugs, but maintainer is aware of this and
> > will most probably fix it during the move to
> > /usr/{share,lib}/py{,3}shared - and I have a reasons to believe that
> > he'll use this path if you decide to use /usr/lib/py{3,}shared (I'll
> > convince him, leave it to me
>
> It seems that there is one thing you got wrong here. /usr/lib/pyshared
> will be for C extensions and data that varies from a Python version to
> another (like /usr/lib/python-support/$package currently). It is not the
> place where the symlinks and byte-compiled files will land after running
> the script.

that's exactly what I meant, /usr/lib/py{3,}shared will be equivalent of
/usr/share/py{,3}shared but for Python extensions, sorry if I sounded
differently

> Actually, itÔÇÖs just that the supported list in python-support is
> maintained separately from that of python-defaults. The reason is that
> the pyversions script cannot be reliably used from maintainer scripts.
> See #396840 for part of the explanation.

oh, w wishlist bug then maybe (to be able to add local version, like
python2.6)

--
-=[ Piotr O┼╝arowski ]=-
-=[ http://www.ozarowski.pl ]=-
 
Old 02-18-2009, 12:29 AM
Piotr O┼╝arowski
 
Default Python related changes for unstable/squeeze

[Piotr O┼╝arowski, 2009-02-18]
> that's exactly what I meant, /usr/lib/py{3,}shared will be equivalent of
> /usr/share/py{,3}shared but for Python extensions, sorry if I sounded
> differently

and by that I mean /usr/lib/py{3,}shared/python2.5,
/usr/lib/py{3,}shared/python2.6 and so on (including .py files that are
not suitable for /usr/share/py{3,}shared)

/me really goes to bed
--
-=[ Piotr O┼╝arowski ]=-
-=[ http://www.ozarowski.pl ]=-
 
Old 02-18-2009, 12:36 AM
Josselin Mouette
 
Default Python related changes for unstable/squeeze

Le mercredi 18 f├ęvrier 2009 ├* 02:23 +0100, Piotr O┼╝arowski a ├ęcrit :
> that's exactly what I meant, /usr/lib/py{3,}shared will be equivalent of
> /usr/share/py{,3}shared but for Python extensions, sorry if I sounded
> differently

OK, I misunderstood you then

Any comment on the module installation directory? Is /usr/lib/pymodules
fine for you?

--
.'`. Debian 5.0 "Lenny" has been released!
: :' :
`. `' Last night, Darth Vader came down from planet Vulcan and told
`- me that if you don't install Lenny, he'd melt your brain.
 
Old 02-18-2009, 12:39 AM
Ondrej Certik
 
Default Python related changes for unstable/squeeze

On Tue, Feb 17, 2009 at 10:34 AM, Josselin Mouette <joss@debian.org> wrote:
> Le mardi 17 fÚvrier 2009 Ó 10:09 -0800, Ondrej Certik a Úcrit :
>> Unfortunately from both of you I only met Matthias in person (in
>> Prague at the Ubuntu Developer Summit), but what I understood is that
>> there are some technical reasons why python-central is better.
>
> I'd be happy to hear these reasons; I'm always eager to improve
> python-support when there is room to.
>
> Currently I know one reason why you could consider python-central
> better: this is because it installs files at the same place the upstream
> packages do. This avoids breaking some (bad) packages' expectations. I
> have two remarks about this:
> * The python-support README has documented for long how to work
> around this problem if you encounter it (remember it concerns a
> handful of packages).
> * If python-support was the only tool to write files
> to /usr/lib/pythonX.Y/site-packages, there would be no problem
> with using this directory. However there are packages using
> python-central and packages shipping files directly there, so it
> is simply not possible without losing the advantages of
> python-support (like, not introducing 50 RC bugs every time
> something is changed).
>
> Besides, I could show you several reasons why python-support is
> superior, and at least one why python-central is broken.

I forgot already what those reasons were, Matthias told me in Prague
and they seemed reasonable to me. In fact, we were having a similar
flame discussion about python-central and python-support just before
the summit on this list and the result of which was (to me, as a
bystander) that python-support is clearly superior, so I asked
Matthias about it, and he provided some good arguments for
python-central. But these arguments should be put on the list and
things should get discussed and fixed.

Anyway, I think now it's Matthias' turn to come forward and also do a
few steps to get this discussed and eventually fixed.

Ondrej


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-18-2009, 03:16 AM
Paul Wise
 
Default Python related changes for unstable/squeeze

On Tue, Feb 17, 2009 at 6:03 AM, Piotr O┼╝arowski <piotr@debian.org> wrote:

> [Matthias Klose, 2009-02-16]
>> Besides the "normal" pending update of the python version for the
>> unstable distribution, there will be more changes around python
>> packaging, including the introduction of python-3.x and addressing
>> some packaging issues.

How do other distributions deal with these issues? Will the need for
special per-tool directories ever be obsoleted by upstream?

--
bye,
pabs

http://wiki.debian.org/PaulWise


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-18-2009, 05:51 AM
Michal Čihař
 
Default Python related changes for unstable/squeeze

Dne Wed, 18 Feb 2009 13:16:09 +0900
Paul Wise <pabs@debian.org> napsal(a):

> On Tue, Feb 17, 2009 at 6:03 AM, Piotr O┼╝arowski <piotr@debian.org> wrote:
>
> > [Matthias Klose, 2009-02-16]
> >> Besides the "normal" pending update of the python version for the
> >> unstable distribution, there will be more changes around python
> >> packaging, including the introduction of python-3.x and addressing
> >> some packaging issues.
>
> How do other distributions deal with these issues? Will the need for
> special per-tool directories ever be obsoleted by upstream?

I'm not sure if there is some other distribution, which support more
Python versions at similar level as Debian. SUSE and Fedora definitely
support only one Python version (with Zope usually being the
exception with minimal subset of modules).

--
Michal Čihař | http://cihar.com | http://blog.cihar.com
 

Thread Tools




All times are GMT. The time now is 10:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ę2007 - 2008, www.linux-archive.org