home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   linux.debian.bugs.dist      Ohh some weird Debian bug report thing      28,835 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 26,858 of 28,835   
   Colin Watson to Chris Lamb   
   Bug#1123664: zope.deferredimport: please   
   09 Feb 26 03:50:01   
   
   From: cjwatson@debian.org   
      
   Control: forwarded -1 https://github.com/zopefoundation/zope.def   
   rredimport/pull/19   
      
   On Fri, Dec 19, 2025 at 08:26:55AM -0800, Chris Lamb wrote:   
   >Whilst working on the Reproducible Builds effort [0], we noticed that   
   >zope.deferredimport could not be built reproducibly.   
   >   
   >This is because the testsuite regenerates a number of samples, and these   
   >generated files differ from the ones that ship with the source package.   
   >This means that if the tests are skipped, the binary pacakge contains   
   >slightly different contents.   
   >   
   >To fix this, I've attached a patch that prevents these sample files being   
   >distributed in the binary package completely; at a quick glance, they   
   >seem to be generated from docstrings in the documentation and aren't meant   
   >to be actually used or even read 'standalone'... but I'm sure as   
   >maintainer you will have a better handle on this.   
      
   As it stands, this patch breaks autopkgtests, because they expect to be   
   able to import the samples from a directory relative to the Python   
   package.   
      
   I think a better fix would be to update the doctest so that the sample   
   files it generates match the files shipped in the package, since that   
   only stopped being the case recently.  I sent a PR upstream for this   
   (https://github.com/zopefoundation/zope.deferredimport/pull/19) and will   
   apply it in Debian.   
      
   Thanks,   
      
   --   
   Colin Watson (he/him)                              [cjwatson@debian.org]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca