Make sure not to install Python 3-only version of pefile.

This commit is contained in:
Itamar Turner-Trauring 2021-05-14 10:05:08 -04:00
parent e01baaeb95
commit 6a619b1ec7
2 changed files with 2 additions and 0 deletions

0
newsfragments/3717.minor Normal file
View File

View File

@ -281,6 +281,8 @@ deps =
# PyInstaller 4.0 drops Python 2 support. When we finish porting to
# Python 3 we can reconsider this constraint.
pyinstaller < 4.0
# 2021.5.13 broke on Windows. See https://github.com/erocarrera/pefile/issues/318
pefile < 2021.5.13 ; platform_system == "Windows"
# Setting PYTHONHASHSEED to a known value assists with reproducible builds.
# See https://pyinstaller.readthedocs.io/en/stable/advanced-topics.html#creating-a-reproducible-build
setenv=PYTHONHASHSEED=1