* merge-recursive: include heapq?
@ 2005-11-11 14:23 Johannes Schindelin
2005-11-11 18:52 ` Alex Riesen
0 siblings, 1 reply; 4+ messages in thread
From: Johannes Schindelin @ 2005-11-11 14:23 UTC (permalink / raw)
To: git
Hi,
I get this when pulling:
-- snip --
Traceback (most recent call last):
File "./git-merge-recursive", line 4, in ?
from heapq import heappush, heappop
ImportError: No module named heapq
-- snap --
Okay, my python is *old*:
$ python -V
Python 2.2.1
Is it worthwhile to include heapq as we did with subprocess? Or should I
upgrade...
Ciao,
Dscho
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: merge-recursive: include heapq?
2005-11-11 14:23 merge-recursive: include heapq? Johannes Schindelin
@ 2005-11-11 18:52 ` Alex Riesen
2005-11-11 19:09 ` Andrew Vasquez
2005-11-11 19:26 ` Junio C Hamano
0 siblings, 2 replies; 4+ messages in thread
From: Alex Riesen @ 2005-11-11 18:52 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git
Johannes Schindelin, Fri, Nov 11, 2005 15:23:04 +0100:
> I get this when pulling:
>
> -- snip --
> Traceback (most recent call last):
> File "./git-merge-recursive", line 4, in ?
> from heapq import heappush, heappop
> ImportError: No module named heapq
> -- snap --
>
> Okay, my python is *old*:
>
> $ python -V
> Python 2.2.1
>
> Is it worthwhile to include heapq as we did with subprocess? Or should I
> upgrade...
Trying really trivial in-index merge...
fatal: Merge requires file-level merging
Nope.
Traceback (most recent call last):
File "/home/raa/bin/git-merge-recursive", line 8, in ?
from gitMergeCommon import *
File "/home/raa/share/git-core/python/gitMergeCommon.py", line 14, in ?
import subprocess
ImportError: No module named subprocess
Automatic merge failed/prevented; fix up by hand
That said, I thought an upgrade was worth it and upgraded my 2.3 to 2.4 :)
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: merge-recursive: include heapq?
2005-11-11 18:52 ` Alex Riesen
@ 2005-11-11 19:09 ` Andrew Vasquez
2005-11-11 19:26 ` Junio C Hamano
1 sibling, 0 replies; 4+ messages in thread
From: Andrew Vasquez @ 2005-11-11 19:09 UTC (permalink / raw)
To: Alex Riesen; +Cc: Johannes Schindelin, git
On Fri, 11 Nov 2005, Alex Riesen wrote:
> Johannes Schindelin, Fri, Nov 11, 2005 15:23:04 +0100:
> > I get this when pulling:
> >
> > -- snip --
> > Traceback (most recent call last):
> > File "./git-merge-recursive", line 4, in ?
> > from heapq import heappush, heappop
> > ImportError: No module named heapq
> > -- snap --
> >
> > Okay, my python is *old*:
> >
> > $ python -V
> > Python 2.2.1
> >
> > Is it worthwhile to include heapq as we did with subprocess? Or should I
> > upgrade...
>
> Trying really trivial in-index merge...
> fatal: Merge requires file-level merging
> Nope.
> Traceback (most recent call last):
> File "/home/raa/bin/git-merge-recursive", line 8, in ?
> from gitMergeCommon import *
> File "/home/raa/share/git-core/python/gitMergeCommon.py", line 14, in ?
> import subprocess
> ImportError: No module named subprocess
> Automatic merge failed/prevented; fix up by hand
Had the same problem earlier today, building with
WITH_OWN_SUBPROCESS_PY fixed things up...
--
av
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: merge-recursive: include heapq?
2005-11-11 18:52 ` Alex Riesen
2005-11-11 19:09 ` Andrew Vasquez
@ 2005-11-11 19:26 ` Junio C Hamano
1 sibling, 0 replies; 4+ messages in thread
From: Junio C Hamano @ 2005-11-11 19:26 UTC (permalink / raw)
To: Alex Riesen; +Cc: git
Alex Riesen <raa.lkml@gmail.com> writes:
> Johannes Schindelin, Fri, Nov 11, 2005 15:23:04 +0100:
>> I get this when pulling:
>>...
>> Okay, my python is *old*:
>>
>> $ python -V
>> Python 2.2.1
>>
>> Is it worthwhile to include heapq as we did with subprocess? Or should I
>> upgrade...
>
> Trying really trivial in-index merge...
> fatal: Merge requires file-level merging
> Nope.
> Traceback (most recent call last):
> File "/home/raa/bin/git-merge-recursive", line 8, in ?
> from gitMergeCommon import *
> File "/home/raa/share/git-core/python/gitMergeCommon.py", line 14, in ?
> import subprocess
> ImportError: No module named subprocess
> Automatic merge failed/prevented; fix up by hand
>
> That said, I thought an upgrade was worth it and upgraded my 2.3 to 2.4 :)
Something like this is needed, I suppose...
-- >8 -- cut here -- >8 --
INSTALL: duplicate python requirements from Makefile
and refer the reader to Makefile for other things that can be
tweaked.
Signed-off-by: Junio C Hamano <junkio@cox.net>
---
git diff
diff --git a/INSTALL b/INSTALL
index 06b11e1..63ccf62 100644
--- a/INSTALL
+++ b/INSTALL
@@ -75,3 +75,15 @@ Issues of note:
history graphically
- "ssh" is used to push and pull over the net
+
+ - "perl" and POSIX-compliant shells are needed to use most of
+ the barebone Porcelainish scripts.
+
+ - "python" 2.3 or more recent; if you have 2.3, you may need
+ to build with "make WITH_OWN_SUBPROCESS_PY=YesPlease".
+
+ - Some platform specific issues are dealt with Makefile rules,
+ but depending on your specific installation, you may not
+ have all the libraries/tools needed, or you may have
+ necessary libraries at unusual locations. Please look at the
+ top of the Makefile to see what can be adjusted for your needs.
Compilation finished at Fri Nov 11 11:24:14
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-11-11 19:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-11 14:23 merge-recursive: include heapq? Johannes Schindelin
2005-11-11 18:52 ` Alex Riesen
2005-11-11 19:09 ` Andrew Vasquez
2005-11-11 19:26 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox