Changes between Version 3 and Version 10 of Ticket #1658


Ignore:
Timestamp:
2012-03-16T17:44:50Z (12 years ago)
Author:
davidsarah
Comment:

sqlite bindings are in Python 2.5, and so is hashlib.sha256. When we've had buildslave failures for unsupported syntax, they've usually been for 2.4.x and not 2.5. So is the simplejson dependency the only reason to drop support for 2.5?

If so, note that the json module in the stdlib is not identical to simplejson. According to http://stackoverflow.com/questions/712791/json-and-simplejson-module-differences-in-python, the stdlib version is less frequently updated and slower (although I would be more concerned about security-relevant bugfixes than speed).

I agree we should definitely drop support for 2.4.x.

zooko wrote:

"oldest supported version of the operating system" is supposed to be the oldest release of the operating system that is supported *by the operating system distributors*, i.e. the oldest release of the operating system that still gets security patches.

Oh, ok, that wasn't at all obvious.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1658 – Description

    v3 v10  
    11Let's drop support for versions of Python < 2.6. According to distrowatch's tables about the versions of packages that come with distros, this would exclude Tahoe-LAFS 1.10 from being usable with the included Python on the following versions of major distros:
    22
    3 ||= distro =||= excluded version =||= excluded version release date =||= oldest supported version of the operating system =||= oldest supported release date =||= Python in oldest supported =||= notes =||= next version =||= Python in next version =||
     3||= distro =||= excluded version =||= excluded version release date =||= oldest supported[*] version =||= oldest supported[*] release date =||= Python in oldest supported[*] =||= notes =||= next version =||= Python in next version =||
    44||=[http://distrowatch.com/table.php?distribution=fedora Fedora]   =||=10  =||=2008-11-25 =||=15        =||=2011-05-24 =||=2.7 =||= =||=rawhide will be 17 =||=2.7.2 =||
    55|| [http://distrowatch.com/table.php?distribution=ubuntu Ubuntu]    || 8.10 || 2008-10-30  || 10.04 LTS  || 2010-04-29  || 2.6  || || will be 12.04 precise ||2.7.2 ||
     
    99
    1010Among other benefits, dropping support for Pythons older than 2.6 would allow us to remove the [source:git/src/allmydata/_auto_deps.py?annotate=blame&rev=76e7f0ad4b0d109a9a92e451ac9b3c9e8a827eb0#L15 dependency on simplejson] and the (complex imperatively decided) [source:git/src/allmydata/_auto_deps.py?annotate=blame&rev=76e7f0ad4b0d109a9a92e451ac9b3c9e8a827eb0#L92 dependency on pysqlite].
     11
     12[*] that is, the oldest OS version supported by the OS distributors and still receiving security patches.