Closed
Bug 1858065
Opened 1 year ago
Closed 1 year ago
Use packaging's Version instead of distutils' StrictVersion in mozbuild/nodeutil.py
Categories
(Firefox Build System :: Mach Core, task)
Firefox Build System
Mach Core
Tracking
(firefox-esr115 fixed, firefox120 fixed)
RESOLVED
FIXED
120 Branch
People
(Reporter: sergesanspaille, Assigned: sergesanspaille)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr115+
|
Details | Review |
As of Python 3.12, distutils is no longer available, and using packaging's Version is the official recommandation, see https://github.com/pypa/packaging/issues/520
Assignee | ||
Comment 1•1 year ago
|
||
distutils have been removed from Python 3.12.
Updated•1 year ago
|
Attachment #9357550 -
Attachment description: Bug 1858065 - Use packaging's Version instead of distutils' StrictVersion r=saschanaz → Bug 1858065 - Use packaging's Version instead of distutils' StrictVersion r=saschanaz!
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/561899ab9176
Use packaging's Version instead of distutils' StrictVersion r=saschanaz
Comment 3•1 year ago
|
||
Backed out for breaking local mach browsertime tooling
backout link: https://hg.mozilla.org/integration/autoland/rev/b49831a88fee30aa339aec323a039628e4b9a9ef
Flags: needinfo?(sguelton)
Assignee | ||
Comment 4•1 year ago
|
||
Change spotted, new revision pushed, waiting for saschana's approval
Flags: needinfo?(sguelton) → needinfo?(krosylight)
Updated•1 year ago
|
Attachment #9357550 -
Attachment description: Bug 1858065 - Use packaging's Version instead of distutils' StrictVersion r=saschanaz! → Bug 1858065 - Replace distutils' StrictVersion r=saschanaz!
Assignee | ||
Updated•1 year ago
|
Severity: -- → S3
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ee3b3779af7f
Replace distutils' StrictVersion r=saschanaz,perftest-reviewers,sparky
Comment 7•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox120:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Comment 8•10 months ago
|
||
distutils have been removed from Python 3.12, so replace it:
Sometimes using packaging's Version, sometimes providing our own in the
case of mozrelease/versions.py. Add more tests for the latter.
Original Revision: https://phabricator.services.mozilla.com/D190540
Updated•10 months ago
|
Attachment #9377307 -
Flags: approval-mozilla-esr115?
Updated•10 months ago
|
Blocks: python3.12
Updated•10 months ago
|
Attachment #9377307 -
Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Updated•10 months ago
|
status-firefox-esr115:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•