rst2txt needs sagenb

10 views
Skip to first unread message

Timo Kaufmann

unread,
Nov 27, 2019, 12:24:53 PM11/27/19
to sage-packaging
While switching to python3 I got stuck on the following doctest:

File "/nix/store/8rwsnfb5sp0sb0njp82ff9ssb219xn39-sage-src-9.0.beta7/src/sage/tests/cmdline.py", line 852, in sage.tests.cmdline.test_executable
Failed example:
    test_executable(["sage", "--rst2txt", input, output])
Expected:
    ('', ..., 0)
Got:
    ('',
     'Traceback (most recent call last):\n  File "/nix/store/4phl4grzhy54qvcigpqd7q7s8zdznqc3-sage-with-env-9.0.beta7/bin/sage-rst2txt", line 133, in <module>\n    from sagenb.notebook.docHTMLProcessor\nModuleNotFoundError: No module named \'sagenb\'\n',
     1)


So apparently rst2txt depends on the sage notebook. But as far as I understand, sage-the-distro doesn't have sagenb either when built with python3. Yet it passes all the tests. What am I missing?

Timo

Antonio Rojas

unread,
Nov 27, 2019, 12:34:35 PM11/27/19
to sage-packaging
El miércoles, 27 de noviembre de 2019, 18:24:53 (UTC+1), Timo Kaufmann escribió:
So apparently rst2txt depends on the sage notebook. But as far as I understand, sage-the-distro doesn't have sagenb either when built with python3. Yet it passes all the tests. What am I missing?

Timo Kaufmann

unread,
Nov 27, 2019, 3:04:09 PM11/27/19
to sage-packaging
Thanks!
Reply all
Reply to author
Forward
0 new messages