-
-
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
Replace use of sage.misc.package.PackageNotFoundError
, is_package_installed by features
#30607
Comments
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Author: Matthias Koeppe, ... |
This comment has been minimized.
This comment has been minimized.
Changed author from Matthias Koeppe, ... to Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
Without the Jones database installed, I confirm the following works:
After doing
|
comment:11
Without lrslib installed, I confirm the following works (error is properly raised):
And then, I confirm this works as suggested by the error message:
|
comment:12
Finally, I confirm the new behavior for
|
Reviewer: Sébastien Labbé |
comment:13
To me it is a positive review. Let's wait for the patchbot to see if everything is green. |
comment:14
I think the pyflakes warning is a flake |
comment:17
Sorry for the delay in follow-up, I was busy with other TODOs this week. |
comment:18
Thanks! |
sagemathgh-37855: `sage.misc.package`: Remove deprecated code <!-- ^ 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". --> Remove code deprecated in: - sagemath#31013 (2022) - sagemath#30747 (2020) - sagemath#30607 (2020) ### 📝 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#37855 Reported by: Matthias Köppe Reviewer(s): François Bissey, Matthias Köppe
sagemathgh-37855: `sage.misc.package`: Remove deprecated code <!-- ^ 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". --> Remove code deprecated in: - sagemath#31013 (2022) - sagemath#30747 (2020) - sagemath#30607 (2020) ### 📝 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#37855 Reported by: Matthias Köppe Reviewer(s): François Bissey, Matthias Köppe
In this ticket and #30616, we get rid of the remaining uses of
PackageNotFoundError
for dealing with optional extensions etc. by usingsage.features
instead.After this ticket and #30616, only uses for optional packages that do not exist any more remain.
(see #30617 for
ginv
, #25488 forkash
)CC: @kiwifb @seblabbe @jhpalmieri
Component: build: configure
Author: Matthias Koeppe
Branch/Commit:
ec66d89
Reviewer: Sébastien Labbé
Issue created by migration from https://trac.sagemath.org/ticket/30607
The text was updated successfully, but these errors were encountered: