Revert "Reland "Reland Migrate to python 3.11 from 3.8""

This reverts commit a5a4a98193eb652c177610afe10024cad1a17885.

Reason for revert:
LUCI Bisection has identified this change as the cause of a test failure. See the analysis: https://ci.chromium.org/ui/p/chromium/bisection/test-analysis/b/5987431141605376

Sample build with failed test: https://ci.chromium.org/b/8724910883092854417
Affected test(s):
[ninja://:chrome_wpt_tests/external/wpt/webdriver/tests/bidi/session/unsubscribe/invalid.py](https://ci.chromium.org/ui/test/chromium/ninja:%2F%2F:chrome_wpt_tests%2Fexternal%2Fwpt%2Fwebdriver%2Ftests%2Fbidi%2Fsession%2Funsubscribe%2Finvalid.py?q=VHash%3A1b1e9c5537be9730)

If this is a false positive, please report it at http://b.corp.google.com/createIssue?component=1199205&description=Analysis%3A+https%3A%2F%2Fci.chromium.org%2Fui%2Fp%2Fchromium%2Fbisection%2Ftest-analysis%2Fb%2F5987431141605376&format=PLAIN&priority=P3&title=Wrongly+blamed+https%3A%2F%2Fchromium-review.googlesource.com%2Fc%2Fchromium%2Fsrc%2F%2B%2F6168586&type=BUG

Original change's description:
> Reland "Reland Migrate to python 3.11 from 3.8"
>
> This is a reland of commit ae42a262c8c615956b14ae6de6181a7e09239ad7
>
> The CL was reverted as it caused devices to hang when running tests
> on android. (https://github.com/python/cpython/issues/106883)
>
> This has been fixed with a patch that fixed a bug in the python
> 3.11 interpreter.
>
> https://chromium-review.googlesource.com/c/infra/infra/+/6155095
>
> And then rolling out that change to depot_tools:
> https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6158273
>
> Original change's description:
> > Reland Migrate to python 3.11 from 3.8
> >
> > Original CL: https://chromium-review.googlesource.com/c/chromium/src/+/5872818
> > was reverted and was not able to create an actual reland because of
> > rebase merge failure with "create reland" button.
> >
> > Previous CL was reverted from failing:
> > chromeos-jacuzzi-rel
> > chromeos-octopus-rel
> >
> > This is from a incompatibility in aioquic, which is now fixed with
> > an update to aioquick 1.2 (and its supporting libraries) as well as
> > adding python and permission changes to chromeos.
> >
> > crrev.com/5904256
> > crrev.com/5904734
> >
> > and some internal changes.
> >
> > The webtransport_h3_server.py file has to be changed here with the
> > vpython change, and then wpt can be rolled. The change is already
> > in the wpt repo, but has been manually excluded in the roll.
> >
> > Bug: 40942322
> > Change-Id: Id12b7085fbc1ffd7694712013e6f746e65c3499f
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5887447
> > Reviewed-by: Ben Pastene <[email protected]>
> > Reviewed-by: Brian Sheedy <[email protected]>
> > Commit-Queue: Benjamin Joyce (Ben) <[email protected]>
> > Reviewed-by: Jonathan Lee <[email protected]>
> > Cr-Commit-Position: refs/heads/main@{#1370866}
>
> Bug: 40942322
> Change-Id: Icce4762639fa96104f81c114e853f8069c95cf85
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6168586
> Reviewed-by: Jonathan Lee <[email protected]>
> Reviewed-by: mmenke <[email protected]>
> Reviewed-by: Ben Pastene <[email protected]>
> Reviewed-by: Brian Sheedy <[email protected]>
> Commit-Queue: Benjamin Joyce (Ben) <[email protected]>
> Cr-Commit-Position: refs/heads/main@{#1410521}
>

Bug: 40942322
Change-Id: I0610989dbb4011d4d10b3c5b2cedaf1417e80c99
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6196028
Owners-Override: Ivana Žužić <[email protected]>
Reviewed-by: Ivana Žužić <[email protected]>
Commit-Queue: Ivana Žužić <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1410881}
NOKEYCHECK=True
GitOrigin-RevId: 468d53d6ec25d96ce10d8b014682200a5795884d
1 file changed