On Sat, Oct 1, 2022 at 9:30 AM seb....@gmail.com <seb.oe...@gmail.com> wrote: > > Hi, > > at least since 9.8.beta1 I get: > > (base) gitpod@sagemath-sagetracmirror-bkjzz4skuj7:/workspace/sagetrac-mirror$ > sage > bash: sage: command not found > (base) gitpod@sagemath-sagetracmirror-bkjzz4skuj7:/workspace/sagetrac-mirror$ > ./sage > Traceback (most recent call last): > File "/workspace/sagetrac-mirror/src/bin/sage-ipython", line 9, in <module> > from sage.misc.banner import banner > ModuleNotFoundError: No module named 'sage' > (base) gitpod@sagemath-sagetracmirror-bkjzz4skuj7:/workspace/sagetrac-mirror$ > echo $PATH > /opt/conda/bin:/opt/conda/condabin:/ide/bin/remote-cli:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/workspace/sagetrac-mirror/venv/bin > (base) gitpod@sagemath-sagetracmirror-bkjzz4skuj7:/workspace/sagetrac-mirror$ > ls -ltr venv > ls: cannot access 'venv': No such file or directory > > In this example I invoked Gitpod via the badged on ticket #33969 after > rebasing to the current beta.
same for me - I tried https://trac.sagemath.org/ticket/34537 and got basically the same error. In the build log I see some issue with jinja2 (perhaps just cause it's the 1st package in some list?) -------------------------- Using pip 22.2.1 from /opt/conda/lib/python3.9/site-packages/pip (python 3.9) Defaulting to user installation because normal site-packages is not writeable Created temporary directory: /tmp/pip-ephem-wheel-cache-ychg3r1_ Created temporary directory: /tmp/pip-build-tracker-abod86hi Initialized build tracking at /tmp/pip-build-tracker-abod86hi Created build tracker: /tmp/pip-build-tracker-abod86hi Entered build tracker: /tmp/pip-build-tracker-abod86hi Created temporary directory: /tmp/pip-install-57ag1co6 Obtaining file:///workspace/sagetrac-mirror/src Added file:///workspace/sagetrac-mirror/src to build tracker '/tmp/pip-build-tracker-abod86hi' Running setup.py (path:/workspace/sagetrac-mirror/src/setup.py) egg_info for package from file:///workspace/sagetrac-mirror/src Created temporary directory: /tmp/pip-pip-egg-info-itbekqjb Running command python setup.py egg_info running egg_info creating /tmp/pip-pip-egg-info-itbekqjb/UNKNOWN.egg-info writing /tmp/pip-pip-egg-info-itbekqjb/UNKNOWN.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-itbekqjb/UNKNOWN.egg-info/dependency_links.txt writing top-level names to /tmp/pip-pip-egg-info-itbekqjb/UNKNOWN.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-itbekqjb/UNKNOWN.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-pip-egg-info-itbekqjb/UNKNOWN.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.hh' anywhere in distribution warning: no files found matching '*.inc' anywhere in distribution warning: no files found matching 'pyproject.toml' no previously-included directories found matching '.tox' no previously-included directories found matching 'sage/ext/interpreters' adding license file 'LICENSE.txt' writing manifest file '/tmp/pip-pip-egg-info-itbekqjb/UNKNOWN.egg-info/SOURCES.txt' Preparing metadata (setup.py) ... done Source in ./src has version 0.0.0, which satisfies requirement UNKNOWN==0.0.0 from file:///workspace/sagetrac-mirror/src Removed UNKNOWN==0.0.0 from file:///workspace/sagetrac-mirror/src from build tracker '/tmp/pip-build-tracker-abod86hi' Created temporary directory: /tmp/pip-unpack-porf3jey Installing collected packages: UNKNOWN Running setup.py develop for UNKNOWN Running command python setup.py develop ************************************************************************ Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/workspace/sagetrac-mirror/src/setup.py", line 75, in <module> from sage_setup.autogen import autogen_all File "/workspace/sagetrac-mirror/src/sage_setup/autogen/__init__.py", line 2, in <module> from . import interpreters File "/workspace/sagetrac-mirror/src/sage_setup/autogen/interpreters/__init__.py", line 118, in <module> from .generator import InterpreterGenerator, AUTOGEN_WARN File "/workspace/sagetrac-mirror/src/sage_setup/autogen/interpreters/generator.py", line 19, in <module> from .memory import string_of_addr File "/workspace/sagetrac-mirror/src/sage_setup/autogen/interpreters/memory.py", line 16, in <module> from .utils import je, reindent_lines as ri File "/workspace/sagetrac-mirror/src/sage_setup/autogen/interpreters/utils.py", line 19, in <module> from jinja2 import Environment ModuleNotFoundError: No module named 'jinja2' ************************************************************************ Error building the Sage library ************************************************************************ error: subprocess-exited-with-error × python setup.py develop did not run successfully. │ exit code: 1 ╰─> See above for output. --------------------------------------------------- Dima > On a pinned workspace under 9.7.beat8 it is still working: > > (/workspace/sagetrac-mirror/venv) > gitpod@sagemath-sagetracmirror-umr7r154gqk:/workspace/sagetrac-mirror$ sage > ┌────────────────────────────────────────────────────────────────────┐ > │ SageMath version 9.7.beta8, Release Date: 2022-08-07 │ > │ Using Python 3.10.5. Type "help()" for help. │ > └────────────────────────────────────────────────────────────────────┘ > ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ > ┃ Warning: this is a prerelease version, and it may be unstable. ┃ > ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ > sage: quit > (/workspace/sagetrac-mirror/venv) > gitpod@sagemath-sagetracmirror-umr7r154gqk:/workspace/sagetrac-mirror$ which > sage > /workspace/sagetrac-mirror/venv/bin/sage > > (/workspace/sagetrac-mirror/venv) > gitpod@sagemath-sagetracmirror-umr7r154gqk:/workspace/sagetrac-mirror$ echo > $PATH > /workspace/sagetrac-mirror/venv/bin:/opt/conda/condabin:/ide/bin/remote-cli:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/workspace/sagetrac-mirror/venv/bin > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/09ec84b4-8c14-42c6-aaa4-01a5ace5ed53n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq0x%2B9WtzjmPH5j-%2Bb70KVkN5xhXepNuxcyK8A%3DJ289c8w%40mail.gmail.com.