-
Notifications
You must be signed in to change notification settings - Fork 1.4k
(fix) Handle Poetry group metadata without dependencies table #14689
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
5d46db7
fix(python): handle Poetry groups without dependencies table
julia-thorn b779d01
Merge branch 'main' into main
julia-thorn 98cba57
Fix lint issue
julia-thorn 93b7b66
Fix CoPilot suggestions
julia-thorn 8ec7b81
Potential fix for pull request finding
julia-thorn 7c37afb
Merge branch 'main' into main
julia-thorn c6d32ea
Merge branch 'main' into main
julia-thorn 0ba52f1
Fix flaky smoke test
julia-thorn 2cc12a3
Merge branch 'main' into main
julia-thorn 133a269
Fix security alert
julia-thorn a189512
Revert "Fix security alert"
julia-thorn ec7d833
Revert "Fix flaky smoke test"
julia-thorn 9b724ec
Merge branch 'main' into main
julia-thorn 1807ab5
Merge branch 'main' into main
julia-thorn 3c44fe0
Merge branch 'main' into main
julia-thorn 09016db
trigger ci
julia-thorn 67e1462
trigger ci
julia-thorn c860ee3
trigger ci
julia-thorn e12d623
trigger ci
julia-thorn 99348ab
Merge branch 'main' into main
julia-thorn d286126
Merge branch 'main' into main
julia-thorn 1217433
Merge branch 'main' into main
julia-thorn 18768d8
Merge branch 'main' into main
julia-thorn 043fe42
Merge branch 'main' into main
julia-thorn 7267577
Merge branch 'main' into main
julia-thorn 7dcc88f
Merge branch 'main' into main
markhallen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
python/spec/fixtures/pyproject_files/poetry_group_optional_without_dependencies.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| [tool.poetry] | ||
| name = "poetry-group-optional-without-dependencies" | ||
| version = "0.1.0" | ||
| description = "" | ||
| authors = ["Dependabot <support@dependabot.com>"] | ||
|
|
||
| [tool.poetry.dependencies] | ||
| python = ">=3.11" | ||
|
|
||
| [dependency-groups] | ||
| dev = [ | ||
| "requests==2.18.0", | ||
| ] | ||
| gpu = [ | ||
| "onnxruntime-gpu==1.23.2", | ||
| ] | ||
|
|
||
| [tool.poetry.group.gpu] | ||
| optional = true |
20 changes: 20 additions & 0 deletions
20
python/spec/fixtures/pyproject_files/poetry_metadata_only_group.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| [tool.poetry] | ||
| name = "poetry-metadata-only-group" | ||
| version = "2.0.0" | ||
| homepage = "https://github.com/roghu/py3_projects" | ||
| license = "MIT" | ||
| readme = "README.md" | ||
| authors = ["Dependabot <support@dependabot.com>"] | ||
| description = "Various small python projects." | ||
|
|
||
| [tool.poetry.dependencies] | ||
| python = "3.11.1" | ||
| requests = "2.18.0" | ||
|
|
||
| [dependency-groups] | ||
| gpu = [ | ||
| "onnxruntime-gpu==1.23.2", | ||
| ] | ||
|
|
||
| [tool.poetry.group.gpu] | ||
| optional = true |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.