Skip to content

Extract python version from explicit main group (poetry)#745

Open
ticosax wants to merge 1 commit into
actions:mainfrom
ticosax:poetry-alternative-python-version-path
Open

Extract python version from explicit main group (poetry)#745
ticosax wants to merge 1 commit into
actions:mainfrom
ticosax:poetry-alternative-python-version-path

Conversation

@ticosax

@ticosax ticosax commented Oct 18, 2023

Copy link
Copy Markdown

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.
  • Mark if tests were added or updated to cover the changes.

@ticosax ticosax requested a review from a team as a code owner October 18, 2023 10:58
@ticosax ticosax force-pushed the poetry-alternative-python-version-path branch from 2039a9c to b052ea7 Compare October 18, 2023 15:01
As documented here
https://python-poetry.org/docs/managing-dependencies/#dependency-groups

```toml
[tool.poetry.dependencies]
```
and
```toml
[tool.poetry.group.main.dependencies]
```
Are equivalent
@ticosax ticosax force-pushed the poetry-alternative-python-version-path branch from b052ea7 to 2eb6c43 Compare November 8, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant