After updating mozilla-central (to cset 8620f13a9748) today, `mach configure` fails with python 3.9, but succeeds with /usr/local/Cellar/python@3.8/3.8.12_1/bin/python3.8 mach configure`. I'm running Homebrew's python@3.9.10 on macOS 11.6.4. Note that I ran `mach bootstrap` with python 3.8 due to `mach bootstrap` bug 1759322 with python 3.9, in case that matters. I get the following error message when running `mach configure`, even after deleting my entire ~/.mozbuild directory and local objdir: ``` ImportError: cannot import name 'readPlist' from 'plistlib' (/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/plistlib.py) File "/Users/chris/Code/mozilla/firefox/python/mozbuild/mozbuild/artifact_commands.py", line 265, in artifact_toolchain from mozbuild.artifacts import ArtifactCache File "/Users/chris/Code/mozilla/firefox/python/mozbuild/mozbuild/artifacts.py", line 66, in <module> import mozinstall File "/usr/local/lib/python3.9/site-packages/mozinstall/__init__.py", line 8, in <module> from .mozinstall import * File "/usr/local/lib/python3.9/site-packages/mozinstall/mozinstall.py", line 31, in <module> from plistlib import readPlist Sentry event ID: e4d1324236ca4e7681f8a6b39892bd3f Sentry is attempting to send 0 pending error messages ... ``` See the attached log file for the full log.
Bug 1759329 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
After updating mozilla-central (to cset 8620f13a9748) today, `mach configure` fails with python 3.9, but succeeds with `/usr/local/Cellar/python@3.8/3.8.12_1/bin/python3.8 mach configure`. I'm running Homebrew's python@3.9.10 on macOS 11.6.4. Note that I ran `mach bootstrap` with python 3.8 due to `mach bootstrap` bug 1759322 with python 3.9, in case that matters. I get the following error message when running `mach configure`, even after deleting my entire ~/.mozbuild directory and local objdir: ``` ImportError: cannot import name 'readPlist' from 'plistlib' (/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/plistlib.py) File "/Users/chris/Code/mozilla/firefox/python/mozbuild/mozbuild/artifact_commands.py", line 265, in artifact_toolchain from mozbuild.artifacts import ArtifactCache File "/Users/chris/Code/mozilla/firefox/python/mozbuild/mozbuild/artifacts.py", line 66, in <module> import mozinstall File "/usr/local/lib/python3.9/site-packages/mozinstall/__init__.py", line 8, in <module> from .mozinstall import * File "/usr/local/lib/python3.9/site-packages/mozinstall/mozinstall.py", line 31, in <module> from plistlib import readPlist Sentry event ID: e4d1324236ca4e7681f8a6b39892bd3f Sentry is attempting to send 0 pending error messages ... ``` See the attached log file for the full log.