python / python/cpython

Have zipapp respect SOURCE_DATE_EPOCH

Open
#89,507 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.11 stdlib type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 45344
Nosy @bign8
Files
  • zipapp-respect-source-date-epoch.patch: Patch to ensure zipapp respects SOURCE_DATE_EPOCH
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2021-10-02.00:10:31.637>
    labels = ['type-feature', 'library', '3.11']
    title = 'Have zipapp respect SOURCE_DATE_EPOCH'
    updated_at = <Date 2021-10-02.00:10:31.637>
    user = 'https://github.com/bign8'
    

    bugs.python.org fields:

    activity = <Date 2021-10-02.00:10:31.637>
    actor = 'bign8'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-10-02.00:10:31.637>
    creator = 'bign8'
    dependencies = []
    files = ['50320']
    hgrepos = []
    issue_num = 45344
    keywords = ['patch']
    message_count = 1.0
    messages = ['403041']
    nosy_count = 1.0
    nosy_names = ['bign8']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue45344'
    versions = ['Python 3.11']
    

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    Research direction

    Start with the zipapp implementation and the uploaded zipapp-respect-source-date-epoch.patch referenced in the issue. Check how SOURCE_DATE_EPOCH should affect archive timestamps, then run the relevant zipapp tests or add coverage demonstrating reproducible output when the variable is set.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    tooling
    Issue type
    Feature
    Difficulty
    3/5
    Estimated time
    1-2 days
    Activity status
    Stale
    Clarity
    Mostly clear
    Newbie friendliness
    42/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.