We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0f5bb6 + bec3af8 commit 580faeeCopy full SHA for 580faee
src/install.rs
@@ -249,6 +249,10 @@ pub fn download_and_install_package(
249
let tar = GzDecoder::new(&archive_file);
250
let mut archive = Archive::new(tar);
251
252
+ // Some python archives don't have file create times set which
253
+ // breaks wheel builds. Don't preserve mtime fixes this.
254
+ archive.set_preserve_mtime(false);
255
+
256
// We iterate over and copy entries instead of running `Archive.unpack`, since
257
// symlinks in the archive may cause the unpack to break. If this happens, we want
258
// to continue unpacking the other files.
0 commit comments