Charlie Marsh
f946d46273
Avoid allocating a max-size buffer ( #1123 )
...
This seems potentially-dangerous with no upside.
2024-01-26 14:27:19 +00:00
Charlie Marsh
3e86c80874
Set buffer size when unzipping ( #1101 )
...
The zip archive includes an uncompressed size header, which we can use
to preallocate.
2024-01-25 17:58:36 +00:00
konsti
95f3cca28d
Use fs_err in more places ( #926 )
...
Before:
```
error: Failed to download distributions
Caused by: Failed to fetch wheel: jaxlib==0.4.23+cuda12.cudnn89
Caused by: Directory not empty (os error 39)
```
After:
```
error: Failed to download distributions
Caused by: Failed to fetch wheel: jaxlib==0.4.23+cuda12.cudnn89
Caused by: failed to rename file from /home/konsti/.cache/puffin/.tmpcG7tVP/jaxlib-0.4.23+cuda12.cudnn89-cp310-cp310-manylinux2014_x86_64.whl to /home/konsti/.cache/puffin/wheels-v0/index/9ff50b883297fa9d/jaxlib/jaxlib-0.4.23+cuda12.cudnn89-cp310-cp310-manylinux2014_x86_64
Caused by: Directory not empty (os error 39)
```
2024-01-15 09:39:33 +00:00
bojanserafimov
10227a74f8
Unzip while downloading ( #856 )
2024-01-11 09:41:46 -05:00
Charlie Marsh
1a62ca0c62
Move source dist extraction into extract crate ( #649 )
2023-12-14 05:56:49 +00:00
Charlie Marsh
db7e2dedbb
Move archive extraction into its own crate ( #647 )
...
We have some shared utilities beyond `puffin-build` and
`puffin-distribution`, and further, I want to be able to access the
sdist archive extraction logic from `puffin-distribution`. This is
really generic, so moving into its own crate.
2023-12-14 04:49:09 +00:00