prefix-dev / rip

Solve and install Python packages quickly with rip (pip in Rust)
https://prefix.dev
BSD 3-Clause "New" or "Revised" License
643 stars 21 forks source link

fix: only write out amount of bytes read #203

Closed Kelwing closed 7 months ago

Kelwing commented 7 months ago

Fixes a bug when pulling sdists where data from a previous chunk will be written to the end of the final chunk, causing gzip to throw errors.

tdejager commented 7 months ago

Great find indeed @Kelwing thanks!