Closed
Bug 1752927
Opened 3 years ago
Closed 3 years ago
distutils DeprecationWarning on every Mach invocation for modern Python (SetuptoolsDeprecationWarning: setup.py install is deprecated)
Categories
(Firefox Build System :: Mach Core, defect)
Firefox Build System
Mach Core
Tracking
(firefox98 fixed)
RESOLVED
FIXED
98 Branch
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: mhentges, Assigned: mhentges)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
This is also showing up as a SetuptoolsDeprecationWarning
for modern setuptools
versions.
Let's address the common Mach code path to avoid these warnings.
Assignee | ||
Updated•3 years ago
|
Assignee: nobody → mhentges
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•3 years ago
|
||
Python 3.10 prints a warning when it sees distutils
used, so let's
avoid using distutils
in the "common Mach code" that runs on every
Mach call.
Note that this change will also fix the SetuptoolsDeprecationWarning
that shipped on setuptools>=58.3.0
, since our usage of distutils
was
calling a setup.py install
under the hood.
Summary: distutils DeprecationWarning on every Mach invocation for modern Python → distutils DeprecationWarning on every Mach invocation for modern Python (SetuptoolsDeprecationWarning: setup.py install is deprecated)
Comment 2•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox98:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•