Am 10. Januar 2020 00:20:03 MEZ schrieb Rick van der Zwet <i...@rickvanderzwet.nl>: >Hi Folks, > >Since python2 is EOL and scheduled to be removed from software >repositories >like Debian and FreeBSD, trac is also in danger of getting removed, >since >no Python 3 support is working yet. > >I could spend my time trying to change all my Trac instances to a >alternative, how-ever I decided to give a blunt-axe approach in >converting >the trunk code to be python 3 compatible (dropping support for python 2 >all >together). After 6 hours hacking on the codebase I got myself a 'hello >world' version of Trac on Python3. > >To reproduce this 'hello world' Trac on Python3: > > $ <<<apply patch against trunk r17226 (latest)>>> > > $ mkdir ~/tracenvs > $ rm -Rf ~/tracenvs/project1; PYTHONPATH=. python3 >./trac/admin/console.py ~/tracenvs/project1 initenv project1 >sqlite:db/trac.db >$ PYTHONPATH=. python3 ./trac/web/standalone.py -e ~/tracenvs -p 8000 > > $ curl http://127.0.0.1:8000/project1 > >I be happy to spend some more time on it, ironing out most issues and >making sure all test cases are working again. How-ever I do like to >make >sure this is the right way forward and/or I am not duplicating work. > >Kind regards, >Rick > > >-- >You received this message because you are subscribed to the Google >Groups "Trac Development" group. >To unsubscribe from this group and stop receiving emails from it, send >an email to trac-dev+unsubscr...@googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/trac-dev/40149025-10ea-4fa0-bb37-95049b88b509%40googlegroups.com.
IIRC Trac 1.5 dev releases shall prepare Trac 1.6 that will work with Phython3. Pushing Trac-hacks Trac plugin code in a broad sense is rather weak yet. Anyway, more developer ressources will help to make it happen in a convenient time. So please pick up corresponding discussions here, review Trac dev code and join collaborativ effort for Track plugins as much as you can. Thanks for asking! Sincerely, Steffen Hoffmann -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-dev/E7027E64-140C-44A5-B02B-E6829B8587CF%40web.de.