I am porting my library for odt templating to python 3 and genshi is
one of its dependencies.
Now I am wondering what is the current status of python 3 support for
genshi. I saw here:
http://groups.google.com/group/genshi/browse_thread/thread/57f239b1a6f5c202
that the support was ready for inclusion but it seems to have never
happened. What is the status of this ?
--
(°> Nicolas Évrard
( ) Liège
`¯
On Thu, Nov 17, 2011 at 4:24 PM, Nicolas Évrard <ni...@no-log.org> wrote:
> Now I am wondering what is the current status of python 3 support for
> genshi. I saw here:
>
>
> http://groups.google.com/group/genshi/browse_thread/thread/57f239b1a6f5c202
>
> that the support was ready for inclusion but it seems to have never
> happened. What is the status of this ?
It was merged into trunk. :)
Genshi trunk supports Python 3 -- if you find any bugs, please report them.
Schiavo
Simon
--
You received this message because you are subscribed to the Google Groups "Genshi" group.
To post to this group, send email to gen...@googlegroups.com.
To unsubscribe from this group, send email to genshi+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/genshi?hl=en.
Genshi 0.6 is Python 2 only. Genshi 0.7 (yet to be released) will be
the first released version to support Python 3.
Schiavo
Simon
Schiavo
Simon
Hello,
>> Now I am wondering what is the current status of python 3 support for
>> genshi. I saw here:
>>
>>
>> http://groups.google.com/group/genshi/browse_thread/thread/57f239b1a6f5c202
>>
>> that the support was ready for inclusion but it seems to have never
>> happened. What is the status of this ?
>
>It was merged into trunk. :)
I missed the commit in my search, sorry for the noise.
>Genshi trunk supports Python 3 -- if you find any bugs, please report them.
I will thanks.
I'm assuming you ran 'setup.py develop', like I did before
encountering the exact same problem.
Unfortunately, Genshi only supports Python 3 via 2to3, and 'setup.py
develop' only places a .egg-link file, it doesn't run 2to3 on the
code.
The solution is to use 'setup.py install' instead, which does cause
2to3 to be run.
I've been meaning to cut a release for some time -- I really just need
to set an evening aside and do it. :?
Schiavo
Simon
I have arbitrarily declared the 28th as Genshi release day.
Build places the results of 2to3 in the (depths of the) build folder.
Is that in your PYTHONPATH or similar or are you perhaps attempting to
import the Python 2 version of the code that is in the top of your
checkout?
Schiavo
Simon
chdir out of there. It's importing the untranslated genshi, because the
current directory comes first in sys.path.
SR
--
Stefano Rivera
http://tumbleweed.org.za/
H: +27 21 465 6908 C: +27 72 419 8559 UCT: x3127