threads / discuss / 4377

A test failing with python 2.2 -- ok?

Subject: A test failing with python 2.2 -- ok?

## tl;dr

3 messages between Jun 3, 2006 and Jun 3, 2006.

replies: 2people: 3as markdown or json

Geoff Russell· Jun 3, 2006, 06:48 UTC · lore
Hi,

I'm not sure how far back you are supporting, but I'm running a python 2.2 machine and make test fails with a missing python module. Whatever criss-cross merges are, I don't need them, but figured if you were intending to support older environments, then you may be interested.

Cheers, Geoff Russell

$ git --version
    git version 1.3.3.g61ef-dirty
$ make test

*** t6021-merge-criss-cross.sh *** ....

Traceback (most recent call last):
  File "/usr/local/LINUX/GIT/git/t/../git-merge-recursive", line 10, in ?
    from heapq import heappush, heappop
ImportError: No module named heapq
-------------------------------------------------------
Sean· Jun 3, 2006, 07:12 UTC · re: Geoff Russell · lore

Re: A test failing with python 2.2 -- ok?

On Sat, 3 Jun 2006 16:18:32 +0930 "Geoff Russell" <geoffrey.russell@gmail.com> wrote:

Show 5 quoted lines
> I'm not sure how far back you are supporting, but I'm running a python
> 2.2 machine
> and make test fails with a missing python module. Whatever criss-cross merges
> are, I don't need them, but figured if you were intending to support older
> environments, then you may be interested.
Hi Geoff,
You need Python version 2.3 or newer; from the INSTALL file:
       - "python" 2.3 or more recent; if you have 2.3, you may need
          to build with "make WITH_OWN_SUBPROCESS_PY=YesPlease".
Sean
Johannes Schindelin· Jun 3, 2006, 09:13 UTC · re: Geoff Russell · lore

Re: A test failing with python 2.2 -- ok?

Hi,
On Sat, 3 Jun 2006, Geoff Russell wrote:
> I'm not sure how far back you are supporting, but I'm running a python 
> 2.2 machine and make test fails with a missing python module. Whatever 
> criss-cross merges are, I don't need them, but figured if you were 
> intending to support older environments, then you may be interested.

Python 2.2 is too old, even if you import some missing modules. But you can always set "NO_PYTHON=YesPlease" in config.mak.

Hth, Dscho

← back to recent threads