mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Revert "Upgrade python to 3.11"
This reverts commit6a9dd48b27. Reason for revert: breaks release branches Original change's description: > Reland "Reland "Upgrade python to 3.11"" > > This is a reland of commit32c1207c9e> > Original change's description: > > Reland "Upgrade python to 3.11" > > > > This is a reland of commit6a167d1e1f> > > > Original change's description: > > > Upgrade python to 3.11 > > > > > > R=bryner > > > > > > Bug: 1500415 > > > Change-Id: Ie379744131f7a9ced204a31f21079cb697c889a6 > > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5030767 > > > Reviewed-by: Brian Ryner <bryner@google.com> > > > Commit-Queue: Josip Sokcevic <sokcevic@chromium.org> > > > > Bug: 1500415 > > Change-Id: I0cce81772186a26c3bdb67c5b49ce383b8a1443e > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5118884 > > Commit-Queue: Peter Wen <wnwen@chromium.org> > > Reviewed-by: Brian Ryner <bryner@google.com> > > Bug: 1500415 > Change-Id: I01872caa1bb0bf75e3696edb7bb07dc33aeb6ce6 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5165860 > Reviewed-by: Brian Ryner <bryner@google.com> > Commit-Queue: Josip Sokcevic <sokcevic@chromium.org> Bug: 1500415 Change-Id: I55a6f75d1003bcbc2236cf15c6e556f1ed842b92 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5170270 Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Josip Sokcevic <sokcevic@chromium.org>
This commit is contained in:
14
.vpython3
14
.vpython3
@@ -1,17 +1,17 @@
|
|||||||
python_version: "3.11"
|
python_version: "3.8"
|
||||||
|
|
||||||
# The default set of platforms vpython checks for does not yet include mac-arm64.
|
# The default set of platforms vpython checks for does not yet include mac-arm64.
|
||||||
# Setting `verify_pep425_tag` to the list of platforms we explicitly must support
|
# Setting `verify_pep425_tag` to the list of platforms we explicitly must support
|
||||||
# allows us to ensure that vpython specs stay mac-arm64-friendly
|
# allows us to ensure that vpython specs stay mac-arm64-friendly
|
||||||
verify_pep425_tag: [
|
verify_pep425_tag: [
|
||||||
{python: "cp311", abi: "cp311", platform: "manylinux1_x86_64"},
|
{python: "cp38", abi: "cp38", platform: "manylinux1_x86_64"},
|
||||||
{python: "cp311", abi: "cp311", platform: "linux_arm64"},
|
{python: "cp38", abi: "cp38", platform: "linux_arm64"},
|
||||||
|
|
||||||
{python: "cp311", abi: "cp311", platform: "macosx_10_10_intel"},
|
{python: "cp38", abi: "cp38", platform: "macosx_10_10_intel"},
|
||||||
{python: "cp311", abi: "cp311", platform: "macosx_11_0_arm64"},
|
{python: "cp38", abi: "cp38", platform: "macosx_11_0_arm64"},
|
||||||
|
|
||||||
{python: "cp311", abi: "cp311", platform: "win32"},
|
{python: "cp38", abi: "cp38", platform: "win32"},
|
||||||
{python: "cp311", abi: "cp311", platform: "win_amd64"}
|
{python: "cp38", abi: "cp38", platform: "win_amd64"}
|
||||||
]
|
]
|
||||||
|
|
||||||
# Used by:
|
# Used by:
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ $VerifiedPlatform windows-amd64 windows-arm64 linux-amd64 mac-amd64 mac-arm64
|
|||||||
infra/3pp/tools/cpython/${platform} version:2@2.7.18.chromium.44
|
infra/3pp/tools/cpython/${platform} version:2@2.7.18.chromium.44
|
||||||
|
|
||||||
@Subdir python3
|
@Subdir python3
|
||||||
infra/3pp/tools/cpython3/${platform} version:2@3.11.6.chromium.30
|
infra/3pp/tools/cpython3/${platform} version:2@3.8.10.chromium.26
|
||||||
|
|
||||||
@Subdir git
|
@Subdir git
|
||||||
infra/3pp/tools/git/${platform} version:2@2.41.0.chromium.11
|
infra/3pp/tools/git/${platform} version:2@2.41.0.chromium.11
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ class GClientEvalTest(unittest.TestCase):
|
|||||||
def test_not_whitelisted(self):
|
def test_not_whitelisted(self):
|
||||||
with self.assertRaises(ValueError) as cm:
|
with self.assertRaises(ValueError) as cm:
|
||||||
gclient_eval._gclient_eval('[x for x in [1, 2, 3]]')
|
gclient_eval._gclient_eval('[x for x in [1, 2, 3]]')
|
||||||
self.assertIn('unexpected AST node: <ast.ListComp object',
|
self.assertIn('unexpected AST node: <_ast.ListComp object',
|
||||||
str(cm.exception))
|
str(cm.exception))
|
||||||
|
|
||||||
def test_dict_ordered(self):
|
def test_dict_ordered(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user