[BUG] Incorrect parsing of tool.poetry.dependencies
in pyproject.toml
#534
Labels
bug
Something isn't working
tool.poetry.dependencies
in pyproject.toml
#534
Describe the bug
tool.poetry.dependencies
dependence likellama-index-core = "^0.10.11.post1"
are incorrectly parsed asllama-index-core => 0.10.11.post1,<0.10.12
while they should be parsed asllama-index-core => 0.10.11.post1,<0.11
based on the documentation in https://python-poetry.org/docs/dependency-specification/#caret-requirementsTo Reproduce
Steps to reproduce the behavior:
Expected behavior
Given the input
llama-index-core = "^0.10.11.post1"
it should returnllama-index-core => 0.10.11.post1,<0.11
rather thanllama-index-core => 0.10.11.post1,<0.10.12
.Environment:
2.5.3
The text was updated successfully, but these errors were encountered: