one patch required: --- a/tools/grit/grit/util.py +++ b/tools/grit/grit/util.py @@ -209,7 +209,7 @@ mode = 'rb' encoding = None else: - mode = 'rU' + mode = 'r' with io.open(filename, mode, encoding=encoding) as f: return f.read() probably this is suitable for upstreaming, but I'm not sure how and don't really want to clone whole chromium and install gerrit etc just to submit one-line patch. I wrote this patch and hereby release it under CC0 for anyone to use without restriction. you may submit it upstream with or without attribution. also, https://github.com/python/cpython/issues/91404#issuecomment-1147876699 causes build to hang. I fixed this by manually running doas -u portage sh -c 'cd /tmp/portage/www-client/chromium-103.0.5060.33/work/chromium-103.0.5060.33/out/Release && python3.10 ../../third_party/catapult/tracing/bin/generate_about_tracing_contents --outdir gen/content/browser/tracing && gdb -ex "p (void)exit(0)" $(pgrep -f generate_about_tracing_contents)'. I think a proper fix is coming upstream though; I am filing this bug for tracking purposes.
@python: When is the next beta release planned? Can we apply the revert in ${URL} meanwhile?
Python's release schedule is not really clear at the moment because 3.11 branch turned out very unstable and people are reporting release blockers faster than they are being fixed. I have something else to backport, so I'll grab this one today as well.
3.11.0_beta4_p1 is in.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60b1fdbbf66574ea6c415f7495ef9ebf086e7a08 commit 60b1fdbbf66574ea6c415f7495ef9ebf086e7a08 Author: Stephan Hartmann <sultan@gentoo.org> AuthorDate: 2022-08-21 13:03:26 +0000 Commit: Stephan Hartmann <sultan@gentoo.org> CommitDate: 2022-08-21 13:04:01 +0000 www-client/chromium: dev channel bump to 106.0.5245.0 Closes: https://bugs.gentoo.org/850457 Signed-off-by: Stephan Hartmann <sultan@gentoo.org> www-client/chromium/Manifest | 2 + www-client/chromium/chromium-106.0.5245.0.ebuild | 1188 ++++++++++++++++++++ .../chromium/files/chromium-106-python3_11.patch | 11 + 3 files changed, 1201 insertions(+)