-
-
Notifications
You must be signed in to change notification settings - Fork 647
Use 'python -m sage.doctest' instead of 'sage -t' #40236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use 'python -m sage.doctest' instead of 'sage -t' #40236
Conversation
Documentation preview for this PR (built with commit d0d96e3; changes) is ready! 🎉 |
But Edit: okay I see the context, it's only when you install it instead of running from source tree. |
IIRC sage-the-distro's python (and possibly other distros) doesn't ship the Side note: as long as sage-the-distro allows installing its own Python, it should be CI tested, which doesn't seem to be the case currently. |
as long as If you want to unsupport |
It is still being tested in |
This fixes doctesting the
|
Nevermind, I forgot to pass -l when testing. There are still a few failures:
|
Right, forgot about this one. Thanks!
Should be fixed now, at least partly. One of these tests uses |
LGTM now |
sagemathgh-40236: Use 'python -m sage.doctest' instead of 'sage -t' <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Since `sage -t` is not working with meson. Progress towards sagemath#39875 (not sure if I got all of them). ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [ ] The title is concise and informative. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#40236 Reported by: Tobias Diez Reviewer(s):
sagemathgh-40236: Use 'python -m sage.doctest' instead of 'sage -t' <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Since `sage -t` is not working with meson. Progress towards sagemath#39875 (not sure if I got all of them). ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [ ] The title is concise and informative. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#40236 Reported by: Tobias Diez Reviewer(s):
sagemathgh-40236: Use 'python -m sage.doctest' instead of 'sage -t' <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Since `sage -t` is not working with meson. Progress towards sagemath#39875 (not sure if I got all of them). ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [ ] The title is concise and informative. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#40236 Reported by: Tobias Diez Reviewer(s):
sagemathgh-40236: Use 'python -m sage.doctest' instead of 'sage -t' <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Since `sage -t` is not working with meson. Progress towards sagemath#39875 (not sure if I got all of them). ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [ ] The title is concise and informative. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#40236 Reported by: Tobias Diez Reviewer(s):
Like it's done in all other tests in this file since sagemath#40236 `sage -t` does not exist in meson-built sage
sagemathgh-40477: Use `python -m sage.doctest` to run the doctester Like it's done in all other tests in this file since sagemath#40236 `sage -t` does not exist in meson-built sage URL: sagemath#40477 Reported by: Antonio Rojas Reviewer(s):
sagemathgh-40477: Use `python -m sage.doctest` to run the doctester Like it's done in all other tests in this file since sagemath#40236 `sage -t` does not exist in meson-built sage URL: sagemath#40477 Reported by: Antonio Rojas Reviewer(s):
sagemathgh-40477: Use `python -m sage.doctest` to run the doctester Like it's done in all other tests in this file since sagemath#40236 `sage -t` does not exist in meson-built sage URL: sagemath#40477 Reported by: Antonio Rojas Reviewer(s):
sagemathgh-40477: Use `python -m sage.doctest` to run the doctester Like it's done in all other tests in this file since sagemath#40236 `sage -t` does not exist in meson-built sage URL: sagemath#40477 Reported by: Antonio Rojas Reviewer(s):
sagemathgh-40477: Use `python -m sage.doctest` to run the doctester Like it's done in all other tests in this file since sagemath#40236 `sage -t` does not exist in meson-built sage URL: sagemath#40477 Reported by: Antonio Rojas Reviewer(s):
Since
sage -t
is not working with meson. Progress towards #39875 (not sure if I got all of them).📝 Checklist
⌛ Dependencies