[tahoe-dev] tahoe vs python2.6 :-(

Brian Warner warner-tahoe at allmydata.com
Thu Oct 2 16:10:54 PDT 2008


Python2.6 was released today, and I just did some tests to see how
Tahoe fares against the new version. It doesn't fare well,
unfortunately. There are two places where we use 'as' as a variable
name, which are reserved words in 2.6 . In addition, the most recent
release of Nevow (0.9.31) does the same thing (with 'with'), so if
setuptools tries to download and install Nevow, the compile step will
fail.

I'm fixing the tahoe 'as' problems now, but I was disappointed to see
that there is no mention of these warnings on our 'feisty2.5' buildbot.
The Nevow 'with' warning shows up during the compile step, but the
tahoe 'as' warning doesn't appear anywhere. I believe the warnings are
only emitted when the .py is byte-compiled into a .pyc, but somehow
they are being suppressed by our 'test' step.

I'm still trying to figure out this fails-to-warn problem, because
obviously if we were aware of these warnings earlier, we'd have fixed
the problem long ago. I don't know what other warnings we might be
seeing.

In either case, I'll push the Tahoe fixes by the end of the day. We'll
have to wait for the Nevow folks to make a new release before Tahoe
will be easy_installable once more. (note that the fix has been in
Nevow's SVN for six months, they just haven't made a release since
then).

cheers,
 -Brian


More information about the tahoe-dev mailing list