Changeset 7008ffa in trunk


Ignore:
Timestamp:
2013-03-15T05:13:30Z (12 years ago)
Author:
David-Sarah Hopwood <david-sarah@…>
Branches:
master
Children:
427193d
Parents:
3bdd744
Message:

Require at least Python 2.6. fixes #1658

Signed-off-by: David-Sarah Hopwood <david-sarah@…>

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified bin/tahoe-script.template

    r3bdd744 r7008ffa  
    11#!/bin/false # You must specify a python interpreter.
    2 import sys; assert sys.version_info < (3,), ur"Tahoe-LAFS does not run under Python 3. Please use a version of Python between 2.5 and 2.7.x inclusive."
     2import sys; assert sys.version_info < (3,), ur"Tahoe-LAFS does not run under Python 3. Please use a version of Python between 2.6 and 2.7.x inclusive."
    33
    44import os, subprocess
  • TabularUnified setup.py

    r3bdd744 r7008ffa  
    11#! /usr/bin/env python
    22# -*- coding: utf-8 -*-
    3 import sys; assert sys.version_info < (3,), ur"Tahoe-LAFS does not run under Python 3. Please use a version of Python between 2.5 and 2.7.x inclusive."
     3import sys; assert sys.version_info < (3,), ur"Tahoe-LAFS does not run under Python 3. Please use a version of Python between 2.6 and 2.7.x inclusive."
    44
    55# Tahoe-LAFS -- secure, distributed storage grid
  • TabularUnified src/allmydata/__init__.py

    r3bdd744 r7008ffa  
    358358    errors = []
    359359
    360     # We require at least 2.5 on all platforms.
     360    # We require at least 2.6 on all platforms.
    361361    # (On Python 3, we'll have failed long before this point.)
    362     if sys.version_info < (2, 5):
     362    if sys.version_info < (2, 6):
    363363        try:
    364364            version_string = ".".join(map(str, sys.version_info))
    365365        except Exception:
    366366            version_string = repr(sys.version_info)
    367         errors.append("Tahoe-LAFS current requires Python v2.5 or greater (but less than v3), not %s"
     367        errors.append("Tahoe-LAFS currently requires Python v2.6 or greater (but less than v3), not %s"
    368368                      % (version_string,))
    369369
Note: See TracChangeset for help on using the changeset viewer.