Skip to content

__file__ usage + mypyc leads to non-reproducible builds #421

@mr-c

Description

@mr-c

Hello again,

The usage of __file__ gets compiled in by mypyc, and in fact it is using the wrong path (the build path, not the post-installed path). Perhaps a more dynamic usage would work better?

Due to Debian's new reproducibility requirement, I will have to turn off mypyc compilation of psygnal until a fix can be found.

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/psygnal.html
https://reproduce.debian.net/amd64/api/v1/builds/259993/artifacts/669198/diffoscope

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions