-
-
Notifications
You must be signed in to change notification settings - Fork 655
Open
passagemath/passagemath
#1066Labels
Description
Is there an existing issue for this?
- I have searched the existing issues for a bug report that matches the one I want to file, without success.
Did you read the documentation and troubleshoot guide?
- I have read the documentation and troubleshoot guide
Environment
- **OS**:Ubuntu 22.04
- **Sage Version**: 9.8 from source
Steps To Reproduce
After building sage successfully I tried to install the experimental package "sagemath_repl" with
sage -i sagemath_repl
it errored out with
Successfully built UNKNOWN-0.0.0.tar.gz and UNKNOWN-0.0.0-py3-none-any.whl
[sagemath_environment-9.8] -rw-rw-r-- 1 bernard bernard 69187 Mar 12 14:57 /home/bernard/opt/sagemath/local/var/lib/sage/venv-python3.10/var/lib/sage/wheels/UNKNOWN-0.0.0-py3-none-any.whl
make --no-print-directory sagemath_objects-SAGE_VENV-no-deps
[sagemath_objects-9.8] * Creating venv isolated environment...
[sagemath_objects-9.8] * Installing packages in isolated environment... (setuptools >= 40.8.0, wheel)
[sagemath_objects-9.8] * Getting build dependencies for sdist...
[sagemath_objects-9.8] Traceback (most recent call last):
[sagemath_objects-9.8] File "/home/bernard/opt/sagemath/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
[sagemath_objects-9.8] main()
[sagemath_objects-9.8] File "/home/bernard/opt/sagemath/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
[sagemath_objects-9.8] json_out['return_val'] = hook(**hook_input['kwargs'])
[sagemath_objects-9.8] File "/home/bernard/opt/sagemath/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 287, in get_requires_for_build_sdist
[sagemath_objects-9.8] return hook(config_settings)
[sagemath_objects-9.8] File "/tmp/build-env-1sl9wzp9/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_sdist
[sagemath_objects-9.8] return self._get_build_requires(config_settings, requirements=[])
[sagemath_objects-9.8] File "/tmp/build-env-1sl9wzp9/lib/python3.10/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
[sagemath_objects-9.8] self.run_setup()
[sagemath_objects-9.8] File "/tmp/build-env-1sl9wzp9/lib/python3.10/site-packages/setuptools/build_meta.py", line 484, in run_setup
[sagemath_objects-9.8] super(_BuildMetaLegacyBackend,
[sagemath_objects-9.8] File "/tmp/build-env-1sl9wzp9/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
[sagemath_objects-9.8] exec(code, locals())
[sagemath_objects-9.8] File "<string>", line 17, in <module>
[sagemath_objects-9.8] ModuleNotFoundError: No module named 'sage_setup'
[sagemath_objects-9.8]
[sagemath_objects-9.8] ERROR Backend subprocess exited when trying to invoke get_requires_for_build_sdist
[sagemath_objects-9.8] ********************************************************************************
[sagemath_objects-9.8] Failure building sdist and wheel
[sagemath_objects-9.8] ********************************************************************************
make[2]: *** [Makefile:3346: sagemath_objects-SAGE_VENV-no-deps] Error 1
make[1]: *** [Makefile:3346: /home/bernard/opt/sagemath/local/var/lib/sage/venv-python3.10/var/lib/sage/installed/sagemath_objects-9.8] Error 2
make[1]: Leaving directory '/home/bernard/opt/sagemath/build/make'
real 0m19.140s
user 0m17.065s
sys 0m1.520s
Expected Behavior
package should build
Actual Behavior
it doesn't build
Additional Information
No response