Skip to content

Running .spyx files from the command line doesn't work anymore #9191

@williamstein

Description

@williamstein

Create a file like this:

flat:tmp wstein$ cat a.spyx
print "hello"

We have:

flat:tmp wstein$ sage a.spyx
Traceback (most recent call last):
  File "/Users/wstein/sage/build/sage/local/bin/sage-sagex", line 5, in <module>
    from sage.misc.interpreter import load_sagex
ImportError: cannot import name load_sagex

Apply

  1. attachment: 9191_run_cython.patch to the SCRIPTS repo.
  2. attachment: 9191_doctest_spyx.patch to the SAGE library.

Depends on #13533
Depends on #13579
Depends on #13631
Depends on #13681

Component: misc

Author: Karl-Dieter Crisman, Jeroen Demeyer

Reviewer: Jeroen Demeyer, Karl-Dieter Crisman

Merged: sage-5.5.beta1

Issue created by migration from https://trac.sagemath.org/ticket/9191

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions