Skip to content

Transition git-p4.py to support Python 3 only

Joel Holdsworth git 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesIn review
  2. v16 patches 24 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3git-p4: remove support for Python 2git-p4.py+29 -612 replies
2/3git-p4: eliminate decode_stream and encode_streamgit-p4.py+19 -300 replies
3/3git-p4: add "Nvidia Corporation" to copyright headergit-p4.py+1 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.33.0