Running doctests on an external package in Sage 10.8+
30 views
Skip to first unread message
Jacob Bond
unread,
Jul 18, 2026, 1:35:44 PM (5 days ago) Jul 18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-support
Previously (before Sage 10.8), I was able to run doctests on an external package using `sage -t package_dir`
but with Sage 10.8+, `-t` is no longer a valid argument and `sage --help` doesn't seem to offer a similar capability. Is there a way to use Sage 10.8+ for running doctests on external packages?
Dima Pasechnik
unread,
Jul 18, 2026, 1:59:53 PM (5 days ago) Jul 18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-s...@googlegroups.com
Since then, there is a difference between the installed "sage" script,
and the one in the top level of the
Sage source directory. That is, with Sage installed from source, you can run
./sage -t (from the top level of the source tree) and it will work as before.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-support
Thank you! I have Sage installed from conda-forge, but looking at the "sage" script in the top level of the source directory, it ultimately calls bin/sage and passes any arguments. So running <conda-env>/bin/sage -t <package-dir> should work (and seems to work).