diff --git a/brp-python-bytecompile b/brp-python-bytecompile index ce73856..c1749ab 100644 --- a/brp-python-bytecompile +++ b/brp-python-bytecompile @@ -104,6 +104,7 @@ fi # Disable Python hash seed randomization # 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 shopt -s nullglob diff --git a/macros.pybytecompile b/macros.pybytecompile index 9dabee0..dd8b495 100644 --- a/macros.pybytecompile +++ b/macros.pybytecompile @@ -14,6 +14,7 @@ # Setting PYTHONHASHSEED=0 disables Python hash seed randomization # 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()\ py2_byte_compile () {\