python3Packages.snowflake-connector-python: fix build (#144682)

(cherry picked from commit 9fa5bc45bb851ef03f8b20c77359f26058666707)

Co-authored-by: Jonathan Ringer <jonringer117@gmail.com>
This commit is contained in:
Wael Nasreddine 2021-11-05 11:50:31 -07:00 committed by GitHub
parent 96ded94eb0
commit 5c02380de3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ buildPythonPackage rec {
# https://github.com/snowflakedb/snowflake-connector-python/issues/705 # https://github.com/snowflakedb/snowflake-connector-python/issues/705
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "idna>=2.5,<3" "idna" \ --replace "idna>=2.5,<3" "idna" \
--replace "certifi<2021.0.0" "certifi" \
--replace "chardet>=3.0.2,<4" "chardet" --replace "chardet>=3.0.2,<4" "chardet"
''; '';