pyocd / pyocd/pyOCD

0.36.0: svd_data.zip is not reproducible

Open
#1,651 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.5k
Forks
560
Avg merge
1h 41m
Merged PRs (30d)
3

Description

Hi! 👋
Upon packaging 0.36.0 for Arch Linux I ran into reproducibility issues with svd_data.zip which is bundled when creating a wheel.

The timestamps in the zip file vary, which is an indicator for not supporting SOURCE_DATE_EPOCH when creating the file.

Diffoscope log:
python-pyocd-0.36.0-diffoscope.log

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 by locating how svd_data.zip is bundled when the Python wheel is created, then reproduce the package with a fixed SOURCE_DATE_EPOCH and compare the archive timestamps. Done means repeated wheel builds produce identical svd_data.zip timestamps and no reproducibility difference remains.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.