Re: [Half-OT] Plone and: Re: python 2.6 deb for lenny ?

2010-07-16 Thread Toni Mueller

Hi,

On Thu, 15.07.2010 at 16:50:02 -0400, Michael Mulich mr...@psu.edu wrote:
 So I'm fairly stuck at this point, but I'm not giving up. I'm going
 to package plone no matter how many times it kicks me in the head
 (or at least until brain damage ensues). Any one else feel like
 joining me? :)

I didn't read your other emails so far, but Plone imho *is* a bit too
dynamic for Debian's packaging system, at least, if you, like me, need
to deploy it in a hosting environment.

Therefore, I'm doing the whole Plone stuff outside of Debian's
packaging, BUT I'd like to see Debian provide a good platform to run
Plone on, which is, also imho, currently not the case.

I feel like working on that issue, but not on trying to package Plone.

-- 
Kind regards,
--Toni++


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100716080423.28222.qm...@oak.oeko.net



Re: [Half-OT] Plone and: Re: python 2.6 deb for lenny ?

2010-07-15 Thread Michael Mulich



On 6/24/10 12:58 AM, Fabio Tranchitella wrote:

IMHO, the real mess is Plone itself: it can be a great platform, but it is
a nightmare to deploy and maintain.


I couldn't agree more.

I sent a message to the pkg-zope-developers mailing list yesterday about 
packaging zope2.12 and plone4.[0] This so far has resulting in the 
suggestion to use z3c.recipe.debian, which is a buildout recipe for 
creating a debian package out of a buildout. And as I explained in a 
followup to that email.[1] A summary of that message: Plone is not a 
fixed application and therefore packaging a buildout will likely cause 
me pain in the long run.


I won't use buildout in production *period*. I experimented with using 
pip to help in building a packaged version of Plone. That failed because 
of zope.configuration. You can see my thread for further details.[2]


So I'm fairly stuck at this point, but I'm not giving up. I'm going to 
package plone no matter how many times it kicks me in the head (or at 
least until brain damage ensues). Any one else feel like joining me? :)


[0] 
http://lists.alioth.debian.org/pipermail/pkg-zope-developers/2010-July/006426.html
[1] 
http://lists.alioth.debian.org/pipermail/pkg-zope-developers/2010-July/006440.html
[2] 
http://sourceforge.net/mailarchive/message.php?msg_name=4C3C5AA0.2090806%40psu.edu


-Michael Mulich (pumazi)


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c3f747a.4090...@psu.edu



Re: python 2.6 deb for lenny ?

2010-06-28 Thread Fabio Tranchitella
* 2010-06-25 19:20, Toni Mueller wrote:
 The only thing I had to change was to set the libdb-dev dependency from
 4.8 to 4.7, but then, I only compiled on my workstation, which might be
 infected with other backports already.
 
 If you want to make it more official, please step in and tell me what
 your changes are. ;)

I did the same change on my build (although, I did it with an older version
of python2.6).

Best regards,
Fabio


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100628084336.gd17...@mail.tranchitella.eu



Re: python 2.6 deb for lenny ?

2010-06-25 Thread Toni Mueller

Hi,

On Wed, 21.04.2010 at 06:46:27 +0200, Fabio Tranchitella 
fa...@tranchitella.eu wrote:
 I'm definitely interested in co-maintaining the backport (and using my own
 backport in production already). I'll have a look at the packages from
 Toni, and see the difference with my own backport.

FWIW, I've just updated to 2.6.5. See
http://people.debian.org/~toni/python2.6/.

The only thing I had to change was to set the libdb-dev dependency from
4.8 to 4.7, but then, I only compiled on my workstation, which might be
infected with other backports already.

If you want to make it more official, please step in and tell me what
your changes are. ;)


Kind regards,
--Toni++


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100625171911.1280.qm...@oak.oeko.net



Re: python 2.6 deb for lenny ?

2010-06-25 Thread Paul Wise
On Sat, Jun 26, 2010 at 1:19 AM, Toni Mueller t...@debian.org wrote:

 FWIW, I've just updated to 2.6.5. See
 http://people.debian.org/~toni/python2.6/.

 The only thing I had to change was to set the libdb-dev dependency from
 4.8 to 4.7, but then, I only compiled on my workstation, which might be
 infected with other backports already.

I used libdb4.5-dev since that is what python2.5 uses in lenny.

 If you want to make it more official, please step in and tell me what
 your changes are. ;)

I recently did a python2.6 backport and I also had to do these:

Version the python-sphinx build-dep to use the version in lenny-backports.

Install the version of python-central from squeeze.

The software I wanted to run under python2.6 needed some C-based
modules so I had to install the versions of those from testing since I
was too lazy to rebuild them all.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimobmur52ien5-vumqmsehb4ac2xsqcbddwm...@mail.gmail.com



[Half-OT] Plone and: Re: python 2.6 deb for lenny ?

2010-06-23 Thread Toni Mueller
Hi,

On Wed, 21.04.2010 at 06:46:27 +0200, Fabio Tranchitella 
fa...@tranchitella.eu wrote:
 * 2010-04-21 01:17, Bernd Zeimetz wrote:
  I think Fabio (kob...@d.o) also wanted to / is working on a backport,
  might make sense to co-maintain that with him. CCed him :)
 
 I'm definitely interested in co-maintaining the backport (and using my own
 backport in production already). I'll have a look at the packages from
 Toni, and see the difference with my own backport.

well... I'm currently trying to create packages for Python 2.6.5 (bpo),
and would really like to get some help with using them.

As you know, I'm a Plone user, and I am a bit stumped as to how to
create a clean virtualenv using python2.6 w/o disrupting the rest of
the system...

Some of you recommended using the Unified Installer, which I have quite
mixed results with. I recently talked to a number of Zope and Plone
experts, who uninanimously recommended to stay clear of the UI. So I'm
back to square one, but I'd still like to use a system Python instead
of a fully-local Python under eg. /usr/local.


Kind regards,
--Toni++


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100623170544.22732.qm...@oak.oeko.net



Re: [Half-OT] Plone and: Re: python 2.6 deb for lenny ?

2010-06-23 Thread Fabio Tranchitella
* 2010-06-23 19:34, Toni Mueller wrote:
 Some of you recommended using the Unified Installer, which I have quite
 mixed results with. I recently talked to a number of Zope and Plone
 experts, who uninanimously recommended to stay clear of the UI. So I'm
 back to square one, but I'd still like to use a system Python instead
 of a fully-local Python under eg. /usr/local.

I personally use the unified installer with the system-wide python, using
--with-python; if you have system-wide python packages you don't want to
expose to the UI, you can use virtenv.

Best regards,
Fabio


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100623174904.gf30...@mail.tranchitella.eu



Re: [Half-OT] Plone and: Re: python 2.6 deb for lenny ?

2010-06-23 Thread Toni Mueller

Hi,

On Wed, 23.06.2010 at 19:49:04 +0200, Fabio Tranchitella 
fa...@tranchitella.eu wrote:
 I personally use the unified installer with the system-wide python, using
 --with-python; if you have system-wide python packages you don't want to
 expose to the UI, you can use virtenv.

well... that's a near miss.

Maybe.

I have a number of problems with the Unified Installer that I see no
easy way to avoid, one of them being that I want to create independent
buildouts from one Plone installation, and one being that we're more
than one person developing several projects together/alternatingly, off
the same Plone installation (I don't want subtle differences, and nor
do I want much code duplication to take care of), and one being that it
is surprisingly hard to convince an installation that began as a
system-wide zeo installation, to run without trying to assert special
user privileges, or outside the precompiled directories. Last but not
least, it works fine on one machine, but totally breaks on another
machine which is otherwise quite similar - NOT really
trust-inspiring...

Short story: I want to abandon the UI as soon as possible.


Kind regards,
--Toni++


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100623191557.30638.qm...@oak.oeko.net



Re: [Half-OT] Plone and: Re: python 2.6 deb for lenny ?

2010-06-23 Thread Fabio Tranchitella
* 2010-06-23 21:17, Toni Mueller wrote:
 Short story: I want to abandon the UI as soon as possible.

Me too, TBH. But.. sorry, there is either plan buildout, or UI (which
produces a buildout-ready environment). Everything else (eg. debian
packages) has been labeled messy, unstable, old from the developers
themselves.

IMHO, the real mess is Plone itself: it can be a great platform, but it is
a nightmare to deploy and maintain.

Best regards,
Fabio


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100624045830.gg30...@mail.tranchitella.eu



Re: python 2.6 deb for lenny ?

2010-04-20 Thread Bernd Zeimetz
On 04/01/2010 10:27 AM, Toni Mueller wrote:

 I'm sorry to say that I forgot to upload my semi-broken attempts - just
 fixed it - maybe they still provide a useful starting point:
 
 http://people.debian.org/~toni/python2.6/
 
 
 Please send feedback my way!

I think Fabio (kob...@d.o) also wanted to / is working on a backport, might make
sense to co-maintain that with him. CCed him :)

-- 
 Bernd ZeimetzDebian GNU/Linux Developer
 http://bzed.dehttp://www.debian.org
 GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
   ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bce35ea.6070...@bzed.de



Re: python 2.6 deb for lenny ?

2010-04-20 Thread Fabio Tranchitella
* 2010-04-21 01:17, Bernd Zeimetz wrote:
 I think Fabio (kob...@d.o) also wanted to / is working on a backport,
 might make sense to co-maintain that with him. CCed him :)

I'm definitely interested in co-maintaining the backport (and using my own
backport in production already). I'll have a look at the packages from
Toni, and see the difference with my own backport.

Best regards.

Fabio


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100421044627.gf2...@mail.tranchitella.eu



Re: python 2.6 deb for lenny ?

2010-04-01 Thread Toni Mueller

Hi,

On Tue, 30.03.2010 at 18:51:48 +0200, Sandro Tosi mo...@debian.org wrote:
 On Tue, Mar 30, 2010 at 17:00, Hermann Lauer
 hermann.la...@iwr.uni-heidelberg.de wrote:
  probably this is not the right place, but knows anybody of
  a way to build .deb packacks for python 2.6 on lenny ?
 
 The usually right move would be to write to the package maintainer.
 But given Python maintainer doesn't talk to anybody, you did the right
 choice and contacted us.
 
  Installing 2.6 from testing fails after unpackaging in the scripts
 
 if you can cutpaste the error would be better.
 
  and compiling the deb-source from testing fails in the documentation
  with sphinx errors (see below. similar errors with lennys sphinx 
  deinstalled,
  which 0.4 is said to bee to old)
 
 you should backport also python-sphinx from testing/unstable to lenny,
 maybe also python-docutils.

I'm sorry to say that I forgot to upload my semi-broken attempts - just
fixed it - maybe they still provide a useful starting point:

 http://people.debian.org/~toni/python2.6/


Please send feedback my way!


-- 
Kind regards,
--Toni++


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100401082739.7275.qm...@oak.oeko.net



python 2.6 deb for lenny ?

2010-03-30 Thread Hermann Lauer
Dear pythonists on debian,

probably this is not the right place, but knows anybody of
a way to build .deb packacks for python 2.6 on lenny ?

Installing 2.6 from testing fails after unpackaging in the scripts
and compiling the deb-source from testing fails in the documentation
with sphinx errors (see below. similar errors with lennys sphinx deinstalled,
which 0.4 is said to bee to old)

Thanks for any hints,

  Hermann

---
touch stamp-install
dh_testdir
/usr/bin/make -C Doc html
make[1]: Entering directory `/home/FTP/debian/python/python2.6-2.6.4/Doc'
mkdir -p build/html build/doctrees
python tools/sphinx-build.py -b html -d build/doctrees -D latex_paper_size=  . 
build/html 
Exception occurred:
  File /usr/lib/python2.5/site-packages/sphinx/application.py, line 122, in 
setup_extension
raise ExtensionError('Could not import extension %s' % extension, err)
ExtensionError: Could not import extension pyspecific (exception: No module 
named writers.html)
The full traceback has been saved in /tmp/sphinx-err-6sC9Hj.log, if you want to 
report the issue to the author.
Please also report this if it was a user error, so that a better error message 
can be provided next time.
Send reports to sphinx-...@googlegroups.com. Thanks!
make[1]: *** [build] Error 1
make[1]: Leaving directory `/home/FTP/debian/python/python2.6-2.6.4/Doc'
make: *** [stamp-doc-html] Error 2
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 
2

-- 
Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres 
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224
Email: hermann.la...@iwr.uni-heidelberg.de


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100330150029.gd9...@lemon.iwr.uni-heidelberg.de



Re: python 2.6 deb for lenny ?

2010-03-30 Thread Sandro Tosi
Hello Hermann,

On Tue, Mar 30, 2010 at 17:00, Hermann Lauer
hermann.la...@iwr.uni-heidelberg.de wrote:
 Dear pythonists on debian,

 probably this is not the right place, but knows anybody of
 a way to build .deb packacks for python 2.6 on lenny ?

The usually right move would be to write to the package maintainer.
But given Python maintainer doesn't talk to anybody, you did the right
choice and contacted us.

 Installing 2.6 from testing fails after unpackaging in the scripts

if you can cutpaste the error would be better.

 and compiling the deb-source from testing fails in the documentation
 with sphinx errors (see below. similar errors with lennys sphinx deinstalled,
 which 0.4 is said to bee to old)

you should backport also python-sphinx from testing/unstable to lenny,
maybe also python-docutils.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/8b2d7b4d1003300951u584107fdm6578be6933df2...@mail.gmail.com



Re: python 2.6 deb for lenny ?

2010-03-30 Thread Hermann Lauer
Hello Sandro,

On Tue, Mar 30, 2010 at 06:51:48PM +0200, Sandro Tosi wrote:
  Installing 2.6 from testing fails after unpackaging in the scripts
 
 if you can cutpaste the error would be better.

Please see below.

  and compiling the deb-source from testing fails in the documentation
  with sphinx errors (see below. similar errors with lennys sphinx 
  deinstalled,
  which 0.4 is said to bee to old)
 
 you should backport also python-sphinx from testing/unstable to lenny,
 maybe also python-docutils.

Ok, compiling with python-sphinx 0.6.3-1~bpo50+2 worked ! So the attached
build dependency patch has to be added. But the installation fails again
until I upgraded python-central to the testing version. So there are
more dependencies or a conflict to be added to python2.6-minimal.

Thanks for your quick help,
  Hermann

diff --git a/debian/control b/debian/control
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Hermann Lauer la...@uni-hd.de
 Build-Depends: debhelper (= 5), autoconf, libreadline-dev, libncursesw5-dev 
(= 5.3), tk8.4-dev, zlib1g-dev, blt-dev (= 2.4z), libssl-dev, sharutils, 
libbz2-dev, libbluetooth-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], 
locales [!armel !hppa !ia64 !mipsel], libsqlite3-dev, libffi-dev (= 3.0.5), 
mime-support, libgpm2 [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], netbase, 
lsb-release, bzip2, libdb4.5-dev
-Build-Depends-Indep: python-sphinx
+Build-Depends-Indep: python-sphinx ( 0.4.3)
 Build-Conflicts: tcl8.3-dev, tk8.3-dev, python2.6-xml, python-xml, libgdbm-dev
 XS-Python-Version: 2.6
 Standards-Version: 3.8.3


Selecting previously deselected package python2.6-minimal.
Unpacking python2.6-minimal (from .../python2.6-minimal_2.6.4-6_i386.deb) ...
Selecting previously deselected package python2.6.
Unpacking python2.6 (from .../python2.6_2.6.4-6_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up libreadline6 (6.1-1) ...
Setting up libdb4.7 (4.7.25-9) ...
Setting up libsqlite3-0 (3.6.23-1) ...
Setting up python2.6-minimal (2.6.4-6) ...
Linking and byte-compiling packages for runtime python2.6...
pycentral: pycentral rtinstall: installed runtime python2.6 not found
pycentral rtinstall: installed runtime python2.6 not found
dpkg: error processing python2.6-minimal (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python2.6:
 python2.6 depends on python2.6-minimal (= 2.6.4-6); however:
  Package python2.6-minimal is not configured yet.
dpkg: error processing python2.6 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python2.6-minimal
 python2.6
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up python2.6-minimal (2.6.4-6) ...
Linking and byte-compiling packages for runtime python2.6...
pycentral: pycentral rtinstall: installed runtime python2.6 not found
pycentral rtinstall: installed runtime python2.6 not found
dpkg: error processing python2.6-minimal (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python2.6:
 python2.6 depends on python2.6-minimal (= 2.6.4-6); however:
  Package python2.6-minimal is not configured yet.
dpkg: error processing python2.6 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python2.6-minimal
 python2.6

-- 
Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres 
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224
Email: hermann.la...@iwr.uni-heidelberg.de


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100330221904.ga9...@lemon.iwr.uni-heidelberg.de



Re: python 2.6 deb for lenny ?

2010-03-30 Thread Sandro Tosi
Hello Hermann,

On Wed, Mar 31, 2010 at 00:19, Hermann Lauer
hermann.la...@iwr.uni-heidelberg.de wrote:
  and compiling the deb-source from testing fails in the documentation
  with sphinx errors (see below. similar errors with lennys sphinx 
  deinstalled,
  which 0.4 is said to bee to old)

 you should backport also python-sphinx from testing/unstable to lenny,
 maybe also python-docutils.

 Ok, compiling with python-sphinx 0.6.3-1~bpo50+2 worked !

cool

 So the attached
 build dependency patch has to be added. But the installation fails again
 until I upgraded python-central to the testing version. So there are
 more dependencies or a conflict to be added to python2.6-minimal.

the people reading debian-python@lists.debian.org is not maintaining
python2.6 (it's a bit conter-intuitive but that's it ;) ) so you
should file a bug against python2.6 package so that the maintainer can
fix it (not sure if he will, tho ).

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/8b2d7b4d1003302219g5267b1cdr5d6f59f314725...@mail.gmail.com