Add a note: Python 3.11+ no longer needs PYTHONHASHSEED=0
Implemented in: https://github.com/python/cpython/pull/27926 We keep using it thou, because this is Python version agnostic. Once we drop support for anything older than 3.11, we can remove it. That'll be around ~2030. Assuming the world still exists by then.
This commit is contained in:
parent
9102e29afc
commit
cfa45dfdf3
@ -104,6 +104,7 @@ fi
|
|||||||
|
|
||||||
# Disable Python hash seed randomization
|
# Disable Python hash seed randomization
|
||||||
# This should help with byte-compilation reproducibility: https://bugzilla.redhat.com/show_bug.cgi?id=1686078
|
# This should help with byte-compilation reproducibility: https://bugzilla.redhat.com/show_bug.cgi?id=1686078
|
||||||
|
# Python 3.11+ no longer needs this: https://github.com/python/cpython/pull/27926 (but we support older Pythons as well)
|
||||||
export PYTHONHASHSEED=0
|
export PYTHONHASHSEED=0
|
||||||
|
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
# Setting PYTHONHASHSEED=0 disables Python hash seed randomization
|
# Setting PYTHONHASHSEED=0 disables Python hash seed randomization
|
||||||
# This should help with byte-compilation reproducibility: https://bugzilla.redhat.com/show_bug.cgi?id=1686078
|
# This should help with byte-compilation reproducibility: https://bugzilla.redhat.com/show_bug.cgi?id=1686078
|
||||||
|
# Python 3.11+ no longer needs this: https://github.com/python/cpython/pull/27926 (but we support older Pythons as well)
|
||||||
|
|
||||||
%py_byte_compile()\
|
%py_byte_compile()\
|
||||||
py2_byte_compile () {\
|
py2_byte_compile () {\
|
||||||
|
Loading…
Reference in New Issue
Block a user