David Hotham
David Hotham
I doubt that poetry will ever lock a single package split across two sources > separate indexes are used for wheels and sdists I have never heard of anyone doing...
I understand the ask, I am telling you that I don't expect it ever to happen.
I think most of us would find it surprising for `TextDocument.lines` to return something other than the lines in the text document.
> At the very least, it's possible for the cursor to be positioned outside the lines of a document. sure. But I find it very artificial to get from there...
And what if the server wants to - count the lines in the document, or - lint that it has a posix-compliant file in which all lines (including the last)...
I intend only to be making plain technical points - it's true that I am relatively concise in doing so. In particular, noting that _I_ have not thought of everything...
The code you want [already exists](https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/factory.py#L750). Try `poetry check`.
switching to policy "EnterpriseCluster" works around. I see that #381 asks for similar.