git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[StGIT] Failure to install on RHELWS4

From
Petr Baudis <pasky@suse.cz>
Date
Jul 11, 2008, 17:03 UTC
Message-ID
<20080711170356.GF32184@machine.or.cz>
  Hi,
  I wanted to install latest HEAD of StGIT on a rather ancient-feeling
RHEL4, however, when doing python setup.py install, I'm getting
	  File "setup.py", line 31
	    pyver = '.'.join(str(n) for n in sys.version_info)
	                              ^
SyntaxError: invalid syntax

I don't really know python and the ^ is rather curiously-positioned, so I don't have much clue on what is going on. Python version is 2.3.4 - maybe that's too old, but I didn't find any word on the minimal Python version nowhere in the documentation.

-- 
				Petr "Pasky" Baudis
The last good thing written in C++ was the Pachelbel Canon. -- J. Olson
Next: Thomas Rast
Message 1 of 8 in “[StGIT] Failure to install on RHELWS4”
  1. Petr BaudisJul 11, 2008
  2. Thomas RastJul 11, 2008
  3. Miklos VajnaJul 11, 2008
  4. setup.py: fix error message when running with python-2.3Miklos Vajna, Jul 11, 2008
  5. setup.py: don't try to import stgit.run before the python version checkMiklos Vajna, Jul 11, 2008
  6. Karl HasselströmJul 16, 2008
  7. Karl HasselströmJul 12, 2008
  8. Catalin MarinasJul 11, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.