It's failing to install for me, python-psutil on system is 5.9.1 but the package requires psutil<=5.8.0,>=5.4.2.
WARNING: You are using pip version 21.2.3; however, version 22.2.1 is available.
You should consider upgrading via the '/tmp/tmpkzr4yqpt/bin/python -m pip install --upgrade pip' command.
psutil<=5.8.0,>=5.4.2: Installed with unexpected version "5.9.1"
Traceback (most recent call last):
File "/home/santiago/src/aur/firefox-nightly/src/mozilla-central/./mach", line 96, in <module>
main(sys.argv[1:])
File "/home/santiago/src/aur/firefox-nightly/src/mozilla-central/./mach", line 88, in main
mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
File "/home/santiago/src/aur/firefox-nightly/src/mozilla-central/./mach", line 35, in check_and_get_mach
return load_mach(dir_path, mach_path)
File "/home/santiago/src/aur/firefox-nightly/src/mozilla-central/./mach", line 21, in load_mach
return mach_initialize.initialize(dir_path)
File "/home/santiago/src/aur/firefox-nightly/src/mozilla-central/build/mach_initialize.py", line 153, in initialize
_activate_python_environment(
File "/home/santiago/src/aur/firefox-nightly/src/mozilla-central/build/mach_initialize.py", line 99, in _activate_python_environment
mach_environment.activate()
File "/home/santiago/src/aur/firefox-nightly/src/mozilla-central/python/mach/mach/site.py", line 359, in activate
self.ensure()
File "/home/santiago/src/aur/firefox-nightly/src/mozilla-central/python/mach/mach/site.py", line 337, in ensure
result = self._up_to_date()
File "/home/santiago/src/aur/firefox-nightly/src/mozilla-central/python/mach/mach/site.py", line 322, in _up_to_date
_assert_pip_check(
File "/home/santiago/src/aur/firefox-nightly/src/mozilla-central/python/mach/mach/site.py", line 1106, in _assert_pip_check
raise Exception(
Exception: The "mach" site is not compatible with the installed system Python packages.
==> ERROR: A failure occurred in build().
Aborting...
[santiago@galago firefox-nightly (master)]$ pacman -Ss python-psutil
community/python-psutil 5.9.1-1 [installed]
A cross-platform process and system utilities module for Python
Pinned Comments
heftig commented on 2022-07-27 22:26 (UTC)
Instead of building this yourself, please use the repository from https://bbs.archlinux.org/viewtopic.php?id=117157.
Not only do you skip the very time-consuming builds, but the published package also has debug symbols at Mozilla's crash reports service, which helps tremendously with finding or filing bugs for any crashes you get.
I consider this the canonical
firefox-nightly
package for Arch Linux.Alternatively, download Firefox Nightly straight from Mozilla, extract it to a writable place (e.g.
~/.local/firefox-nightly
) and let it update itself using the integrated updater.