Skip to content

mtime set to 0 on setup.py and PKG-INFO in sdist package #670

@leos

Description

@leos
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: Ubuntu 18.04.1 LTS
  • Poetry version: 0.12.10
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

poetry build creates an sdist tarball. If you unpack that tarball, both the setup.py file and the PKG-INFO file have an mtime of 0. ctime and atime are set properly.

This is clearly visible if you do an ls -al in the unpacked tarball directory. Or you can do stat -c '%X %Y %Z' setup.py.

This should repro with any pyproject.toml but if it doesn't, happy to upload mine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions