INSTALL specifies wrong minimum Python version
Bug #1044043 reported by
Samuel Bronson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
In Progress
|
Medium
|
Samuel Bronson |
Bug Description
In lp:bzr/2.4 and later, INSTALL says that bzr requires Python2.4 and cElementTree, when in fact these versions of bzr require at least Python 2.6 (which bundles cElementTree).
Related branches
lp:~naesten/bzr/1044043-2.4-needs-python2.6
- Martin Packman (community): Approve
-
Diff: 75 lines (+7/-19)4 files modifiedINSTALL (+1/-3)
doc/developers/code-style.txt (+3/-12)
doc/en/admin-guide/introduction.txt (+2/-3)
doc/en/user-guide/installing_bazaar.txt (+1/-1)
tags: |
added: doc removed: documentation |
Changed in bzr: | |
assignee: | nobody → Samuel Bronson (naesten) |
importance: | Undecided → Medium |
status: | New → In Progress |
To post a comment you must log in.
There are other files that do this, too, such as doc/en/ admin-guide/ introduction. txt; take a look at the results of this highly scientific grep:
bzr ls -RV0 | xargs -0 grep -nH -e 'python.*2\.[0-5]' -i __init_ _.py:52: # Python version 2.0 is (2, 0, 0, 'final', 0)." Additionally we use a _btree_ serializer_ pyx.pyx: 20:#python2. 4 support _chk_map_ pyx.pyx: 18:#python2. 4 support _chunks_ to_lines_ pyx.pyx: 20:#python2. 4 support _dirstate_ helpers_ pyx.pyx: 43:#python2. 4 support, and other platform-dependent includes _dirstate_ helpers_ pyx.pyx: 1616: # on win32, python2.4 has e.errno == ERROR_DIRECTORY, but _dirstate_ helpers_ pyx.pyx: 1617: # python 2.5 has e.errno == EINVAL, _export_ c_api.h: 48: /* (char *) is because python2.4 declares this api as 'char *' rather than _groupcompress_ pyx.pyx: 19:#python2. 4 support _import_ c_api.h: 50: /* (char *) because Python2.4 defines this as (char *) rather than _patiencediff_ py.py:233: # jam 20060525 This is the python 2.4.1 difflib get_matching_blocks _readdir_ pyx.pyx: 23:#python2. 4 support _rio_pyx. pyx:19: #python2. 4 support _walkdirs_ win32.pyx: 88: # We can't just declare this as 'readonly' because python2.4 doesn't define cethread. py:44: # compatibility thunk for python-2.4 and python-2.5... cleanup. py:163: # As correct as Python 2.4 allows. commands. py:841: # for python 2.5 and later, optparse raises this exception if a non-ascii dirstate. py:3943: # on win32, python2.4 has e.errno == ERROR_DIRECTORY, but dirstate. py:3944: # python 2.5 has e.errno == EINVAL, errors. py:181: # exceptions are old-style classes in python2.4 (but new in 2.5). errors. py:721: # Python 2.4 have to be old-style classes so properties don't work. errors. py:3069: # nb: in python2.4 socket.error doesn't have a useful repr fifo_cache. py:43: # Python2.5's has deque.remove, but Python2.4 does not intset. py:194: File "/usr/lib/ python2. 4/doctest. py", line 1243, in __run library_ state.py: 53: BzrLibraryState implements the Python 2.5 Context Manager protocol osutils. py:289: # In Python 2.4.2 and older, os.path.abspath and os.path.realpath osutils. py:915: # Python 2.4 and later have os.urandom, osutils. py:1181: os.path. commonprefix (python2.4) has a bad bug that it works just osutils. py:1642: 2) Windows, Python2.4, uses errno == ERROR_DIRECTORY (267) osutils. py:1644: 3) Windows, Python2.5 uses errno == EINVAL and plugins/ launchpad/ lp_registration .py:57: # In python2.4 xmlrpclib.Transport is a old-style class, and does not plugins/ launchpad/ test_register. py:102: # Python 2.5's xmlrpclib looks for this. pyutils. py:71:# +SKIP is not recognized by python2.4 remote. py:3250: A replacement for extractall, which is not presen...
INSTALL:7:bzr requires Python2.4 and cElementTree:
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/diff.py:88: # Special workaround for Python2.3, where difflib fails if
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/