Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2362

Added __pycache__ directories make builds unreproducible

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.7
    • 2.6.4
    • Packaging & Deployment
    • None
    • linux

      Hi! When packaging 2.6.4 for Arch Linux I realized that the package is not reproducible.

      Please find attached the diffoscope output.

       

      It appears that `_pycache_` directories have leaked into the sdist tarball and should be removed/excluded.

      When removing the directories in question, the package becomes reproducible again.

          [PICARD-2362] Added __pycache__ directories make builds unreproducible

          Looks good now, no more _pycache_ in the latest build on https://github.com/metabrainz/picard/actions/runs/1583843606

          Thanks for reporting!

          Philipp Wolfer added a comment - Looks good now, no more _ pycache _ in the latest build on https://github.com/metabrainz/picard/actions/runs/1583843606 Thanks for reporting!

          GitHub Bot added a comment -

          See code changes in pull request #1997 submitted by phw.

          GitHub Bot added a comment - See code changes in pull request #1997 submitted by phw .

          Good catch, that's caused by some Python code in test/data that creates the pycache when tests are being run. I'll see to get this fixed before our 2.7 release

          Philipp Wolfer added a comment - Good catch, that's caused by some Python code in test/data that creates the pycache when tests are being run. I'll see to get this fixed before our 2.7 release

            outsidecontext Philipp Wolfer
            dvzrv David Runge
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Version Package
                2.7