Issue type
Build/Install
How did you install PythonMonkey?
Installed from pip
OS platform and distribution
Docker - Linux Ubuntu 22.04
Python version (python --version)
Python 3.10
PythonMonkey version (pip show pythonmonkey)
No response
Bug Description
When I try use pip install pythonmonkey , I keep getting an error concerning git/hooks/precommit
And I try to clone the repo and run ./setup.sh it halts at Installing Poetry and I eventually have to kill the process.
Standalone code to reproduce the issue
No response
Relevant log output or backtrace
Building wheel for pythonmonkey (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pythonmonkey (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
ln: failed to create symbolic link '.git/hooks/pre-commit': No such file or directory
Traceback (most recent call last):
File "/tmp/pip-install-c1evfcjb/pythonmonkey_acb4d454b9204488b9c90dab0b5bf611/build.py", line 81, in <module>
build()
File "/tmp/pip-install-c1evfcjb/pythonmonkey_acb4d454b9204488b9c90dab0b5bf611/build.py", line 74, in build
ensure_spidermonkey()
File "/tmp/pip-install-c1evfcjb/pythonmonkey_acb4d454b9204488b9c90dab0b5bf611/build.py", line 41, in ensure_spidermonkey
execute("bash ./setup.sh", cwd=TOP_DIR)
File "/tmp/pip-install-c1evfcjb/pythonmonkey_acb4d454b9204488b9c90dab0b5bf611/build.py", line 31, in execute
raise subprocess.CalledProcessError(return_code, cmd)
subprocess.CalledProcessError: Command 'bash ./setup.sh' returned non-zero exit status 1.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
main()
File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/pip-build-env-szdkvi5b/overlay/local/lib/python3.10/dist-packages/poetry/core/masonry/api.py", line 58, in build_wheel
return WheelBuilder.make_in(
File "/tmp/pip-build-env-szdkvi5b/overlay/local/lib/python3.10/dist-packages/poetry/core/masonry/builders/wheel.py", line 88, in make_in
wb.build(target_dir=directory)
File "/tmp/pip-build-env-szdkvi5b/overlay/local/lib/python3.10/dist-packages/poetry/core/masonry/builders/wheel.py", line 123, in build
self._build(zip_file)
File "/tmp/pip-build-env-szdkvi5b/overlay/local/lib/python3.10/dist-packages/poetry/core/masonry/builders/wheel.py", line 172, in _build
self._run_build_script(self._package.build_script)
File "/tmp/pip-build-env-szdkvi5b/overlay/local/lib/python3.10/dist-packages/poetry/core/masonry/builders/wheel.py", line 262, in _run_build_script
subprocess.check_call([self.executable.as_posix(), build_script])
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', 'build.py']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pythonmonkey
Failed to build pythonmonkey
ERROR: Could not build wheels for pythonmonkey, which is required to install pyproject.toml-based projects
Additional info if applicable
No response
What branch of PythonMonkey were you developing on? (If applicable)
No response
Issue type
Build/Install
How did you install PythonMonkey?
Installed from pip
OS platform and distribution
Docker - Linux Ubuntu 22.04
Python version (
python --version)Python 3.10
PythonMonkey version (
pip show pythonmonkey)No response
Bug Description
When I try use
pip install pythonmonkey, I keep getting an error concerning git/hooks/precommitAnd I try to clone the repo and run ./setup.sh it halts at Installing Poetry and I eventually have to kill the process.
Standalone code to reproduce the issue
No response
Relevant log output or backtrace
Additional info if applicable
No response
What branch of PythonMonkey were you developing on? (If applicable)
No response