Python 2.5 and the TiddlyWeb Universe

30 views
Skip to first unread message

chris...@gmail.com

unread,
May 21, 2013, 11:26:13 AM5/21/13
to tidd...@googlegroups.com

As with everything time moves on, dragging the world with in.

For a long time TiddlyWeb and its related plugins have maintained
support for Python 2.5. In the past few months this has become
increasingly difficult as the external packages upon which TiddlyWeb
depends have been dropping their own support of 2.5 in favor of
unified code bases that support Python 3.x and Python 2.y, where
y is >=6.

For the time being this difficulty is being managed by depending on
fixed older versions of packages which have already made the change.

This is not sustainable: eventually one of those packages will have a
bug or security fix that we want. Eventually we will have to upgrade.

And, too, we would like to upgrade. Dropping 2.5 support in the
tiddlyweb code will make it better across a variety of dimensions as
well as position it better for the day when it supports Python 3.

To that end:

* Are there people out running TiddlyWeb reliant on Python 2.5?
* What are your constraints preventing moving to a newer version?[1]

Once we can be reasonably confident that doing so isn't going to cause
havoc I would like to start the process of moving TiddlyWeb forward.

Thanks.

[1] Case in point. The tiddlyspace.com server was stuck on 2.5 for a
long time because we didn't have the time and wherewithal to adjust
the server, which was using a relatively old Linux distribution. When
the server crash happened, the Python was updated to 2.7.


--
Chris Dent http://burningchrome.com/
[...]

cdent

unread,
May 25, 2013, 1:23:57 PM5/25/13
to TiddlyWeb

Case in point, the just released version of Jinja2

https://pypi.python.org/pypi/Jinja2

doesn't appear to support Python 2.5, in order to be able to also
support Python 3.x off the same codebase.

Jinja2 is the underlying driver of tiddlywebplugins.templates.

cdent

unread,
Nov 5, 2013, 5:20:45 PM11/5/13
to tidd...@googlegroups.com
On Tuesday, May 21, 2013 4:26:13 PM UTC+1, cdent wrote:
To that end:

* Are there people out running TiddlyWeb reliant on Python 2.5?
* What are your constraints preventing moving to a newer version?[1]

Once we can be reasonably confident that doing so isn't going to cause
havoc I would like to start the process of moving TiddlyWeb forward.

I'll have to assume from the lack of response that people either aren't using 2.5 or there's not much interest in the general topic.

I've been working on this and now have a working branch[1] that works in Python 2.6, 2.7 and 3.3.

It does not work in Python 2.5  or less.

None of the internal APIs have changed so all plugins ought to continue working with it.

What I'd like to do is release this as TiddlyWeb 2.0.0 and then start migrating (or recreating) relevant plugins.

Any comments, objections volunteers to assist?

Reply all
Reply to author
Forward
0 new messages