-
-
Notifications
You must be signed in to change notification settings - Fork 116
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 deprecations, weed out dependencies #765
Conversation
Codecov Report
@@ Coverage Diff @@
## master #765 +/- ##
==========================================
+ Coverage 79.00% 79.24% +0.23%
==========================================
Files 4 3 -1
Lines 662 660 -2
==========================================
Hits 523 523
+ Misses 139 137 -2 Continue to review full report at Codecov.
|
SharedArrays = "1a1011a3-84de-559e-8e89-a11a2f7dc383" | ||
Sockets = "6462fe0b-24de-5631-8697-dd941f90decc" | ||
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" | ||
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this move to extras?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately no, due to
Lines 489 to 496 in a2de107
# https://github.com/JuliaLang/julia/pull/27516 | |
if VERSION < v"1.2.0-DEV.77" | |
import Test: @inferred | |
using Core.Compiler: typesubtract | |
macro inferred(allow, ex) | |
_inferred(ex, __module__, allow) | |
end |
Before going ahead here, I'd like to get some feedback; bumping the major version shouldn't be done too easily. |
It seems like an accident that these are still here since the binding was removed in 1.0 and AFAIU this package dropped everything before that. Also, since 1.6 is the LTS and we are doing a breaking version, I would suggest removing everything that has to do with the pre 1.6 era. This would for example allow us to drop the Test dependency as well. |
I like that. Packages still supporting pre-1.6 julia could nevertheless use almost everything Compat supports now and at the same time declare compatibility with the new, trimmed down Compat version. Only things that were not exported by Compat and hence accessed with explicit qualification would be problematic. Still, we probably shouldn't rush this. But this PR has been sitting idle for more than a month, so nobody is rushing anything here 😄 I'll add a commit dropping anything pre-1.6 so we can see what it feels like. |
Opened separate PR at #767 instead. |
Superseded by #767. |
Closes #764, which is the sole motivation for this PR at this point. Although I wouldn't expect anyone to be relying on those deprecations, it's technically breaking, so bumps the major version to 4.
Going forward, we might pick up new dependencies if we add compat code for other stdlibs. If we want to avoid that, we could think about introducing individual compat packages like
CompatDates
,CompatLinearAlgebra
etc., But let's cross that bridge when we get there---if ever; the relatively small number of dependencies we have now should hopefully be ok.