Re: reproducible .pyc files (& python-for-android)

2021-03-11 Thread Felix C. Stegerman
* "Bernhard M. Wiedemann" [2021-01-04 12:48]: > This is not a timestamp issue, though. If those are varying, they are in > the header (first 12 bytes) of the .pyc. > > > │ 00f0: 6d5a 0d62 6469 7374 5f77 696e 696e 7374 mZ.bdist_wininst > │ -0100: 5a05 6368 6563 6b5a 0675 706c 6f61 644e

Re: reproducible .pyc files (& python-for-android)

2021-01-04 Thread Felix C. Stegerman
Hi Frederik, * Frederik Rietdijk [2021-01-04 14:48]: > Recently I spent some time again as well on making the Python interpreters > in Nixpkgs build reproducibly. The following Nix expression results in > deterministic builds of the 3.x interpreters we have. Search for > `determinis` and you

Re: reproducible .pyc files (& python-for-android)

2021-01-04 Thread Leo Wandersleb
> In Debian, Holger Levsen uploaded 540 packages ... I sort of get what this means I think ... Maybe this could be dumbed down a bit, especially as the in-depth links are there. On 1/2/21 11:25 AM, Felix C. Stegerman wrote: > Hi! > > I'm trying to get python-for-android (p4a) to build

Re: reproducible .pyc files (& python-for-android)

2021-01-04 Thread Leo Wandersleb
The section > Last month we reported on a fork of the official German Corona App called /Corona Warn App/ . Since then, the application is now available on the F-Droid free-software app store

Re: reproducible .pyc files (& python-for-android)

2021-01-04 Thread Frederik Rietdijk
Recently I spent some time again as well on making the Python interpreters in Nixpkgs build reproducibly. The following Nix expression results in deterministic builds of the 3.x interpreters we have. Search for `determinis` and you will see the changes we do to get there. Maybe it's of help to

Re: reproducible .pyc files (& python-for-android)

2021-01-04 Thread Felix C. Stegerman
Hi Bernhard (& Chris), * "Bernhard M. Wiedemann" [2021-01-04 12:48]: > Am 04.01.21 um 11:23 schrieb Chris Lamb: > >> p4a compiles those with "hostpython -OO -m compileall -b -f" (where > >> hostpython is the cross-compiled Python for the target -- arm64-v8a or > >> armeabi-v7a -- which is thus

Re: reproducible .pyc files (& python-for-android)

2021-01-04 Thread Chris Lamb
Hi Felix, > p4a compiles those with "hostpython -OO -m compileall -b -f" (where > hostpython is the cross-compiled Python for the target -- arm64-v8a or > armeabi-v7a -- which is thus definitely the same version on both > machines). As I understand it, recent versions Python can use