setup-python icon indicating copy to clipboard operation
setup-python copied to clipboard

Extract python version from explicit main group (poetry)

Open ticosax opened this issue 2 years ago • 0 comments

Description: Add support to detect python version from pyproject.toml file managed by poetry where the main group is using its fully qualified name. As documented here https://python-poetry.org/docs/managing-dependencies/#dependency-groups

[tool.poetry.dependencies]

and

[tool.poetry.group.main.dependencies]

Are equivalent

Related issue: N/A

Check list:

  • [ ] Mark if documentation changes are required.
  • [x] Mark if tests were added or updated to cover the changes.

ticosax avatar Oct 18 '23 10:10 ticosax