Skip to content

Commit cd5ecb9

Browse files
parsing mixed-value toml arrays (#25585)
Fixes: #25413 --------- Signed-off-by: JP-Ellis <[email protected]> Co-authored-by: JP-Ellis <[email protected]>
1 parent a51b29e commit cd5ecb9

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

package-lock.json

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1705,7 +1705,7 @@
17051705
"webpack": "webpack"
17061706
},
17071707
"dependencies": {
1708-
"@iarna/toml": "^2.2.5",
1708+
"@iarna/toml": "^3.0.0",
17091709
"@vscode/extension-telemetry": "^0.8.4",
17101710
"arch": "^2.1.0",
17111711
"fs-extra": "^11.2.0",

src/test/pythonEnvironments/creation/pyProjectTomlContext.unit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function getInstallableToml(): typemoq.IMock<TextDocument> {
2828
.setup((p) => p.getText(typemoq.It.isAny()))
2929
.returns(
3030
() =>
31-
'[project]\nname = "spam"\nversion = "2020.0.0"\n[build-system]\nrequires = ["setuptools ~= 58.0", "cython ~= 0.29.0"]\n[project.optional-dependencies]\ntest = ["pytest"]\ndoc = ["sphinx", "furo"]',
31+
'[project]\nname = "spam"\nversion = "2020.0.0"\n[build-system]\nrequires = ["setuptools ~= 58.0", "cython ~= 0.29.0"]\n[dependency-groups]\ndev = ["ruff", { include-group = "test" }]\ntest = ["pytest"]',
3232
);
3333
return pyprojectToml;
3434
}

0 commit comments

Comments
 (0)