nixpkgs/pkgs/development
zimbatm c409f69480
pythonPackages.pip: make reproducible (#102222)
The previous attempt wasn't covering all of the bases. It relied on
invoking that pip-install-hook, and didn't apply to pip itself.

The core issue is that the generated .pyc files embed some of the
temporary paths, which are randomly generated. See
https://r13y.com/diff/bf8c3ca3148ebff9ecf41f294cc60b9f209c006d49699e356969ff32d736f1c6-8806a7cca91fdd300e48736bfcd57c4d0b54c1cc2fd61609f35143170862b59c.html

In this new attempt, the approach is to patch the TempFile
implementation directly, so that it creates stable temporary
directories. We also assume that if SOURCE_DATE_EPOCH is set, we are in
a scenario where reproducible builds are desirable and enter that
branch.

See also https://github.com/pypa/pip/issues/7808
2020-10-31 21:24:36 +01:00
..
androidndk-pkgs
arduino
beam-modules
bower-modules/generic
chez-modules
compilers Merge branch 'staging-next' into staging 2020-10-28 18:48:56 +01:00
coq-modules
dhall-modules
dotnet-modules
em-modules/generic
go-modules buildGoModule: use optionalString 2020-10-28 09:06:55 +10:00
go-packages
guile-modules
haskell-modules haskellPackages.trifecta: dontCheck on darwin 2020-10-25 15:59:31 +10:00
idris-modules
interpreters pythonPackages.pip: make reproducible (#102222) 2020-10-31 21:24:36 +01:00
java-modules javaPackages: add upgraded packages 2020-10-22 10:11:36 +09:00
libraries nss: make reproducible (#102156) 2020-10-31 21:17:26 +01:00
lisp-modules lispPackages: add some more, mainly from Quicklisp top 100 2020-10-25 18:32:33 +01:00
lua-modules
misc yelp-tools: 3.32.2 -> 3.38.0 2020-10-24 01:14:26 +02:00
mobile treewide: remove package names from prefix of descriptions 2020-10-27 09:15:07 -07:00
node-packages fx: init at 20.0.2 (#100828) 2020-10-19 20:38:17 +00:00
ocaml-modules ocamlPackages.ezjsonm: 0.6.0 → 1.2.0 2020-10-28 06:28:44 +01:00
perl-modules
pharo pharo: update URL to HTTPS 2020-10-26 01:21:00 -03:00
php-packages Merge pull request #101535 from etu/php-packages-updates 2020-10-24 14:39:47 +02:00
pure-modules
python-modules pythonPackages.pip: make reproducible (#102222) 2020-10-31 21:24:36 +01:00
r-modules Fixes missing configure script 2020-10-23 14:40:18 +02:00
ruby-modules buildRubyGem: remove Makefiles 2020-10-27 14:20:09 +01:00
tools Merge branch 'staging-next' into staging 2020-10-28 18:48:56 +01:00
web Merge pull request #97975 from 06kellyjac/deno_1.4.0 2020-10-28 14:06:23 +01:00