Closed Bug 1843209 Opened 1 year ago Closed 10 months ago

Bump Mach's minimum required Python version to 3.8

Categories

(Firefox Build System :: Mach Core, enhancement, P2)

enhancement

Tracking

(firefox122 fixed)

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: ahochheiden, Assigned: ahochheiden)

References

Details

Attachments

(3 files, 1 obsolete file)

Our current Python version (3.7) is past end-of-life as of June 27 this year. As such, we should bump our minimum version to Python 3.8.

The new features are a nice bonus, too.

Assignee: nobody → ahochheiden
Status: NEW → ASSIGNED
Summary: Bump Mach's minimum required Python version to 3.7 → Bump Mach's minimum required Python version to 3.8

Our current Python version (3.7) is past end-of-life as of June 27 this year. As such (...)

As such, and because the only major downstream Linux distros left on 3.7 are Ubuntu 18.04 and Debian 10 (and they do support it, python.org EOL is merely one indicator). Ubuntu 18.04 doesn't receive new updates for Firefox, and by the time of the next ESR, Debian 10 will be EOL. So, yes, we can upgrade to 3.8. Then we may have to stick to 3.8 until April 2025, when Ubuntu 20.04 EOLs.

  • If this is not done, the next person to vendor will also make all of
    the changes in this commit, which is unnecessary noise.

Note that not having 3.8+ means upstream wpt is currently unable to update aioquic: https://github.com/web-platform-tests/wpt/issues/43143

Blocks: 1860630
Pushed by ahochheiden@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/36c5e6c2819f Bump Mach's minimum Python version to `3.8` r=firefox-build-system-reviewers,glandium https://hg.mozilla.org/integration/autoland/rev/052214d67a99 Regenerate the `third_party/python` lockfile with Python `3.8` as the minimum version r=firefox-build-system-reviewers,glandium,mach-reviewers,ahal

Bad timing with bug 1862534, which landed not long ago, and added an awful hack that breaks with python 3.8...

See Also: → 1865752
Depends on: 1866936
Attachment #9365532 - Attachment is obsolete: true
Attachment #9367699 - Attachment description: Bug 1843209 - Add Glandium's Backport Fix for Python 3.8 for pygobject r?#build → Bug 1843209 - Fix pygobject for python 3.8. r?#build
Pushed by ahochheiden@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7696510881b0 Bump Mach's minimum Python version to `3.8` r=firefox-build-system-reviewers,glandium https://hg.mozilla.org/integration/autoland/rev/c113ffb12ef6 Fix pygobject for python 3.8. r=firefox-build-system-reviewers,ahochheiden https://hg.mozilla.org/integration/autoland/rev/55cd203304b8 Regenerate the `third_party/python` lockfile with Python `3.8` as the minimum version r=firefox-build-system-reviewers,glandium,mach-reviewers,ahal
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
Flags: needinfo?(ahochheiden)
Blocks: 1866829
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: