What is the expectation when major version clashes occur between a library and your code? #577
Replies: 2 comments 3 replies
-
Inko's approach to including dependencies is to basically dump all of them in Other than maintainers having to be careful about bumping major versions and coordinating this with depending libraries, I haven't really figured out yet what would work well given the above constraints 😕 |
Beta Was this translation helpful? Give feedback.
-
0.13.1 was just released, which includes support for multiple major versions of the same package. Some extra details are found here. |
Beta Was this translation helpful? Give feedback.
-
https://docs.inko-lang.org/manual/main/getting-started/modules/#version-selection says:
The way I read that is that Inko is setting an implicit upper bound constraint of the major version. I'm curious as to how you expect folks to handle clashes due to this (e.g., a library I use wants
json >= 1.8.5
, but I want to usejson >= 2.0.0
directly)? In the Python community where we also have a flat namespace for libraries, and thus only a single version of anything for a program, we have found upper bounds as something to be avoided. Coming from the community and viewpoint, I'm trying to understand how Inko suggests people handle this situation?Beta Was this translation helpful? Give feedback.
All reactions