Be compatible with low Python versions and use distutils [catapult : main]

0 views
Skip to first unread message

John Chen (Gerrit)

unread,
Nov 12, 2025, 1:51:32 PM (16 hours ago) Nov 12
to 凯翔黄, Catapult LUCI CQ, Ho Cheung, Wenbin Zhang, Mikhail Khokhlov, AyeAye, catapult...@chromium.org, telemetr...@chromium.org
Attention needed from Ho Cheung, Mikhail Khokhlov, Wenbin Zhang and 凯翔黄

John Chen added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
John Chen . unresolved

Thanks for uploading this change. Could you elaborate on the specific Python version that needs `distutils` support? According to https://pypi.org/project/packaging/, `packaging` supports Python 3.8 and above. I'm surprised that there is still need to support older versions of Python. Thanks.

Open in Gerrit

Related details

Attention is currently required from:
  • Ho Cheung
  • Mikhail Khokhlov
  • Wenbin Zhang
  • 凯翔黄
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: catapult
Gerrit-Branch: main
Gerrit-Change-Id: Ia3210e514be653ae8a208741ad0f82fd3ace9421
Gerrit-Change-Number: 7144821
Gerrit-PatchSet: 2
Gerrit-Owner: 凯翔黄 <huangkaix...@bytedance.com>
Gerrit-Reviewer: Ho Cheung <hoch...@chromium.org>
Gerrit-Reviewer: John Chen <john...@chromium.org>
Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
Gerrit-Reviewer: Wenbin Zhang <wenbi...@google.com>
Gerrit-Attention: Wenbin Zhang <wenbi...@google.com>
Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
Gerrit-Attention: 凯翔黄 <huangkaix...@bytedance.com>
Gerrit-Attention: Ho Cheung <hoch...@chromium.org>
Gerrit-Comment-Date: Wed, 12 Nov 2025 18:51:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

凯翔黄 (Gerrit)

unread,
3:39 AM (2 hours ago) 3:39 AM
to Catapult LUCI CQ, Ho Cheung, John Chen, Wenbin Zhang, Mikhail Khokhlov, AyeAye, catapult...@chromium.org, telemetr...@chromium.org
Attention needed from Ho Cheung, John Chen, Mikhail Khokhlov and Wenbin Zhang

凯翔黄 added 1 comment

Patchset-level comments
John Chen . unresolved

Thanks for uploading this change. Could you elaborate on the specific Python version that needs `distutils` support? According to https://pypi.org/project/packaging/, `packaging` supports Python 3.8 and above. I'm surprised that there is still need to support older versions of Python. Thanks.

凯翔黄

I think for users who encounter this issue, it may not necessarily be that their Python version is too low to support packing, but rather that they haven't installed packing.

Open in Gerrit

Related details

Attention is currently required from:
  • Ho Cheung
  • John Chen
  • Mikhail Khokhlov
  • Wenbin Zhang
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: catapult
Gerrit-Branch: main
Gerrit-Change-Id: Ia3210e514be653ae8a208741ad0f82fd3ace9421
Gerrit-Change-Number: 7144821
Gerrit-PatchSet: 2
Gerrit-Owner: 凯翔黄 <huangkaix...@bytedance.com>
Gerrit-Reviewer: Ho Cheung <hoch...@chromium.org>
Gerrit-Reviewer: John Chen <john...@chromium.org>
Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
Gerrit-Reviewer: Wenbin Zhang <wenbi...@google.com>
Gerrit-Attention: John Chen <john...@chromium.org>
Gerrit-Attention: Wenbin Zhang <wenbi...@google.com>
Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
Gerrit-Attention: Ho Cheung <hoch...@chromium.org>
Gerrit-Comment-Date: Thu, 13 Nov 2025 08:39:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: John Chen <john...@chromium.org>
unsatisfied_requirement
open
diffy

Björn Terelius (Gerrit)

unread,
4:39 AM (1 hour ago) 4:39 AM
to 凯翔黄, Catapult LUCI CQ, Ho Cheung, John Chen, Wenbin Zhang, Mikhail Khokhlov, AyeAye, catapult...@chromium.org, telemetr...@chromium.org
Attention needed from Ho Cheung, John Chen, Mikhail Khokhlov, Wenbin Zhang and 凯翔黄

Björn Terelius added 1 comment

Patchset-level comments
John Chen . unresolved

Thanks for uploading this change. Could you elaborate on the specific Python version that needs `distutils` support? According to https://pypi.org/project/packaging/, `packaging` supports Python 3.8 and above. I'm surprised that there is still need to support older versions of Python. Thanks.

凯翔黄

I think for users who encounter this issue, it may not necessarily be that their Python version is too low to support packing, but rather that they haven't installed packing.

Björn Terelius

The packaging module requirement is breaking webrtc and v8 when rolling chromium dependencies. See https://ci.chromium.org/ui/p/webrtc/builders/try/android_arm64_rel/88321/overview for an example.

We're supposed to have more or less the same python environment as chromium. I don't know where we're meant to get the packaging module.

Open in Gerrit

Related details

Attention is currently required from:
  • Ho Cheung
  • John Chen
  • Mikhail Khokhlov
  • Wenbin Zhang
  • 凯翔黄
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: catapult
Gerrit-Branch: main
Gerrit-Change-Id: Ia3210e514be653ae8a208741ad0f82fd3ace9421
Gerrit-Change-Number: 7144821
Gerrit-PatchSet: 2
Gerrit-Owner: 凯翔黄 <huangkaix...@bytedance.com>
Gerrit-Reviewer: Ho Cheung <hoch...@chromium.org>
Gerrit-Reviewer: John Chen <john...@chromium.org>
Gerrit-Reviewer: Mikhail Khokhlov <khok...@google.com>
Gerrit-Reviewer: Wenbin Zhang <wenbi...@google.com>
Gerrit-CC: Björn Terelius <tere...@chromium.org>
Gerrit-Attention: John Chen <john...@chromium.org>
Gerrit-Attention: Wenbin Zhang <wenbi...@google.com>
Gerrit-Attention: Mikhail Khokhlov <khok...@google.com>
Gerrit-Attention: 凯翔黄 <huangkaix...@bytedance.com>
Gerrit-Attention: Ho Cheung <hoch...@chromium.org>
Gerrit-Comment-Date: Thu, 13 Nov 2025 09:39:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: John Chen <john...@chromium.org>
Comment-In-Reply-To: 凯翔黄 <huangkaix...@bytedance.com>
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages