Hi all, I've started a python 3 branch of formencde in 2011 but didn't
have time to finish a complete port, you might still find it useful:

https://bitbucket.org/fetchinson/formencode-py3k

To be precise, this is still a python 2 branch, the goal was to have
something which can be fed into 2to3, at the current point there are
still 2 errors and 3 failures though when the output of 2to3 is
tested. This was my working cycle:



#!/bin/bash

rm -rf formencode-py3k-2to3.hg
cp -r formencode-py3k.hg formencode-py3k-2to3.hg
find formencode-py3k-2to3.hg -name .*.swp -exec rm {} ';'
/path/to/2to3 formencode-py3k-2to3.hg -w
cd formencode-py3k-2to3.hg
python3.2 -c "import nose;nose.run_exit()" > ../out 2>&1
cd ..
vim out

If I remember correctly all the errors are unicode related. In any
case I also think the best way is to have a single code base which
works with python 2 but which also translates smoothly by 2to3. So the
python 3 version can always be obtained by running 2to3 on the single
code base.

Hope you find it useful!
Daniel


On 12/8/14, Oleg Broytman <p...@phdru.name> wrote:
> On Mon, Dec 08, 2014 at 02:01:22AM +0100, Oleg Broytman <p...@phdru.name>
> wrote:
>> http://docs.travis-ci.com/user/installing-dependencies/
>
>    But that doesn't help: Travis runs Ubuntu 12.04 (see
> http://docs.travis-ci.com/user/ci-environment/) and it only has MySQL 5.5:
> http://packages.ubuntu.com/search?keywords=mysql&searchon=names&suite=precise&section=all
>
> Oleg.
> --
>      Oleg Broytman            http://phdru.name/            p...@phdru.name
>            Programmers don't die, they just GOSUB without RETURN.
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> sqlobject-discuss mailing list
> sqlobject-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss
>


-- 
Psss, psss, put it down! - http://www.cafepress.com/putitdown

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to