Skip to content
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

[BUG] Incorrect parsing of tool.poetry.dependencies in pyproject.toml #534

Open
jan-janssen opened this issue Apr 10, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@jan-janssen
Copy link

Describe the bug
tool.poetry.dependencies dependence like llama-index-core = "^0.10.11.post1" are incorrectly parsed as llama-index-core => 0.10.11.post1,<0.10.12 while they should be parsed as llama-index-core => 0.10.11.post1,<0.11 based on the documentation in https://python-poetry.org/docs/dependency-specification/#caret-requirements

To Reproduce
Steps to reproduce the behavior:

grayskull pypi llama-index-cli=0.1.11

Expected behavior
Given the input llama-index-core = "^0.10.11.post1" it should return llama-index-core => 0.10.11.post1,<0.11 rather than llama-index-core => 0.10.11.post1,<0.10.12.

Environment:

  • grayskull --version
    2.5.3
@jan-janssen jan-janssen added the bug Something isn't working label Apr 10, 2024
@jan-janssen jan-janssen changed the title [BUG] Title of the bug [BUG] Incorrect parsing of tool.poetry.dependencies in pyproject.toml Apr 10, 2024
@jan-janssen
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant