Opened 6 months ago
Last modified 5 months ago
#19016 closed enhancement
Install Python 3.11 to /opt/python3.11 for Mozilla and/or QtWebEngine — at Version 10
Reported by: | Bruce Dubbs | Owned by: | Douglas R. Reno |
---|---|---|---|
Priority: | normal | Milestone: | 12.1 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
Mozilla is just too slow to adapt for any breaking changes in dependencies. And QtWebEngine 5 is not maintained. We are working around the issue with patches or seds but doing so is nasty for users.
The build time for Python 3.11 is about 40 seconds at -j8 on xry111's laptop, with the configuration:
./configure --prefix=/opt/python3.11 --with-system-expat --disable-shared --without-ensurepip
I used Python 3.11.0 and it works for Firefox. But we'd better use 3.11.1 or above because 3.11.0 will fail to build once we update to GCC 14 (per Fedora developers).
We'll not add Python 3.11 into currency, nor update it even if a security issue is reported because the Python 3.11 build will be only intended for building Mozilla and/or QtWebEngine, and we consider the Mozilla & QtWebEngine tarballs "trusted". We should make our intention clearly in the upcoming Python 3.11 page.
Checklist
- QtWebEngine:
- Firefox:
SpiderMonkey:I tend to keep the current work around for SpiderMonkey because it's simple.- Thunderbird:
- Seamonkey:
Change History (10)
comment:1 by , 6 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Summary: | Consolidate patches and seds in qtwebengine → Consolidate patches and seds in several packages |
follow-up: 3 comment:2 by , 6 months ago
Sounds as if this will cause problems for anybody updating old systems (e.g. those with python-3.11 in particular).
The current large number of fixes show how much is broken nowadays with what are supposed to be stable releases.
comment:3 by , 6 months ago
Replying to ken@…:
Sounds as if this will cause problems for anybody updating old systems (e.g. those with python-3.11 in particular).
The current large number of fixes show how much is broken nowadays with what are supposed to be stable releases.
I'll be adding some text to state that you should not apply the patch if you aren't on Python 3.12/ICU 74 so that we can maintain information for security advisories (and testing against Python 3.11 and 3.12)
I'm still of the opinion that Python's minor releases are really Major ones with plenty of compatibility changes. Since Python 3.10 I've felt that 3.11 should've been 4, and now 12 should have been 4. This cycle has been particularly nasty with libxml2, python 3.12, ICU 74, etc. and the amount of fixes required has been hectic (we're almost at 1,000 commits since 12.0!)
comment:4 by , 6 months ago
Description: | modified (diff) |
---|
Added a checklist to the description of the ticket.
comment:5 by , 6 months ago
Description: | modified (diff) |
---|
Seamonkey done at 4b3d2071e1a3ae32431948861c8c719cfd61f552
comment:6 by , 6 months ago
Description: | modified (diff) |
---|
comment:8 by , 6 months ago
Currently bdubbs and I think installing Python 3.11 into /opt/python3.11 would be easier.
comment:9 by , 6 months ago
Description: | modified (diff) |
---|---|
Summary: | Consolidate patches and seds in several packages → Install Python 3.11 to /opt/python3.11 for Mozilla and/or QtWebEngine |
comment:10 by , 6 months ago
Description: | modified (diff) |
---|
I'm already going to be doing something similar for Thunderbird and Seamonkey, both of which have large amounts of seds that make them very difficult to follow and read. We should do the same to Firefox as well