refactor python distutils usage
Categories
(Thunderbird :: Build Config, task)
Tracking
(thunderbird_esr102 fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | fixed |
People
(Reporter: rjl, Assigned: dandarnell)
References
Details
Attachments
(1 file, 1 obsolete file)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr102+
|
Details | Review |
DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
Used in:
- taskcluster/comm_taskgraph/init.py
- python/thirdroc/thirdroc/rnp.py
Both cases are distutils.StrictVersion. The vendored "packaging" package is contains the replacement suggested by the PEP.
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/8346f3eaf302
Replace distutils (deprecated) with packaging. r=rjl
Updated•2 years ago
|
Comment 4•2 years ago
|
||
I suggest to uplift this to esr102, it's a dependency for the RNP v0.16.2 uplifts, avoids merge issues.
Any concerns?
Comment 5•2 years ago
|
||
Comment on attachment 9285954 [details]
Bug 1753683 - Replace distutils (deprecated) with packaging. r=rjl
[Approval Request Comment]
Regression caused by (bug #):
User impact if declined:
Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky): low
Reporter | ||
Comment 6•2 years ago
|
||
(In reply to Kai Engert (:KaiE:) from comment #4)
I suggest to uplift this to esr102, it's a dependency for the RNP v0.16.2 uplifts, avoids merge issues.
Any concerns?
Should be okay. The "packaging" Python library is in m-e102:third_party/python/packaging just as it is on m-c.
Comment 7•2 years ago
|
||
Comment on attachment 9285954 [details]
Bug 1753683 - Replace distutils (deprecated) with packaging. r=rjl
[Triage Comment]
Approved for esr102
Reporter | ||
Comment 8•2 years ago
|
||
bugherder uplift |
Thunderbird 102.7.0:
https://hg.mozilla.org/releases/comm-esr102/rev/04e4fcd9c934
Description
•