sapling
sapling copied to clipboard
Build fails with yarn2
When following the build instructions on linux, I get the following error:
/usr/lib/python3.11/site-packages/setuptools/dist.py:544: UserWarning: The version specified ('4.4.2_20230426-145232-h7ea1f245') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
warnings.warn(
running build_interactive_smartlog
➤ YN0050: The --prefer-offline flag is deprecated; use the --cached flag with 'yarn add' instead
[...]
subprocess.CalledProcessError: Command '['/usr/local/bin/yarn', 'install', '--prefer-offline']' returned non-zero exit status 1.
I believe that this is due to my machine having yarn2. I think that this is just the default used by npm corepack. Is yarn2 support planned?