-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Dependency specification: inaccurate description of caret requirement #8991
Comments
The misunderstanding that you propose feels unlikely! but if you have ideas to improve the docs then - by a very large margin - the best way to do that is to submit a merge request with the change you would like to see. |
I think the term we need here is "significant figures" https://en.wikipedia.org/wiki/Significant_figures "0" means different things for the logic if it's in "012.34" or "0.1234", but the referenced part of the doc mentions it like there is only one case. |
Thanks! But I believe this comment belongs more in the PR, would you mind copying/moving it there (if you have sufficient permissions)? Then we can have a more extended discussion with a clearer format :) |
I think this is overkill and suggestion in #8992 does not really make much of a dent in improving the status quo imho. I appreciate that the current version can be confusing, but I do think it gets the point across just fine. And further, I think any concerns raised about the "confusion" is mitigated by the additional examples provided in the same line.
|
@radoering Can you please add a short comment why this got closed? Thanks in advance. |
Thanks but "this solution is not good enough" shouldn't be the reason to close an issue. It makes sense for the PR but please keep this open. |
@ulgens the maintainers do not agree there is a need for this - that is enough reason And honestly this is a nitpick issue and we do not agree there is value in spending cycles debating semantics. As for why we do not agree there is a need for such a change, please see my comment above where I have clearly said the example after the concerned phrase clarifies that the OPs example is not the case. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue
On the Dependency specification page, the Caret requirements section reads:
But this seems partly inaccurate, as it means that specifying
^0.2.3
as a requirement allows version2.2.3
which has the same left-most non-zero digit i.e. 2 - but that's clearly not the case, as illustrated in the examples table further down, which mentions that a requirement of^0.2.3
will allow versions>=0.2.3 <0.3.0
.Or maybe the person who wrote the above sentence meant that the digit and position of the left-most non-zero digit shouldn't change? In that case, I would argue that the phrasing can be improved.
The text was updated successfully, but these errors were encountered: