mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python: Update to 3.7.0.
* gnu/packages/python.scm (python-3.6): Rename to ... (python-3.7): ... this. Update to 3.7.0. [arguments]: Remove phase 'patch-timestamp-for-pyc-files' and related code. Add phases to unset SOURCE_DATE_EPOCH during the check phase. (python-3): Is now PYTHON-3.7. * guix/build/python-build-system.scm (enable-bytecode-determinism): Don't set DETERMINISTIC_BUILD.
This commit is contained in:
parent
d66146073d
commit
a1454169e0
2 changed files with 13 additions and 50 deletions
|
@ -246,8 +246,6 @@ installed with setuptools."
|
|||
|
||||
(define* (enable-bytecode-determinism #:rest _)
|
||||
"Improve determinism of pyc files."
|
||||
;; Set DETERMINISTIC_BUILD to override the embedded mtime in pyc files.
|
||||
(setenv "DETERMINISTIC_BUILD" "1")
|
||||
;; Use deterministic hashes for strings, bytes, and datetime objects.
|
||||
(setenv "PYTHONHASHSEED" "0")
|
||||
#t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue