On Saturday, March 9, 2024 at 6:47:36 PM UTC+1 [email protected] wrote:
No. The fix is installing ninja in the virtual environment. As I demonstrated earlier, everything works just fine if you install without --no-build-isolation. Building with --no-build-isolation is useful only to the extent to fail immediately if the build dependencies are not available. We must have some difference in behavior on our systems, which is interesting to investigate by itself I use Ubuntu 22.04.4 LTS I am not a Linux expert, but probably this behavior is to do with how files in the */tmp* are recycled I have tested this once again and confirm, that just installing ninja does not help. You can see attached complete logs where ninja was installed, but test were still not working without *--no-build-isolation* And then started working with. This also a recommended setup as per the documentation you kindly pointed me out to https://mesonbuild.com/meson-python/how-to-guides/editable-installs.html#editable-installs <https://mesonbuild.com/meson-python/how-to-guides/editable-installs.html#build-dependencies> *The isolated build environment is deleted after the build is completed, resulting in failures when the package in rebuild on import. For these reasons, when installing packages in editable mode, it is recommended to disable build isolation passing the --no-build-isolation argument to pip.* Also it the logs you can see, that the error is that the directory */tmp/pip-build-env-t6qnb87w/normal/bin/ninja *Cannot be found. And this temporary directory indeed does not exist If I install beancount in editable mode without *--no-build-isolation, *then the last part of the file* _beancount_editable_loader.py* in the *site-package*s looks like this install( {'beancount'}, '/home/evg/code/beancount/build/cp312', ['*/tmp/pip-build-env-qc8r8vrg/normal/bin/ninja*'], False, ) So, it points to something which does not exist However when *--no-build-isolation *is activated, it then points to existing directory install( {'beancount'}, '/home/evg/code/beancount/build/cp312', ['*/home/evg/code/beancount/venv/bin/ninja*'], True, ) Which kind of explains the behaviour. -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/361bd47d-2de8-4cbe-b5bd-bb6cbb95710bn%40googlegroups.com.
evg@evg-VirtualBox:~/code$ git clone https://github.com/beancount/beancount.git Cloning into 'beancount'... remote: Enumerating objects: 49427, done. remote: Counting objects: 100% (2299/2299), done. remote: Compressing objects: 100% (847/847), done. remote: Total 49427 (delta 1544), reused 2050 (delta 1430), pack-reused 47128 Receiving objects: 100% (49427/49427), 104.49 MiB | 12.85 MiB/s, done. Resolving deltas: 100% (35523/35523), done. evg@evg-VirtualBox:~/code$ python3.12 -m venv beancount/venv evg@evg-VirtualBox:~/code$ . beancount/venv/bin/activate (venv) evg@evg-VirtualBox:~/code$ python -m pip install meson-python meson ninja Collecting meson-python Using cached meson_python-0.15.0-py3-none-any.whl.metadata (4.1 kB) Collecting meson Using cached meson-1.3.2-py3-none-any.whl.metadata (1.8 kB) Collecting ninja Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl.metadata (5.3 kB) Collecting pyproject-metadata>=0.7.1 (from meson-python) Using cached pyproject_metadata-0.7.1-py3-none-any.whl.metadata (3.0 kB) Collecting packaging>=19.0 (from pyproject-metadata>=0.7.1->meson-python) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Using cached meson_python-0.15.0-py3-none-any.whl (25 kB) Using cached meson-1.3.2-py3-none-any.whl (977 kB) Using cached ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl (307 kB) Using cached pyproject_metadata-0.7.1-py3-none-any.whl (7.4 kB) Using cached packaging-23.2-py3-none-any.whl (53 kB) Installing collected packages: ninja, packaging, meson, pyproject-metadata, meson-python Successfully installed meson-1.3.2 meson-python-0.15.0 ninja-1.11.1.1 packaging-23.2 pyproject-metadata-0.7.1 (venv) evg@evg-VirtualBox:~/code$ cd beancount (venv) evg@evg-VirtualBox:~/code/beancount$ ls bazel CHANGES etc Makefile README.rst TODO beancount COPYING examples MANIFEST.in requirements tools bin CREDITS experiments meson.build setup.py venv BUILD.bazel docs index.html pyproject.toml style.css WORKSPACE (venv) evg@evg-VirtualBox:~/code/beancount$ python -m pip install --editable . Obtaining file:///home/evg/code/beancount Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... done Installing backend dependencies ... done Preparing editable metadata (pyproject.toml) ... done Collecting click>=7.0 (from beancount==3.0.0.dev0) Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB) Collecting python-dateutil>=2.6.0 (from beancount==3.0.0.dev0) Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB) Collecting regex>=2022.9.13 (from beancount==3.0.0.dev0) Using cached regex-2023.12.25-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (40 kB) Collecting six>=1.5 (from python-dateutil>=2.6.0->beancount==3.0.0.dev0) Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) Using cached click-8.1.7-py3-none-any.whl (97 kB) Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Using cached regex-2023.12.25-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (789 kB) Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: beancount Building editable for beancount (pyproject.toml) ... done Created wheel for beancount: filename=beancount-3.0.0.dev0-cp312-cp312-linux_x86_64.whl size=5203 sha256=0dba1625887c25401c51598d79051112db31fc99adaabe0369bd6adf47dd369d Stored in directory: /tmp/pip-ephem-wheel-cache-whd38dq7/wheels/49/ea/f7/008f212bd03e7ef456f6265c43b39130dbd0993917cb0aee1a Successfully built beancount Installing collected packages: six, regex, click, python-dateutil, beancount Successfully installed beancount-3.0.0.dev0 click-8.1.7 python-dateutil-2.9.0.post0 regex-2023.12.25 six-1.16.0 (venv) evg@evg-VirtualBox:~/code/beancount$ python -m pip install pytest Collecting pytest Using cached pytest-8.1.1-py3-none-any.whl.metadata (7.6 kB) Collecting iniconfig (from pytest) Using cached iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB) Requirement already satisfied: packaging in ./venv/lib/python3.12/site-packages (from pytest) (23.2) Collecting pluggy<2.0,>=1.4 (from pytest) Using cached pluggy-1.4.0-py3-none-any.whl.metadata (4.3 kB) Using cached pytest-8.1.1-py3-none-any.whl (337 kB) Using cached pluggy-1.4.0-py3-none-any.whl (20 kB) Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB) Installing collected packages: pluggy, iniconfig, pytest Successfully installed iniconfig-2.0.0 pluggy-1.4.0 pytest-8.1.1 (venv) evg@evg-VirtualBox:~/code/beancount$ pytest --import-mode=importlib beancount/ ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/evg/code/beancount configfile: pyproject.toml collected 0 items / 80 errors ==================================== ERRORS ==================================== _______________ ERROR collecting beancount/core/account_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ____________ ERROR collecting beancount/core/account_types_test.py _____________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ________________ ERROR collecting beancount/core/amount_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/core/compare_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/core/convert_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _________________ ERROR collecting beancount/core/data_test.py _________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ___________ ERROR collecting beancount/core/display_context_test.py ____________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/core/distribution_test.py _____________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ________________ ERROR collecting beancount/core/flags_test.py _________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/core/getters_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/core/interpolate_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/core/inventory_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ________________ ERROR collecting beancount/core/number_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/core/position_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ________________ ERROR collecting beancount/core/prices_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/core/realization_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/cparser/extmodule_test.py _____________ beancount/cparser/extmodule_test.py:10: in <module> from beancount.cparser import extmodule <frozen importlib._bootstrap>:1360: in _find_and_load ??? <frozen importlib._bootstrap>:1322: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:1262: in _find_spec ??? venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' __________________ ERROR collecting beancount/loader_test.py ___________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ________________ ERROR collecting beancount/ops/balance_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/ops/basicops_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/ops/compress_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/ops/documents_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/ops/find_prices_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/ops/lifetimes_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' __________________ ERROR collecting beancount/ops/pad_test.py __________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/ops/summarize_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/ops/validation_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ____________ ERROR collecting beancount/parser/booking_full_test.py ____________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ___________ ERROR collecting beancount/parser/booking_method_test.py ___________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/parser/booking_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/parser/cmptest_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/parser/context_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/parser/grammar_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/parser/hashsrc_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/parser/lexer_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/parser/options_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/parser/parser_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/parser/printer_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/parser/version_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ___________ ERROR collecting beancount/plugins/auto_accounts_test.py ___________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/plugins/auto_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ________ ERROR collecting beancount/plugins/check_average_cost_test.py _________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ___________ ERROR collecting beancount/plugins/check_closing_test.py ___________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' __________ ERROR collecting beancount/plugins/check_commodity_test.py __________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ___________ ERROR collecting beancount/plugins/check_drained_test.py ___________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ____________ ERROR collecting beancount/plugins/close_tree_test.py _____________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ___________ ERROR collecting beancount/plugins/coherent_cost_test.py ___________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' __________ ERROR collecting beancount/plugins/commodity_attr_test.py ___________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _________ ERROR collecting beancount/plugins/currency_accounts_test.py _________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' __________ ERROR collecting beancount/plugins/implicit_prices_test.py __________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/plugins/leafonly_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ___________ ERROR collecting beancount/plugins/noduplicates_test.py ____________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/plugins/nounused_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ___________ ERROR collecting beancount/plugins/onecommodity_test.py ____________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/plugins/pedantic_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/plugins/sellgains_test.py _____________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ___________ ERROR collecting beancount/plugins/unique_prices_test.py ___________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/projects/export_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' __________ ERROR collecting beancount/scripts/check_examples_test.py ___________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/scripts/check_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/scripts/deps_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ____________ ERROR collecting beancount/scripts/directories_test.py ____________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/scripts/doctor_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/scripts/example_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ______________ ERROR collecting beancount/scripts/format_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/tools/treeify_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/utils/bisect_key_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/utils/date_utils_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _______________ ERROR collecting beancount/utils/defdict_test.py _______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/utils/encryption_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/utils/file_utils_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ____________ ERROR collecting beancount/utils/import_utils_test.py _____________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/utils/invariants_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ________________ ERROR collecting beancount/utils/memo_test.py _________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/utils/misc_utils_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ________________ ERROR collecting beancount/utils/pager_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ________________ ERROR collecting beancount/utils/snoop_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ________________ ERROR collecting beancount/utils/table_test.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' ________________ ERROR collecting beancount/utils/test_utils.py ________________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' _____________ ERROR collecting beancount/utils/test_utils_test.py ______________ venv/lib/python3.12/site-packages/_beancount_editable_loader.py:271: in find_spec tree = self.rebuild() venv/lib/python3.12/site-packages/_beancount_editable_loader.py:312: in rebuild subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True) /usr/lib/python3.12/subprocess.py:548: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.12/subprocess.py:1026: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, /usr/lib/python3.12/subprocess.py:1953: in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-t6qnb87w/normal/bin/ninja' =========================== short test summary info ============================ ERROR beancount/core/account_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/account_types_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/amount_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/compare_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/convert_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/data_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/display_context_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/distribution_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/flags_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/getters_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/interpolate_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/inventory_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/number_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/position_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/prices_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/core/realization_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/cparser/extmodule_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/loader_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/ops/balance_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/ops/basicops_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/ops/compress_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/ops/documents_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/ops/find_prices_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/ops/lifetimes_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/ops/pad_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/ops/summarize_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/ops/validation_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/parser/booking_full_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/parser/booking_method_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/parser/booking_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/parser/cmptest_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/parser/context_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/parser/grammar_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/parser/hashsrc_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/parser/lexer_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/parser/options_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/parser/parser_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/parser/printer_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/parser/version_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/auto_accounts_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/auto_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/check_average_cost_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/check_closing_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/check_commodity_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/check_drained_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/close_tree_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/coherent_cost_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/commodity_attr_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/currency_accounts_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/implicit_prices_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/leafonly_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/noduplicates_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/nounused_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/onecommodity_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/pedantic_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/sellgains_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/plugins/unique_prices_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/projects/export_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/scripts/check_examples_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/scripts/check_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/scripts/deps_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/scripts/directories_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/scripts/doctor_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/scripts/example_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/scripts/format_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/tools/treeify_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/bisect_key_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/date_utils_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/defdict_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/encryption_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/file_utils_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/import_utils_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/invariants_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/memo_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/misc_utils_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/pager_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/snoop_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/table_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/test_utils.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... ERROR beancount/utils/test_utils_test.py - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env... (venv) evg@evg-VirtualBox:~/code/beancount$ python -m pip uninstall pytest Found existing installation: pytest 8.1.1 Uninstalling pytest-8.1.1: Would remove: /home/evg/code/beancount/venv/bin/py.test /home/evg/code/beancount/venv/bin/pytest /home/evg/code/beancount/venv/lib/python3.12/site-packages/_pytest/* /home/evg/code/beancount/venv/lib/python3.12/site-packages/py.py /home/evg/code/beancount/venv/lib/python3.12/site-packages/pytest-8.1.1.dist-info/* /home/evg/code/beancount/venv/lib/python3.12/site-packages/pytest/* Proceed (Y/n)? n (venv) evg@evg-VirtualBox:~/code/beancount$ python -m pip uninstall beancount Found existing installation: beancount 3.0.0.dev0 Uninstalling beancount-3.0.0.dev0: Would remove: /home/evg/code/beancount/venv/bin/bean-check /home/evg/code/beancount/venv/bin/bean-doctor /home/evg/code/beancount/venv/bin/bean-example /home/evg/code/beancount/venv/bin/bean-format /home/evg/code/beancount/venv/bin/treeify /home/evg/code/beancount/venv/lib/python3.12/site-packages/_beancount_editable_loader.py /home/evg/code/beancount/venv/lib/python3.12/site-packages/beancount-3.0.0.dev0.dist-info/* /home/evg/code/beancount/venv/lib/python3.12/site-packages/beancount-editable.pth Proceed (Y/n)? y Successfully uninstalled beancount-3.0.0.dev0 (venv) evg@evg-VirtualBox:~/code/beancount$ python -m pip install --no-build-isolation --editable . Obtaining file:///home/evg/code/beancount Checking if build backend supports build_editable ... done Preparing editable metadata (pyproject.toml) ... done Requirement already satisfied: click>=7.0 in ./venv/lib/python3.12/site-packages (from beancount==3.0.0.dev0) (8.1.7) Requirement already satisfied: python-dateutil>=2.6.0 in ./venv/lib/python3.12/site-packages (from beancount==3.0.0.dev0) (2.9.0.post0) Requirement already satisfied: regex>=2022.9.13 in ./venv/lib/python3.12/site-packages (from beancount==3.0.0.dev0) (2023.12.25) Requirement already satisfied: six>=1.5 in ./venv/lib/python3.12/site-packages (from python-dateutil>=2.6.0->beancount==3.0.0.dev0) (1.16.0) Building wheels for collected packages: beancount Building editable for beancount (pyproject.toml) ... done Created wheel for beancount: filename=beancount-3.0.0.dev0-cp312-cp312-linux_x86_64.whl size=5180 sha256=00d3a5da9a42d152edb67f7efba755f2298c44668a803bb1992f634a0c1bf18c Stored in directory: /tmp/pip-ephem-wheel-cache-7xvbks24/wheels/49/ea/f7/008f212bd03e7ef456f6265c43b39130dbd0993917cb0aee1a Successfully built beancount Installing collected packages: beancount Successfully installed beancount-3.0.0.dev0 (venv) evg@evg-VirtualBox:~/code/beancount$ pytest --import-mode=importlib beancount/ ================================================= test session starts ================================================= platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/evg/code/beancount configfile: pyproject.toml collected 1114 items beancount/core/account_test.py ............... [ 1%] beancount/core/account_types_test.py ........ [ 2%] beancount/core/amount_test.py .............. [ 3%] beancount/core/compare_test.py ....... [ 3%] beancount/core/convert_test.py ................................................... [ 8%] beancount/core/data_test.py ............... [ 9%] beancount/core/display_context_test.py ...................... [ 11%] beancount/core/distribution_test.py .. [ 12%] beancount/core/flags_test.py . [ 12%] beancount/core/getters_test.py ................. [ 13%] beancount/core/interpolate_test.py .......................... [ 15%] beancount/core/inventory_test.py .................................... [ 19%] beancount/core/number_test.py ........... [ 20%] beancount/core/position_test.py ............................. [ 22%] beancount/core/prices_test.py ............ [ 23%] beancount/core/realization_test.py ............................. [ 26%] beancount/cparser/extmodule_test.py s [ 26%] beancount/loader_test.py ............................. [ 29%] beancount/ops/balance_test.py ................... [ 30%] beancount/ops/basicops_test.py .... [ 31%] beancount/ops/compress_test.py .... [ 31%] beancount/ops/documents_test.py ........ [ 32%] beancount/ops/find_prices_test.py .... [ 32%] beancount/ops/lifetimes_test.py ............. [ 33%] beancount/ops/pad_test.py .................. [ 35%] beancount/ops/summarize_test.py .............................................. [ 39%] beancount/ops/validation_test.py .................. [ 41%] beancount/parser/booking_full_test.py ......................................................................... [ 47%] s.sss.........................ssssssssssssssss................. [ 53%] beancount/parser/booking_test.py .......... [ 54%] beancount/parser/cmptest_test.py ..... [ 54%] beancount/parser/context_test.py . [ 54%] beancount/parser/grammar_test.py .............................................................................. [ 61%] ............................................................................................................... [ 71%] ............... [ 73%] beancount/parser/hashsrc_test.py .. [ 73%] beancount/parser/lexer_test.py ......................................... [ 77%] beancount/parser/options_test.py .......... [ 77%] beancount/parser/parser_test.py ..xx.................... [ 80%] beancount/parser/printer_test.py ........................... [ 82%] beancount/parser/version_test.py .. [ 82%] beancount/plugins/auto_accounts_test.py . [ 82%] beancount/plugins/auto_test.py . [ 82%] beancount/plugins/check_average_cost_test.py . [ 82%] beancount/plugins/check_closing_test.py . [ 83%] beancount/plugins/check_commodity_test.py ..... [ 83%] beancount/plugins/check_drained_test.py ........ [ 84%] beancount/plugins/close_tree_test.py ........ [ 84%] beancount/plugins/coherent_cost_test.py . [ 85%] beancount/plugins/commodity_attr_test.py .. [ 85%] beancount/plugins/currency_accounts_test.py ....... [ 85%] beancount/plugins/implicit_prices_test.py ..... [ 86%] beancount/plugins/leafonly_test.py .. [ 86%] beancount/plugins/noduplicates_test.py ......... [ 87%] beancount/plugins/nounused_test.py . [ 87%] beancount/plugins/onecommodity_test.py ..... [ 87%] beancount/plugins/pedantic_test.py . [ 87%] beancount/plugins/sellgains_test.py ..... [ 88%] beancount/plugins/unique_prices_test.py ... [ 88%] beancount/projects/export_test.py . [ 88%] beancount/scripts/check_examples_test.py . [ 88%] beancount/scripts/check_test.py ... [ 89%] beancount/scripts/deps_test.py . [ 89%] beancount/scripts/directories_test.py .. [ 89%] beancount/scripts/doctor_test.py ............... [ 90%] beancount/scripts/example_test.py . [ 90%] beancount/scripts/format_test.py .s........ [ 91%] beancount/tools/treeify_test.py .................... [ 93%] beancount/utils/bisect_key_test.py .. [ 93%] beancount/utils/date_utils_test.py ... [ 93%] beancount/utils/defdict_test.py ... [ 94%] beancount/utils/encryption_test.py ... [ 94%] beancount/utils/file_utils_test.py .... [ 94%] beancount/utils/import_utils_test.py . [ 94%] beancount/utils/invariants_test.py . [ 94%] beancount/utils/memo_test.py .. [ 95%] beancount/utils/misc_utils_test.py .......................... [ 97%] beancount/utils/pager_test.py ... [ 97%] beancount/utils/snoop_test.py ..... [ 98%] beancount/utils/table_test.py ........ [ 98%] beancount/utils/test_utils_test.py ............ [100%] ================================================== warnings summary =================================================== beancount/parser/version_test.py::TestVersion::test_compute_version_string beancount/parser/version_test.py::TestVersion::test_compute_version_string /home/evg/code/beancount/beancount/parser/version.py:33: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). date = datetime.datetime.utcfromtimestamp(timestamp).date() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =============================== 1090 passed, 22 skipped, 2 xfailed, 2 warnings in 9.29s =============================== (venv) evg@evg-VirtualBox:~/code/beancount$
