Merge pull request #1248 from tahoe-lafs/3966-charset-normalizer

Pin older charset_normalizer
This commit is contained in:
Jean-Paul Calderone 2023-01-13 10:24:59 -05:00 committed by GitHub
commit d64529ac89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 = [