-
Notifications
You must be signed in to change notification settings - Fork 59
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 many @aliases by @deprecate_binding #1557
Conversation
87b5b63
to
806b8fa
Compare
No objection to the change, but I am curious. Is this official API? Or could this be gone in some minor version? |
9ff5906
to
c623d2f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1557 +/- ##
==========================================
- Coverage 84.17% 84.16% -0.01%
==========================================
Files 94 94
Lines 36658 36658
==========================================
- Hits 30857 30854 -3
- Misses 5801 5804 +3 ☔ View full report in Codecov by Sentry. |
It is not official API, but it has been around since at least Julia 1.0, and there is an open issue requesting that it be made official. All in all I think it is very unlikely that this is removed in a patch version of Julia. It might be removed in 1.11 or 1.12 or whatever (though I again think it is unlikely), but I hope that by then we'll have moved these one step further (either by switching them to use plain |
Oh, and: this breaks the CI tests of our downstream packages as they test with |
Deprecating stuff is not breaking! |
734dc89
to
6424be4
Compare
aee6e39
to
79555e0
Compare
(Old comment follows which I wrote a week or so ago but apparently forgot to submit sigh): The failures are due to the use of Indeed we use
Note that even in OSCAR 0.13.0, this is just a generic function:
How do we proceed? We can of course just keep this alias. But I wonder if this may not lead to other kinds of confusion down the line (after all, We could of course change Oscar to use |
It could be replaced for |
But I don't think that the name |
Discussed it with @fieker: we'll remove |
This way any access to them trigger a depwarning (if those are enabled, as they are in our CI). This is a first step to eventually removing these aliases.
They are already provided by AbstractAlgebra.
79555e0
to
1df6741
Compare
Also drop two obsolete redundant uses of
@alias
. Also includes the fixes from PR #1556.Companion to Nemocas/AbstractAlgebra.jl#1469