Merge remote-tracking branch 'origin/master' into 3960-misleading-ENOSPC-on-Windows

This commit is contained in:
Itamar Turner-Trauring 2023-01-13 11:00:00 -05:00
commit 0c0c7a2c27
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@
Fix incompatibility with newer versions of the transitive charset_normalizer dependency when using PyInstaller.

View File

@ -148,6 +148,13 @@ install_requires = [
# for pid-file support
"psutil",
"filelock",
# treq needs requests, requests needs charset_normalizer,
# charset_normalizer breaks PyInstaller
# (https://github.com/Ousret/charset_normalizer/issues/253). So work around
# this by using a lower version number. Once upstream issue is fixed, or
# requests drops charset_normalizer, this can go away.
"charset_normalizer < 3",
]
setup_requires = [