-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
Controlled type-piracy #1390
Comments
@timholy I think there should be at least a warning if packages specified by |
Would I am not sure it is a good idea to introduce this other level of compatibility. Something like this opens a lot of questions and it's applicability seems to be quite narrow. |
Yeah, I'd really want to understand exactly what it does and what problems it solves. |
This is a very clever use of version bound! But I think it requires Pkg to treat compatibility information of non- I just realized that a warning system for using ConflictWarnings
function __init__()
conflicting_with(
PkgId(..., ...),
PkgId(..., ...),
...,
)
end As for (v1.3) pkg> st IntervalSets
Status `~/.julia/environments/v1.3/Project.toml`
[8197267c] IntervalSets v0.3.2 [`~/.julia/dev/IntervalSets`]
Extended by:
[d1acc4aa] IntervalArithmetic v0.16.1 when [extending]
IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953" But then I realized that it can also be done in a third-party package by scanning the method table and it would produce more accurate result. So, I'm closing this now as it turned out almost everything I thought that would be useful can be done in third-party packages. |
Quoting discussion with @timholy in JuliaMath/IntervalSets.jl#56 (comment)
The text was updated successfully, but these errors were encountered: