You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9391f97
Browse filesBrowse the repository at this point in the historyBrowse files
"Expected the output filename to start with `pylock.` and end with `.toml` (e.g., `pylock.toml`, `pylock.dev.toml`); `{file_name}` won't be recognized as a `pylock.toml` file in subsequent commands",
162
+
"Expected the output filename to be `pylock.toml` or `pylock.<name>.toml`, where `<name>` is non-empty and contains no dots; found `{file_name}`",
Copy file name to clipboardExpand all lines: crates/uv/src/commands/project/export.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -360,7 +360,7 @@ pub(crate) async fn export(
360
360
{
361
361
if !is_pylock_toml(file_name){
362
362
returnErr(anyhow!(
363
-
"Expected the output filename to start with `pylock.` and end with `.toml` (e.g., `pylock.toml`, `pylock.dev.toml`); `{file_name}` won't be recognized as a `pylock.toml` file in subsequent commands",
363
+
"Expected the output filename to be `pylock.toml` or `pylock.<name>.toml`, where `<name>` is non-empty and contains no dots; found `{file_name}`",
error: Expected the output filename to start with `pylock.` and end with `.toml` (e.g., `pylock.toml`, `pylock.dev.toml`); `test.toml` won't be recognized as a `pylock.toml` file in subsequent commands
16955
+
error: Expected the output filename to be `pylock.toml` or `pylock.<name>.toml`, where `<name>` is non-empty and contains no dots; found `test.toml`
16956
+
");
16957
+
16958
+
uv_snapshot!(context.filters(), context
16959
+
.pip_compile()
16960
+
.arg("requirements.txt")
16961
+
.arg("--universal")
16962
+
.arg("--format")
16963
+
.arg("pylock.toml")
16964
+
.arg("-o")
16965
+
.arg("pylock..toml"), @"
16966
+
exit_code: 2 (failure)
16967
+
----- stderr -----
16968
+
error: Expected the output filename to be `pylock.toml` or `pylock.<name>.toml`, where `<name>` is non-empty and contains no dots; found `pylock..toml`
16969
+
");
16970
+
16971
+
uv_snapshot!(context.filters(), context
16972
+
.pip_compile()
16973
+
.arg("requirements.txt")
16974
+
.arg("--universal")
16975
+
.arg("--format")
16976
+
.arg("pylock.toml")
16977
+
.arg("-o")
16978
+
.arg("pylock.foo.bar.toml"), @"
16979
+
exit_code: 2 (failure)
16980
+
----- stderr -----
16981
+
error: Expected the output filename to be `pylock.toml` or `pylock.<name>.toml`, where `<name>` is non-empty and contains no dots; found `pylock.foo.bar.toml`
error: `test.toml` is not a valid PEP 751 filename: expected TOML file to start with `pylock.` and end with `.toml` (e.g., `pylock.toml`, `pylock.dev.toml`)
592
+
error: `test.toml` is not a valid PEP 751 filename: expected `pylock.toml` or `pylock.<name>.toml`, where `<name>` is non-empty and contains no dots
error: `pylock..toml` is not a valid PEP 751 filename: expected `pylock.toml` or `pylock.<name>.toml`, where `<name>` is non-empty and contains no dots
611
+
"
612
+
);
613
+
614
+
uv_snapshot!(context.pip_install()
615
+
.arg("-r")
616
+
.arg("pylock.foo.bar.toml"), @"
617
+
exit_code: 2 (failure)
618
+
----- stderr -----
619
+
error: `pylock.foo.bar.toml` is not a valid PEP 751 filename: expected `pylock.toml` or `pylock.<name>.toml`, where `<name>` is non-empty and contains no dots
error: Expected the output filename to start with `pylock.` and end with `.toml` (e.g., `pylock.toml`, `pylock.dev.toml`); `test.toml` won't be recognized as a `pylock.toml` file in subsequent commands
5015
+
Resolved 2 packages in [TIME]
5016
+
error: Expected the output filename to be `pylock.toml` or `pylock.<name>.toml`, where `<name>` is non-empty and contains no dots; found `test.toml`
error: Expected the output filename to be `pylock.toml` or `pylock.<name>.toml`, where `<name>` is non-empty and contains no dots; found `pylock..toml`
error: Expected the output filename to be `pylock.toml` or `pylock.<name>.toml`, where `<name>` is non-empty and contains no dots; found `pylock.foo.bar.toml`
0 commit comments