Skip to content

Commit 0499ba9

Browse files
authored
πŸ› Fix archive creation of Windows files inside WSL (fastapilabs#178)
1 parent fb41cbc commit 0499ba9

3 files changed

Lines changed: 113 additions & 118 deletions

File tree

β€Žpyproject.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies = [
3737
"pydantic[email] >= 2.8.0; python_version == '3.13'",
3838
"pydantic[email] >= 2.12.0; python_version >= '3.14'",
3939
"sentry-sdk >= 2.20.0",
40-
"fastar >= 0.8.0",
40+
"fastar >= 0.10.0",
4141
]
4242

4343
[project.optional-dependencies]

β€Žsrc/fastapi_cloud_cli/commands/deploy.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def archive(path: Path, tar_path: Path) -> Path:
121121
logger.debug("Archive will be created at: %s", tar_path)
122122

123123
file_count = 0
124-
with fastar.open(tar_path, "w:zst") as tar:
124+
with fastar.open(tar_path, "w:zst", sparse=False) as tar:
125125
for filename in files:
126126
if filename.is_dir():
127127
continue

0 commit comments

Comments
Β (0)