-
-
Notifications
You must be signed in to change notification settings - Fork 561
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
Remove --fiximports
helper
#39274
base: develop
Are you sure you want to change the base?
Remove --fiximports
helper
#39274
Conversation
It did its job; the remaining imports are okay (or would need manual work anyway). This is part of trying to eliminate most in `misc`.
Documentation preview for this PR (built with commit df2d827; changes) is ready! 🎉 |
looks like some of the CI failures are for real this time |
Unfortunately it looks like the simpler
So maybe that is worth keeping? I don't know of an easier way to get the right import. I always forget about I don't know what (The |
Okay, I've restored the
The global import of |
That only removed it from the global namespace, though -- it's still documented: https://github.com/sagemath/sage/blob/develop/src/doc/en/thematic_tutorials/profiling.rst?plain=1#L79 In case anyone is using it, I think we should update the docs to say "install runsnake and call it on your |
Okay, I've restored the runsnake method now and properly deprecated it. |
Weird to see the CI green. |
Thanks for the review!
You can thank @user202729 for this, who recently fixed quite a few issues. |
sagemathgh-39274: Remove `--fiximports` helper It did its job; the remaining imports are okay (or would need manual work anyway). This is part of trying to eliminate most in `misc`. <!-- ^ 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". --> ### 📝 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#39274 Reported by: Tobias Diez Reviewer(s):
sagemathgh-39274: Remove `--fiximports` helper It did its job; the remaining imports are okay (or would need manual work anyway). This is part of trying to eliminate most in `misc`. <!-- ^ 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". --> ### 📝 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#39274 Reported by: Tobias Diez Reviewer(s):
It did its job; the remaining imports are okay (or would need manual work anyway). This is part of trying to eliminate most in
misc
.📝 Checklist
⌛ Dependencies