pybuilder: pybuilder fails on osx m1
I am seeing this failure if I run without --no-venvs
pyb -X
[DEBUG] Registered Python environment 'system': CPython version 3.8.2.final.0 on darwin in ['/Users/***/Code/buddy/venv/bin/python']
PyBuilder version 0.12.10
Build started at 2021-06-07 14:49:57
------------------------------------------------------------
[DEBUG] Loading project module from ./build.py
[DEBUG] Setting up plugins VEnv at '/Users/***/Code/nudge-master/nudge-web-master/code/nudge-frontend/nudge-frontend-default-api/.pybuilder/plugins/cpython-3.8.2.final.0'
ERROR: The executable /Users/***/Code/nudge-master/nudge-web-master/code/nudge-frontend/nudge-frontend-default-api/.pybuilder/plugins/cpython-3.8.2.final.0/bin/python is not functioning
ERROR: It thinks sys.prefix is '/Users/***/Code/nudge-master/nudge-web-master/code/nudge-frontend/nudge-frontend-default-api' (should be '/Users/***/Code/nudge-master/nudge-web-master/code/nudge-frontend/nudge-frontend-default-api/.pybuilder/plugins/cpython-3.8.2.final.0')
ERROR: virtualenv is not compatible with this system or executable
Traceback (most recent call last):
File "/Users/***/Code/buddy/venv/lib/python3.8/site-packages/pybuilder/cli.py", line 461, in main
reactor.prepare_build(property_overrides=options.property_overrides,
File "/Users/***/Code/buddy/venv/lib/python3.8/site-packages/pybuilder/reactor.py", line 203, in prepare_build
self._setup_plugin_directory(reset_plugins, no_venvs)
File "/Users/***/Code/buddy/venv/lib/python3.8/site-packages/pybuilder/reactor.py", line 517, in _setup_plugin_directory
plugin_env = per["pybuilder"] = PythonEnv(plugin_dir, self).create_venv(with_pip=True,
File "/Users/***/Code/buddy/venv/lib/python3.8/site-packages/pybuilder/python_env.py", line 209, in create_venv
create_venv(self._env_dir,
File "/Users/***/Code/buddy/venv/lib/python3.8/site-packages/pybuilder/python_env.py", line 439, in create_venv
virtualenv.create_environment(
File "/Users/***/Code/buddy/venv/lib/python3.8/site-packages/pybuilder/_vendor/virtualenv.py", line 1161, in create_environment
install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages=site_packages, clear=clear, symlink=symlink)
File "/Users/***/Code/buddy/venv/lib/python3.8/site-packages/pybuilder/_vendor/virtualenv.py", line 1711, in install_python
sys.exit(100)
SystemExit: 100
------------------------------------------------------------
BUILD FAILED - SystemExit: 100 (pybuilder/_vendor/virtualenv.py:1711)
------------------------------------------------------------
Build finished at 2021-06-07 14:49:57
Build took 0 seconds (421 ms)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (12 by maintainers)
Commits related to this issue
- Prepare 0.13.0 Vendorize latest virtualenv with cleanup fixes fixes #795, #777, #774, #771 — committed to arcivanov/pybuilder by arcivanov 3 years ago
- Prepare 0.13.0 Vendorize latest virtualenv with cleanup fixes Bump version to 0.13.0 fixes #795, #777, #774, #771 — committed to arcivanov/pybuilder by arcivanov 3 years ago
- Prepare 0.13.0 Vendorize latest virtualenv with cleanup fixes Bump version to 0.13.0 fixes #795, #777, #774, #771 — committed to arcivanov/pybuilder by arcivanov 3 years ago
- Prepare 0.13.0 Vendorize latest virtualenv with cleanup fixes Bump version to 0.13.0 fixes #795, #777, #774, #771 — committed to arcivanov/pybuilder by arcivanov 3 years ago
I will try to find some time this afternoon to verify - thanks!
On Tue, Sep 07, 2021 at 3:22 PM, Arcadiy Ivanov < @.*** > wrote: