Package Details: librewolf 1:151.0.0_1-1

Git Clone URL: https://aur.archlinux.org/librewolf.git (read-only, click to copy)
Package Base: librewolf
Description: Community-maintained fork of Firefox, focused on privacy, security and freedom.
Upstream URL: https://librewolf.net/
Keywords: browser web
Licenses: MPL-2.0
Submitter: lsf
Maintainer: lsf
Last Packager: lsf
Votes: 217
Popularity: 5.52
First Submitted: 2019-06-14 18:41 (UTC)
Last Updated: 2026-05-20 22:43 (UTC)

Sources (5)

Pinned Comments

lsf commented on 2025-01-01 21:28 (UTC)

Please refrain from abusing the flagging of a package as out of date for build issues. This is not what it is supposed to be used for.

I automatically get notified of comments to this package. I do not need to be notified of whatever build problems occur (whether they are an individual's problems or the actual package's problems) twice, and not via flagging it out of date.

Issues with this package can also be reported at https://codeberg.org/librewolf/issues/issues (as it is also maintained there, at https://codeberg.org/librewolf/arch, too).

Latest Comments

« First ‹ Previous 1 .. 16 17 18 19 20 21 22 23 24 25 26 .. 37 Next › Last »

nobyte commented on 2022-07-06 09:07 (UTC) (edited on 2022-07-06 09:22 (UTC) by nobyte)

@franz

You could probably somehow solve this (in a clean way) by using a python virtual environment with the right package version of psutil, but I don't know how to do that.

But here's a (somewhat dirty) work around. Downgrade the python-psutil package to the required version:

sudo pacman -U https://archive.archlinux.org/packages/p/python-psutil/python-psutil-5.8.0-4-x86_64.pkg.tar.zst
  • Downgrade to the required version:
sudo downgrade python-psutil
  • Choose right version

  • Set whether to ingore updates for this package (both options have pros/cons so choose what suits you better)

  • I installed some other packages to satisfy 'pip check', but this is dependant upon your installed packages and might not even be relevant to the Librewolf build

pacman -S python-brotli
pacman -S python-pybcj
pacman -S python-cmd2
  • As far as I understood there are many cases in which 'pip check' will complain about python packages that are irrelevant for the build of Firefox/Librewolf, so if the check fails, it's totally unnecessary for the build to stop then. See here : https://bugs.gentoo.org/828604#c5 ... so there was some patch and apparently some code was removed to resolve this ... the code isn't there anymore in the current BUT STILL the pip check runs and complains about some packages ... so I grep'ed through the source for "pip check" and found src/firefox-102.0/python/mach/mach/site.py ... I made a patch to comment the code that raises the failed pip check to an exception ... you can insert the text below in a file called librewolf_mach_site.py_disable_pip-check.patch in your build dir (on my system it is /var/tmp/pamac-build-user/librewolf). The content of the file:
--- a/python/mach/mach/site.py
+++ a/python/mach/mach/site.py
@@ -1118,10 +1118,10 @@
         if check_result.returncode:
             subprocess.check_call(pip + ["list", "-v"], stdout=sys.stderr)
             print(check_result.stdout, file=sys.stderr)
-            raise Exception(
-                'According to "pip check", the current Python '
-                "environment has package-compatibility issues."
-            )
+            #raise Exception(
+            #    'According to "pip check", the current Python '
+            #    "environment has package-compatibility issues."
+            #)

         os.environ[
             f"MACH_SYSTEM_ASSERTED_COMPATIBLE_WITH_{virtualenv_name.upper()}_SITE"
  • Then you need to edit the PKGBUILD (in my case in /var/tmp/pamac-build-user/librewolf) so that it finds and applies the patch before build ...
  • Add the name of the patch file from the previous step at the end of the sources list
source=(""
        ...
        "librewolf_mach_site.py_disable_pip-check.patch")
  # apply patch to disable pip check
  patch -Np1 -i ../librewolf_mach_site.py_disable_pip-check.patch
  • Start new build ... there may still be a warning about pip check, but instead of stopping the build should then continue

<deleted-account> commented on 2022-06-26 21:05 (UTC)

Hi. I have the same error as https://aur.archlinux.org/packages/librewolf#comment-864414:

Running "pip check" to verify compatibility between the system Python and the "mach" site.
...
psutil<=5.8.0,>=5.4.2: Installed with unexpected version "5.9.0"
...
Exception: The "mach" site is not compatible with the installed system Python packages.

How can i solve this? Thx

I'm on Manjaro x64, Linux 5.14, installing using yay -S librewolf

dr460nf1r3 commented on 2022-05-25 09:16 (UTC)

Hey :) I'm having issues building Librewolf on Chaotic-AUR, currently the build fails after profiling. Any idea what might causing this? (full logs)

HC6505 commented on 2022-05-16 15:41 (UTC)

Setting to pip, make it build here to: export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=pip

Kimble commented on 2022-05-14 05:33 (UTC) (edited on 2022-05-14 05:34 (UTC) by Kimble)

Have this error, could anybody explain what's wrong and what should I do?

Building instrumented browser...
Traceback (most recent call last):
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/./mach", line 96, in <module>
    main(sys.argv[1:])
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/./mach", line 88, in main
    mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/./mach", line 35, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/./mach", line 21, in load_mach
    return mach_initialize.initialize(dir_path)
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/build/mach_initialize.py", line 153, in initialize
    _activate_python_environment(
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/build/mach_initialize.py", line 93, in _activate_python_environment
    from mach.site import MachSiteManager
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/python/mach/mach/site.py", line 27, in <module>
    from mach.requirements import (
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/python/mach/mach/requirements.py", line 7, in <module>
    from packaging.requirements import Requirement
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/third_party/python/packaging/packaging/requirements.py", line 24, in <module>
    from .markers import MARKER_EXPR, Marker
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/third_party/python/packaging/packaging/markers.py", line 25, in <module>
    from .specifiers import InvalidSpecifier, Specifier
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/third_party/python/packaging/packaging/specifiers.py", line 14, in <module>
    from .utils import canonicalize_version
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/third_party/python/packaging/packaging/utils.py", line 9, in <module>
    from .tags import Tag, parse_tag
  File "/home/user/.cache/paru/clone/librewolf/src/firefox-100.0/third_party/python/packaging/packaging/tags.py", line 7, in <module>
    import distutils.util
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 674, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 571, in module_from_spec
  File "/usr/lib/python3.10/site-packages/_distutils_hack/__init__.py", line 92, in create_module
    return importlib.import_module('setuptools._distutils')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 16, in <module>
    import setuptools.version
  File "/usr/lib/python3.10/site-packages/setuptools/version.py", line 1, in <module>
    import pkg_resources
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3102, in <module>
    class RequirementParseError(packaging.requirements.InvalidRequirement):
AttributeError: module 'packaging' has no attribute 'requirements'
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'librewolf-100.0-2': 
error: packages failed to build: librewolf-100.0-2

Morninwood commented on 2022-05-10 12:20 (UTC)

Changing MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE from system to pip fixed "The "mach" site is not compatible with the installed system Python packages." error for me.

lsf commented on 2022-05-10 09:44 (UTC) (edited on 2022-05-10 09:55 (UTC) by lsf)

Hm. Seems like my assumption that the pip/py environment issues were finally addressed upstream were wrong Oo

I need to look into that.

A workaround might be to build in a clean chroot until I've found a solution.

/edit

gentoo adds an additional PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach env var to their ebuild – that might be worth a try until I've looked into this further and/or dug up some patches.

faceless33 commented on 2022-05-10 09:19 (UTC) (edited on 2022-05-10 09:20 (UTC) by faceless33)

one of my python packages is newer than expected:

Running "pip check" to verify compatibility between the system Python and the "mach" site.
Package                       Version            Location                                                                          Installer
----------------------------- ------------------ --------------------------------------------------------------------------------- ---------
aiohttp                       3.7.4.post0        /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/aiohttp
alabaster                     0.7.12             /usr/lib/python3.10/site-packages
anytree                       2.8.0              /usr/lib/python3.10/site-packages
apparmor                      3.0.4              /usr/lib/python3.10/site-packages
appdirs                       1.4.4              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/appdirs
argcomplete                   2.0.0              /usr/lib/python3.10/site-packages
async-timeout                 3.0.1              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/async_timeout
attrs                         19.2.0             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/attrs
Babel                         2.10.1             /usr/lib/python3.10/site-packages
bcrypt                        3.2.0              /usr/lib/python3.10/site-packages
Beaker                        1.11.0             /usr/lib/python3.10/site-packages
blessings                     1.7                /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/blessings
breezy                        3.2.1              /usr/lib/python3.10/site-packages
Brlapi                        0.8.3              /usr/lib/python3.10/site-packages
btrfsutil                     5.17               /usr/lib/python3.10/site-packages
build                         0.7.0              /usr/lib/python3.10/site-packages
CacheControl                  0.12.6             /usr/lib/python3.10/site-packages
cached-property               1.5.2              /usr/lib/python3.10/site-packages
cbor2                         4.0.1              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/cbor2
certifi                       2018.4.16          /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/certifi
cffi                          1.15.0             /usr/lib/python3.10/site-packages
chardet                       4.0.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/chardet
click                         7.1.2              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/click
colorama                      0.4.4              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/colorama
compare-locales               8.2.1              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/compare_locales
configobj                     5.1.0.dev0         /usr/lib/python3.10/site-packages
contextlib2                   0.6.0.post1        /usr/lib/python3.10/site-packages
cookies                       2.2.1              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/cookies
cram                          0.7                /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/cram
cryptography                  36.0.2             /usr/lib/python3.10/site-packages
Cython                        0.29.28            /usr/lib/python3.10/site-packages
defusedxml                    0.7.1              /usr/lib/python3.10/site-packages
diskcache                     4.1.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/diskcache
distlib                       0.3.4              /usr/lib/python3.10/site-packages
distro                        1.4.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/distro
dnspython                     2.2.1              /usr/lib/python3.10/site-packages
docker                        5.0.3              /usr/lib/python3.10/site-packages
docker-pycreds                0.4.0              /usr/lib/python3.10/site-packages
dockerpty                     0.4.1              /usr/lib/python3.10/site-packages
docopt                        0.6.2              /usr/lib/python3.10/site-packages
docutils                      0.16               /usr/lib/python3.10/site-packages
dulwich                       0.20.35            /usr/lib/python3.10/site-packages
ecdsa                         0.15               /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/ecdsa
esprima                       4.0.1              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/esprima
evdev                         1.5.0              /usr/lib/python3.10/site-packages
fluent.migrate                0.11               /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/fluent.migrate
fluent.syntax                 0.18.1             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/fluent.syntax
future                        0.18.2             /usr/lib/python3.10/site-packages
gbinder-python                1.0.0              /usr/lib/python3.10/site-packages
Glances                       3.2.4              /usr/lib/python3.10/site-packages
html5lib                      1.1                /usr/lib/python3.10/site-packages
idna                          2.10               /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/idna
idna-ssl                      1.1.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/idna-ssl
imagesize                     1.3.0              /usr/lib/python3.10/site-packages
importlib-metadata            1.7.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/importlib_metadata
installer                     0.5.1              /usr/lib/python3.10/site-packages
iotop                         0.6                /usr/lib/python3.10/site-packages
iso8601                       0.1.14             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/iso8601
Jinja2                        2.11.3             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/Jinja2
jsmin                         2.1.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/jsmin
json-e                        2.7.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/json-e
jsonschema                    3.2.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/jsonschema
keyutils                      0.6                /usr/lib/python3.10/site-packages
lensfun                       0.3.3              /usr/lib/python3.10/site-packages
LibAppArmor                   3.0.4              /usr/lib/python3.10/site-packages
libfdt                        1.6.1              /usr/lib/python3.10/site-packages
libvirt-python                8.2.0              /usr/lib/python3.10/site-packages
lit                           13.0.1.dev0        /usr/lib/python3.10/site-packages
louis                         3.21.0             /usr/lib/python3.10/site-packages
lxml                          4.8.0              /usr/lib/python3.10/site-packages
Mako                          1.1.6              /usr/lib/python3.10/site-packages
mallard-ducktype              1.0.2              /usr/lib/python3.10/site-packages
Markdown                      3.3.7              /usr/lib/python3.10/site-packages
MarkupSafe                    1.1.1              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/MarkupSafe/src
meld                          3.20.4             /usr/lib/python3.10/site-packages
mercurial                     6.1.2              /usr/lib/python3.10/site-packages
meson                         0.62.1             /usr/lib/python3.10/site-packages
mohawk                        0.3.4              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/mohawk
more-itertools                8.12.0             /usr/lib/python3.10/site-packages
mozilla-version               0.3.4              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/mozilla_version
msgpack                       1.0.3              /usr/lib/python3.10/site-packages
multidict                     5.1.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/multidict
nftables                      0.1                /usr/lib/python3.10/site-packages
oauthlib                      3.2.0              /usr/lib/python3.10/site-packages
ordered-set                   4.0.2              /usr/lib/python3.10/site-packages
packaging                     20.9               /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/packaging
pafy                          0.5.5              /usr/lib/python3.10/site-packages
paramiko                      2.9.2              /usr/lib/python3.10/site-packages
parsedatetime                 2.6                /home/s/.local/lib/python3.10/site-packages                                       pip
pathspec                      0.9.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/pathspec
patiencediff                  0.2.2              /usr/lib/python3.10/site-packages
pep517                        0.12.0             /usr/lib/python3.10/site-packages
pip                           21.2.3             /tmp/tmpjnx5d_t0/lib/python3.10/site-packages                                     pip
pip-tools                     5.5.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/pip_tools
ply                           3.10               /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/ply
progress                      1.6                /usr/lib/python3.10/site-packages
psutil                        5.9.0              /usr/lib/python3.10/site-packages
pwquality                     1.4.4              /usr/lib/python3.10/site-packages
pyasn1                        0.4.8              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/pyasn1
pyasn1-modules                0.2.8              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/pyasn1_modules
pycairo                       1.21.0             /usr/lib/python3.10/site-packages
pycparser                     2.21               /usr/lib/python3.10/site-packages
Pygments                      2.12.0             /usr/lib/python3.10/site-packages
PyGObject                     3.42.1             /usr/lib/python3.10/site-packages
pyinotify                     0.9.6              /usr/lib/python3.10/site-packages
PyNaCl                        1.4.0              /usr/lib/python3.10/site-packages
pyOpenSSL                     22.0.0             /usr/lib/python3.10/site-packages
pyparsing                     2.4.7              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/pyparsing
PyQt5                         5.15.6             /usr/lib/python3.10/site-packages                                                 sip-build
PyQt5-sip                     12.10.1            /usr/lib/python3.10/site-packages
pyrsistent                    0.16.0             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/pyrsistent
python-dateutil               2.8.2              /usr/lib/python3.10/site-packages                                                 pip
python-distutils-extra        2.39               /usr/lib/python3.10/site-packages
python-dotenv                 0.20.0             /usr/lib/python3.10/site-packages
python-Levenshtein            0.12.2             /usr/lib/python3.10/site-packages
pytoml                        0.1.10             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/pytoml
pytz                          2022.1             /usr/lib/python3.10/site-packages
pyudev                        0.22.0.dev20211202 /usr/lib/python3.10/site-packages
pyxdg                         0.27               /usr/lib/python3.10/site-packages
PyYAML                        5.4.1              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/PyYAML/lib3
ranger-fm                     1.9.3              /usr/lib/python3.10/site-packages
redo                          2.0.3              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/redo
Reflector                     2021.11.20.2.41.3  /usr/lib/python3.10/site-packages
requests                      2.25.1             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/requests
requests-oauthlib             1.3.1              /usr/lib/python3.10/site-packages
requests-unixsocket           0.2.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/requests_unixsocket
resolvelib                    0.5.5              /usr/lib/python3.10/site-packages
responses                     0.10.6             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/responses
retrying                      1.3.3              /usr/lib/python3.10/site-packages
rsa                           3.1.4              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/rsa
selinux                       3.3                /usr/lib/python3.10/site-packages
sentry-sdk                    0.14.3             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/sentry_sdk
setuptools                    51.2.0             /tmp/tmpjnx5d_t0/lib/python3.10/site-packages                                     pip
setuptools-scm                6.4.2              /usr/lib/python3.10/site-packages
six                           1.13.0             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/six
slugid                        2.0.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/slugid
snowballstemmer               2.2.0              /usr/lib/python3.10/site-packages
speedtest-cli                 2.1.3              /usr/lib/python3.10/site-packages
Sphinx                        4.5.0              /usr/lib/python3.10/site-packages
sphinx-rtd-theme              1.0.0              /usr/lib/python3.10/site-packages
sphinxcontrib-applehelp       1.0.2              /usr/lib/python3.10/site-packages
sphinxcontrib-devhelp         1.0.2              /usr/lib/python3.10/site-packages
sphinxcontrib-htmlhelp        2.0.0              /usr/lib/python3.10/site-packages
sphinxcontrib-jsmath          1.0.1              /usr/lib/python3.10/site-packages
sphinxcontrib-qthelp          1.0.3              /usr/lib/python3.10/site-packages
sphinxcontrib-serializinghtml 1.1.5              /usr/lib/python3.10/site-packages
sysmontask                    1.x.x              /usr/lib/python3.10/site-packages
taskcluster                   44.2.2             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/taskcluster
taskcluster-taskgraph         1.2.0              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/taskcluster_taskgraph
taskcluster-urls              13.0.1             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/taskcluster_urls
TBB                           0.2                /usr/lib/python3.10/site-packages
team                          1.0                /usr/lib/python3.10/site-packages
texttable                     1.6.4              /usr/lib/python3.10/site-packages
toml                          0.10.2             /usr/lib/python3.10/site-packages
tomli                         2.0.1              /usr/lib/python3.10/site-packages
tqdm                          4.62.3             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/tqdm
typing-extensions             3.10.0.0           /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/typing_extensions
udiskie                       2.4.2              /usr/lib/python3.10/site-packages
ulauncher                     5.14.4             /usr/lib/python3.10/site-packages
urllib3                       1.26.0             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/urllib3
validate                      5.1.0.dev0         /usr/lib/python3.10/site-packages
voluptuous                    0.12.1             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/voluptuous
webencodings                  0.5.1              /usr/lib/python3.10/site-packages
websocket-client              1.3.2              /usr/lib/python3.10/site-packages
wheel                         0.37.0             /tmp/tmpjnx5d_t0/lib/python3.10/site-packages                                     pip
xmltodict                     0.12.0             /usr/lib/python3.10/site-packages
yamllint                      1.23.0             /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/yamllint
yarl                          1.6.3              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/yarl
youtube-dl                    2021.12.17         /usr/lib/python3.10/site-packages
yq                            2.14.0             /usr/lib/python3.10/site-packages
zipp                          3.4.1              /tmp/makepkg/librewolf/src/firefox-100.0/third_party/python/zipp
zstandard                     0.17.0             /usr/lib/python3.10/site-packages
WARNING: You are using pip version 21.2.3; however, version 22.0.4 is available.
You should consider upgrading via the '/tmp/tmpjnx5d_t0/bin/python -m pip install --upgrade pip' command.
psutil<=5.8.0,>=5.4.2: Installed with unexpected version "5.9.0"
Traceback (most recent call last):
  File "/tmp/makepkg/librewolf/src/firefox-100.0/./mach", line 96, in <module>
    main(sys.argv[1:])
  File "/tmp/makepkg/librewolf/src/firefox-100.0/./mach", line 88, in main
    mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
  File "/tmp/makepkg/librewolf/src/firefox-100.0/./mach", line 35, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/tmp/makepkg/librewolf/src/firefox-100.0/./mach", line 21, in load_mach
    return mach_initialize.initialize(dir_path)
  File "/tmp/makepkg/librewolf/src/firefox-100.0/build/mach_initialize.py", line 153, in initialize
    _activate_python_environment(
  File "/tmp/makepkg/librewolf/src/firefox-100.0/build/mach_initialize.py", line 99, in _activate_python_environment
    mach_environment.activate()
  File "/tmp/makepkg/librewolf/src/firefox-100.0/python/mach/mach/site.py", line 390, in activate
    self.ensure()
  File "/tmp/makepkg/librewolf/src/firefox-100.0/python/mach/mach/site.py", line 368, in ensure
    result = self._up_to_date()
  File "/tmp/makepkg/librewolf/src/firefox-100.0/python/mach/mach/site.py", line 353, in _up_to_date
    _assert_pip_check(
  File "/tmp/makepkg/librewolf/src/firefox-100.0/python/mach/mach/site.py", line 1122, 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...
 -> error making: librewolf

What is a workaround?