[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [core-updates] issues with python's zip

From: Brian Cully
Subject: Re: [core-updates] issues with python's zip
Date: Wed, 19 Apr 2023 23:20:02 -0400

Andreas Enge <> writes:

> I came across this:
> So apparently when creating a zipfile object (this is the constructor
> we are looking at, right?), one can pass a parameter that tells it to
> not bother about time stamps of old files.
> Then it is a matter of finding out where it happens. I think it is
> line 450 of (in my case)
> /gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/site-packages/setuptools/command/
> which reads
>        z = zipfile.ZipFile(zip_filename, mode, compression=compression)
> Maybe we should patch our Python so that it becomes
>        z = zipfile.ZipFile(zip_filename, mode, compression=compression, 
> strict_timestamps=False)
> ?
> (not before the core-updates merge, however)

Thanks for digging into this. Maybe it makes sense to patch in 
setuptools, then, rather than chase down every failed build?

> But is a bit surprising that it does not happen all the time;
> or are only a few packages calling

I don't know. According to it's an older 
format, which has been superseded by ‘wheel’. I know I see wheel a fair amount, 
but I'm not much of a Python hacker.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]