Mailing List Archive

Python 3 support in any Zope Toolkit version or fork
Hi all, I have a Python3 web application that I am considering porting
to Zope Toolkit. Currently I am handling all the web connections in
low-level Python. However, Python3 is a hard requirement. Are there
any Zope Toolkit versions or forks which are Python3 compatible? What
are the major stumbling blocks to porting, other than syntax?

I've googled the subject a bit but I've found no details on the
subject presented by anybody associated with the project.

Thank you!

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )
Re: Python 3 support in any Zope Toolkit version or fork [ In reply to ]
Hi,

Here is a link to the last (?) version of packages which are parts of Zope Toolkit : http://download.zope.org/zopetoolkit/index/2.0a1/ztk-versions.cfg
Maybe I'm wrong but I think they are compatible with Python 3.
But I don't know if this KGS is up to date, some packages always seem to be in alpha stage, and I don't think that zope.app packages (if needed) have already been ported...

Regards,
Thierry

________________________________________
De : Zope <zope-bounces@zope.org> de la part de Dotan Cohen <dotancohen@gmail.com>
Envoyé : mardi 12 novembre 2013 10:31
À : zope@zope.org
Objet : [Zope] Python 3 support in any Zope Toolkit version or fork

Hi all, I have a Python3 web application that I am considering porting
to Zope Toolkit. Currently I am handling all the web connections in
low-level Python. However, Python3 is a hard requirement. Are there
any Zope Toolkit versions or forks which are Python3 compatible? What
are the major stumbling blocks to porting, other than syntax?

I've googled the subject a bit but I've found no details on the
subject presented by anybody associated with the project.

Thank you!

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )
Re: Python 3 support in any Zope Toolkit version or fork [ In reply to ]
Thanks. As I understand it, all the packages listed on that page would
have to be Python3 compatible for Zope Toolkit to be Python3
compatible, no?

I'll try to find the time to test each package listed there for
Python3 compatibility. At least that will have the secondary effect of
getting my more familiar with ZTK internals.

Thank you.

On Tue, Nov 12, 2013 at 11:39 AM, FLORAC, Thierry <thierry.florac@onf.fr> wrote:
> Hi,
>
> Here is a link to the last (?) version of packages which are parts of Zope Toolkit : http://download.zope.org/zopetoolkit/index/2.0a1/ztk-versions.cfg
> Maybe I'm wrong but I think they are compatible with Python 3.
> But I don't know if this KGS is up to date, some packages always seem to be in alpha stage, and I don't think that zope.app packages (if needed) have already been ported...
>
> Regards,
> Thierry
>
> ________________________________________
> De : Zope <zope-bounces@zope.org> de la part de Dotan Cohen <dotancohen@gmail.com>
> Envoyé : mardi 12 novembre 2013 10:31
> À : zope@zope.org
> Objet : [Zope] Python 3 support in any Zope Toolkit version or fork
>
> Hi all, I have a Python3 web application that I am considering porting
> to Zope Toolkit. Currently I am handling all the web connections in
> low-level Python. However, Python3 is a hard requirement. Are there
> any Zope Toolkit versions or forks which are Python3 compatible? What
> are the major stumbling blocks to porting, other than syntax?
>
> I've googled the subject a bit but I've found no details on the
> subject presented by anybody associated with the project.
>
> Thank you!
>
> --
> Dotan Cohen
>
> http://gibberish.co.il
> http://what-is-what.com
> _______________________________________________
> Zope maillist - Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )



--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )
Re: Python 3 support in any Zope Toolkit version or fork [ In reply to ]
> Thanks. As I understand it, all the packages listed on that page would
> have to be Python3 compatible for Zope Toolkit to be Python3
> compatible, no?

Yes, probably...

Regards,
Thierry
_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )
Re: Python 3 support in any Zope Toolkit version or fork [ In reply to ]
On Tue, Nov 12, 2013 at 4:09 PM, Stephan Richter
<stephan.richter@gmail.com> wrote:
> ZTK 2.0 aims at Python 3 compatibility. All relevant packages have been
> ported, but many are alpha releases, because they awaited a final ZODB 4.0
> release, which brought Python 3 support.
>
> Since ZODB 4.0 is now released, it is mostly a matter of releasing all
> packages as final.
>
> I have ported an entire app to Python 3 before, so I know the porting is
> pretty complete. For a full list of ported packages go here:
>
> http://zope3.pov.lt/py3/
>
> Regards,
> Stephan


Thank you Stephan. I intend to play around with Zope Toolkit 2 and
I'll report any issues that I come across.


--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )
Re: Python 3 support in any Zope Toolkit version or fork [ In reply to ]
On Tue, Nov 12, 2013 at 1:33 PM, FLORAC, Thierry <thierry.florac@onf.fr> wrote:
>> Thanks. As I understand it, all the packages listed on that page would
>> have to be Python3 compatible for Zope Toolkit to be Python3
>> compatible, no?

Not really, some packages don't work like Paste. I'm testing our app
on Py3 so I'm very interested by others experiences.


--
Sebastien Douche <sdouche@gmail.com>
Twitter: @sdouche / G+: +sdouche
_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )
Re: Python 3 support in any Zope Toolkit version or fork [ In reply to ]
On Tue, Nov 12, 2013 at 10:52 PM, Stephan Richter
<stephan.richter@gmail.com> wrote:
> Well, we replaced Paste by writing our own startup script, which was trivial.
> Note that PasteScript is ported. See zope.paste.

I tried zope.paste. Works great but how configure loggers (previously
in zope.conf)?

--
Sebastien Douche <sdouche@gmail.com>
Twitter: @sdouche / G+: +sdouche
_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )