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

[PATCH v2 0/3] Transition git-p4.py to support Python 3 only

From
Joel Holdsworth <jholdsworth@nvidia.com>
Date
Dec 10, 2021, 15:30 UTC
Message-ID
<20211210153101.35433-1-jholdsworth@nvidia.com>

The git-p4.py script currently implements code paths for both Python 2 and 3.

Python 2 was discontinued in 2020, and there is no longer any officially supported interpreter. Further development of git-p4.py will require would-be developers to test their changes with all supported dialects of the language. However, if there is no longer any supported runtime environment available, this places an unreasonable burden on the Git project to maintain support for an obselete dialect of the language.

The patch-set removes all Python 2-specific code paths.

This second revisision of the patch-set is more tightly focussed on the task of retiring Python 2, and excludes previously submitted patches that contain other tidy-ups and bug fixes.

Joel Holdsworth (3):
  git-p4: remove support for Python 2
  git-p4: eliminate decode_stream and encode_stream
  git-p4: add "Nvidia Corporation" to copyright header
 git-p4.py | 132 +++++++++++++++++++-----------------------------------
 1 file changed, 45 insertions(+), 87 deletions(-)
-- 
2.33.0
Next: Joel Holdsworth
Message 1 of 9 in “Transition git-p4.py to support Python 3 only”
  1. 0/3 Transition git-p4.py to support Python 3 onlyJoel Holdsworth, Dec 10, 2021
  2. 1/3 git-p4: remove support for Python 2Joel Holdsworth, Dec 10, 2021
  3. Andrew OakleyDec 12, 2021
  4. Ævar Arnfjörð BjarmasonDec 12, 2021
  5. 2/3 git-p4: eliminate decode_stream and encode_streamJoel Holdsworth, Dec 10, 2021
  6. 3/3 git-p4: add "Nvidia Corporation" to copyright headerJoel Holdsworth, Dec 10, 2021
  7. Luke DiamandDec 10, 2021
  8. Elijah NewrenDec 11, 2021
  9. brian m. carlsonDec 13, 2021

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.