-
-
Notifications
You must be signed in to change notification settings - Fork 482
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 interactive confirmation for installing experimental packages #37995
Remove interactive confirmation for installing experimental packages #37995
Conversation
Documentation preview for this PR (built with commit 9e62617; changes) is ready! 🎉 |
Is it worth keeping the old warning "This probably won't work at all for you" (etc.)? The new version has the distinct advantage that the error appears in the log file, whereas the old version left an empty log file if you didn't said "y" to the question. (I'm guessing that the error is just as likely to get buried in other output, so it's great that it can now appear somewhere.) |
I don't think this kind of warning adds anything |
Okay, positive review. |
Thanks! |
…rimental packages <!-- ^ 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". --> This removes some complexity and eliminates the pitfall that Sage is waiting for confirmation from the user but the query is hidden in long terminal output from other package installations. With this PR we just exit with an error and tell users what to do. Fixes sagemath#35670. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] 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#37995 Reported by: Matthias Köppe Reviewer(s):
…rimental packages <!-- ^ 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". --> This removes some complexity and eliminates the pitfall that Sage is waiting for confirmation from the user but the query is hidden in long terminal output from other package installations. With this PR we just exit with an error and tell users what to do. Fixes sagemath#35670. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] 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#37995 Reported by: Matthias Köppe Reviewer(s):
…rimental packages <!-- ^ 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". --> This removes some complexity and eliminates the pitfall that Sage is waiting for confirmation from the user but the query is hidden in long terminal output from other package installations. With this PR we just exit with an error and tell users what to do. Fixes sagemath#35670. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] 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#37995 Reported by: Matthias Köppe Reviewer(s):
This removes some complexity and eliminates the pitfall that Sage is waiting for confirmation from the user but the query is hidden in long terminal output from other package installations.
With this PR we just exit with an error and tell users what to do.
Fixes #35670.
📝 Checklist
⌛ Dependencies