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

Re: `git p4` broken on machines which do not have python on path

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Feb 6, 2025, 22:18 UTC
Message-ID
<Z6U1GoGVA7IiPg3A@tapette.crustytoothpaste.net>
In-Reply-To
<CANF_+=7hM7QqLNE3d4=UO-8erYoeQwYG5SrsDTXtgqZq3AKJwg@mail.gmail.com>
On 2025-02-06 at 02:12:02, Kapil Somani wrote:
Show 9 quoted lines
> Thanks for quick response Brian
> 
> Yes, our team compiles git for use within our organization.
> I'll reach out to them and see if they can provide path during build.
> 
> Meanwhile, I was able to update copy of the git (compiled by my team) to
> use python3 on shebang line.
> It appears that the git-p4 is compatible with Python3. Is git team planning
> to update it near future?
It's my understanding that it's designed to work with both Python 2 and
3.  It's unlikely that the shebang will be updated until it's no longer
guaranteed to work with Python 2, since `python` is more generic than
`python3`.  When that is, I don't know, since I don't use Perforce and
don't maintain git-p4, which has a separate maintainer.
-- 
brian m. carlson (they/them or he/him)
Toronto, Ontario, CA
Previous: Illia BobyrNext: Junio C Hamano
Message 4 of 5 in “`git p4` broken on machines which do not have python on path”
  1. Kapil SomaniFeb 6, 2025
  2. brian m. carlsonFeb 6, 2025
  3. Illia BobyrFeb 6, 2025
  4. brian m. carlsonFeb 6, 2025
  5. Junio C HamanoFeb 6, 2025

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.