[tahoe-lafs-trac-stream] [tahoe-lafs] #1342: rename tests of packaging and improve them to avoid spurious system-dependent test failures

tahoe-lafs trac at tahoe-lafs.org
Sun May 13 06:35:06 UTC 2012


#1342: rename tests of packaging and improve them to avoid spurious system-
dependent test failures
-----------------------------+------------------------
     Reporter:  zooko        |      Owner:  davidsarah
         Type:  enhancement  |     Status:  new
     Priority:  minor        |  Milestone:  soon
    Component:  unknown      |    Version:  1.8.1
   Resolution:               |   Keywords:  cleanup
Launchpad Bug:               |
-----------------------------+------------------------

Comment (by Brian Warner <warner@…>):

 In [changeset:488b6f8ccdd50eb31057b544b551db14f325fb46/git]:
 {{{
 #!CommitTicketReference repository="git"
 revision="488b6f8ccdd50eb31057b544b551db14f325fb46"
 test-dont-use-too-old-dep.py: fix tarfile timestamps

 It turns out that TarFile.addfile() doesn't provide a reasonable default
 timestamp, resulting in files dated to 1970 (they're probably wearing
 bell-bottoms and listening to disco too). Then, when the bdist_egg command
 tries to create a *zip*file with those files, it explodes because zipfiles
 cannot handle timestamps before 1980 (it prefers boomboxes and jackets
 with
 straps on the shoulders, thank you very much).

 This puts a modern time.time() on the members of the tarfile, allowing
 future
 cryptocoderarchaeologists the opportunity to make fun of fashion trends
 from
 the user's chosen era, rather than an artificially older one.

 refs #1342
 }}}

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1342#comment:26>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list