[issue43976] Allow Python distributors to add custom site install schemes

2022-01-25 Thread Frederik Rietdijk
Frederik Rietdijk added the comment: In Nixpkgs we install every Python package under a unique prefix, a so-called Nix store path. If we were to use sysconfig for installing packages, then we'd need to be able to dynamically set the paths. This was also discussed as part of the Inst

[issue29708] support reproducible Python builds

2020-12-31 Thread Frederik Rietdijk
Frederik Rietdijk added the comment: note the optimized .pyc is deterministic. As far as I know only __debug__ is set to False, or is there something else different? -- ___ Python tracker <https://bugs.python.org/issue29

[issue29708] support reproducible Python builds

2020-12-30 Thread Frederik Rietdijk
Frederik Rietdijk added the comment: Building Python packages reproducibly has now basically been resolved with the reproducible bytecode as well as changes in tools such as pip. Unfortunately, the interpreters do not yet seem to be reproducible. After certain changes, a Nixpkgs build of

[issue41913] EnvBuilder.install_scripts should use explicit permissions

2020-10-02 Thread Frederik Rietdijk
Frederik Rietdijk added the comment: Nixpkgs issue https://github.com/NixOS/nixpkgs/issues/99156. -- ___ Python tracker <https://bugs.python.org/issue41

[issue41913] EnvBuilder.install_scripts should use explicit permissions

2020-10-02 Thread Frederik Rietdijk
New submission from Frederik Rietdijk : Creating a venv with `python3 -m venv foo` and then reinitializing it with `python3 -m venv foo` fails with a `Error: [Errno 13] Permission denied: '/path/to/cwd/foo/bin/activate.fish'` with the CPython interpreters from Nixpkgs.

[issue40739] find_library broken for binutils >= 2.32 / 2.34

2020-05-23 Thread Frederik Rietdijk
Frederik Rietdijk added the comment: I suppose this issue was not found yet because a) regression testing is done with ubuntu 18.04 LTS which uses binutils 2.30 and b) it, along with most distro's, will use ldconfig, which we in Nixpkgs have patche

[issue40739] find_library broken for binutils >= 2.32 / 2.34

2020-05-23 Thread Frederik Rietdijk
New submission from Frederik Rietdijk : With binutils 2.34 Python 3 (any version) the following returns None python3 -c 'import ctypes.util; print((ctypes.util.find_library("c")))' instead of the requested library which we think may be caused by https://sourceware