node artifact installation fails on macOS with Python 3.9
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
People
(Reporter: takenspc, Unassigned)
Details
mach bootstrap
fails on macOS with Python 3.9:
Error running mach:
['artifact', 'toolchain', '--bootstrap', '--from-build', 'macosx64-node']
Note: mach bootstrap
installs watchman via homebrew and watchman requires python@3.9 so that Python 3.9 is used as system python in some conditions.
mach artifact toolchain --bootstrap --from-build macosx64-node
uses plistlib.readPlist
which has been deprecated since Python 3.4 and removed in Python 3.9 so that the command fails.
https://docs.python.org/3.8/library/plistlib.html#plistlib.readPlist
plistlib.readPlist(pathOrFile)
Deprecated since version 3.4: Use load() instead.
https://docs.python.org/3.9/library/plistlib.html
Changed in version 3.9: Old API removed.
It is easy to migrate to new API plistlib.load
which is introduced in Python 3.4 though I'm not sure whether the file in question need to be python 2 compatible or not.
Updated•4 years ago
|
Description
•