Replies: 15 comments 8 replies
-
OffsetArrays is already pulled in by the image ecosystem, so there's no point removing it. Distributions and Unitful could possibly go into extensions though, especially since the Unitful support seems to be more or less isolated to one file. The only potential issue that I can see is supporting older versions of Julia. Introducing Requires would have a pretty bad effect on load time... |
Beta Was this translation helpful? Give feedback.
-
Oh I definitely think it shouldn't use Requires in any case. Either only support Julia 1.9+, or keep strong deps before 1.9. |
Beta Was this translation helpful? Give feedback.
-
I looked at Makie heavy deps, and all/most of them are currently used in a manner that doesn't mesh well with switching to weakdeps. I wonder what do you guys think about making it and other deps weak, so that the user has to do This change would greatly reduce Makie size and installation time and I believe is generally beneficial to users. |
Beta Was this translation helpful? Give feedback.
-
I like the idea of having something like a MakieFull.jl for that. It might be easier on the user to have
This would be nice. DelaunayTriangulation is also used for |
Beta Was this translation helpful? Give feedback.
-
I'm fine with either decision, either
Personally, I think the first one is more natural. And for the majority of users who only use simple plots its result will just be "Makie compiles and loads faster" :)
Indeed, this kind of change is obviously breaking, and requires a new version. Although, I think it's much easier to communicate it cleanly compared to other breaking changes (such as the recent switch from |
Beta Was this translation helpful? Give feedback.
-
I forgot about this obvious option 😅 . I think with this it would be a good idea. Any breakage is easy to fix with this type of error message. MakieFull is probably better with that in mind. I only ever do |
Beta Was this translation helpful? Give feedback.
-
Yeah, backends like Let me know if this idea is supported by Makie devs, if so I myself can start moving deps -> weakdeps. |
Beta Was this translation helpful? Give feedback.
-
There is a related issue here #2505 |
Beta Was this translation helpful? Give feedback.
-
Since #2505 was converted into a discussion for some reason, let me harvest another potential candidate from over there to this list: |
Beta Was this translation helpful? Give feedback.
-
We want issues to be things that we can directly address and eventually close, so I'm moving the ones that are more open ended, e.g. plans and discussions for changes |
Beta Was this translation helpful? Give feedback.
-
OK -- they are marked "Done" by your automation, though, which seems confusing to me at least, as this does not seem to reflect that status? https://github.com/orgs/MakieOrg/projects/5/views/1 😕 I hope you'll manage to keep an overview, I find the Discussions interface confusing and suboptimal to retain a grasp on things 😅 , things just tend to get lost in there -- in Issues you can at least tag and milestone appropriately.. |
Beta Was this translation helpful? Give feedback.
-
I don't think I have control over that. Github just does that when I convert to discussion |
Beta Was this translation helpful? Give feedback.
-
Any hope for extensions in Makie?.. I believe the main thing required here is the decision from Makie devs that it's the right direction to follow. That is, whether it's ok that stuff like Turning everything into weakdeps in |
Beta Was this translation helpful? Give feedback.
-
Thinking about this every time I see Makie precompiling yet again :) |
Beta Was this translation helpful? Give feedback.
-
You likely want JuliaLang/julia#55516 |
Beta Was this translation helpful? Give feedback.
-
I wonder what the Makie devs think about embracing julia package extensions for various deps? Aside from reducing compilation/loading times, these may in practice help cleaning up the overall design.
Those that immediately come to mind are Distributions, OffsetArrays, Unitful – these probably can be made weakdeps without any changes to the interface.
There are a few more that are relatively heavy, but less straightforward to remove: eg KernelDensity that is used in some recipes.
Beta Was this translation helpful? Give feedback.
All reactions