paleolimbot opened a new issue, #684:
URL: https://github.com/apache/arrow-nanoarrow/issues/684

   I think meson is trying to rebuild the package when the underlying source 
files change? This is not necessarily a bad thing and it's cool if it works, 
but currently it gives me quite a lot of this in local development (since I 
switch branches often!):
   
   ```
   ImportError while importing test module 
'/home/dewey/gh/arrow-nanoarrow/python/tests/test_visitor.py'.
   Hint: make sure your test modules/packages have valid Python names.
   Traceback:
   .venv/lib/python3.10/site-packages/_nanoarrow_editable_loader.py:345: in 
_rebuild
       subprocess.run(self._build_cmd, cwd=self._build_path, env=env, 
stdout=subprocess.DEVNULL, check=True)
   /usr/lib/python3.10/subprocess.py:526: in run
       raise CalledProcessError(retcode, process.args,
   E   subprocess.CalledProcessError: Command '['/usr/bin/ninja']' returned 
non-zero exit status 1.
   
   The above exception was the direct cause of the following exception:
   /usr/lib/python3.10/importlib/__init__.py:126: in import_module
       return _bootstrap._gcd_import(name[level:], package, level)
   python/tests/test_visitor.py:18: in <module>
       from nanoarrow.c_buffer import CBuffer
   .venv/lib/python3.10/site-packages/_nanoarrow_editable_loader.py:311: in 
find_spec
       tree = self._rebuild()
   .venv/lib/python3.10/site-packages/_nanoarrow_editable_loader.py:347: in 
_rebuild
       raise ImportError(f're-building the {self._name} meson-python editable 
wheel package failed') from exc
   E   ImportError: re-building the nanoarrow meson-python editable wheel 
package failed
   ------------------------------- Captured stderr 
--------------------------------
   /bin/sh: 1: /tmp/pip-build-env-3l1dj0lp/overlay/bin/meson: not found
   ninja: error: rebuilding 'build.ninja': subcommand failed
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to