forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
info-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Type: Bug
Behaviour
The extension is unable to parse TOML files which have lists containing a mixture of types.
This is an issue when using Dependency groups such as:
[dependency-groups]
dev = [
"ruff==0.12.9",
{ include-group = "test" },
]
test = ["pytest"]
Steps to reproduce:
- Add the above section to a project using
pyproject.toml
, and watch the logs.
Additional Details
The error originates from the isPipInstallableToml function and is in fact an error within the upstream @iarna/toml
package. See the upstream bug report.
Extension version: 2025.13.2025082101
VS Code version: Code - Insiders 1.104.0-insider (986f8e6054200db6e8215bbcb216f3cd2429eb4d, 2025-08-21T05:03:53.575Z)
OS version: Darwin arm64 24.6.0
Modes:
Metadata
Metadata
Assignees
Labels
info-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team