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

Re: [PATCH] Third try at documenting command integration requirements.

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Nov 27, 2012, 11:49 UTC
Message-ID
<50B4A8E1.7050801@alum.mit.edu>
In-Reply-To
<20121126214134.GA1713@thyrsus.com>
On 11/26/2012 10:41 PM, Eric S. Raymond wrote:
Show 6 quoted lines
> The next things on my git to-do list are 
> [...]
> 2. Submit a doc patch containing guidelines that (a) Python scripts should
>    check for their floor version and error out gracefully if they won't
>    run with the host's interpreter, and (b) Python scripts sbould be
>    2.6-compatible.

OK, now let's discuss *which* minimum Python version that git should support in the hypothetical new world...

Data point: Mercurial supports Python 2.4 - 2.7 with the following explanation [1]:

    We will continue to support Python 2.4 as long as it doesn't
    present a significant barrier to development. Given that Python 2.5
    and later don't contain any features that we're dying to use, that
    may be a long time off. [...]
    We also will continue to support Python 2.x as long as there is a
    significant installed base in the form of Red Hat Enterprise Linux
    and Ubuntu LTS users. RHEL 5, which uses Python 2.4, will reach the
    end of the "production 2" portion of its lifecycle in Q1 2014 and
    the end of its regular lifecycle in 2017.

It would be a shame to leave RHEL 5 users behind if Python is used to implement important git functionality. Python 2.4 is missing some of Python's shiny new features, but still quite OK. What features would you miss the most if we were to target Python 2.4 instead of 2.6?

Michael
[1] http://mercurial.selenic.com/wiki/SupportedPythonVersions
-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/
Previous: Eric S. RaymondNext: Eric S. Raymond
Message 5 of 10 in “Third try at documenting command integration requirements.”
  1. Third try at documenting command integration requirements.Eric S. Raymond, Nov 26, 2012
  2. Perry HutchisonNov 26, 2012
  3. Junio C HamanoNov 26, 2012
  4. Eric S. RaymondNov 26, 2012
  5. Michael HaggertyNov 27, 2012
  6. Eric S. RaymondNov 27, 2012
  7. Junio C HamanoNov 28, 2012
  8. Eric S. RaymondNov 28, 2012
  9. Junio C HamanoNov 26, 2012
  10. Eric S. RaymondNov 26, 2012

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.