From 5c02380de3951d0237807c16eb19873cb3c5f75d Mon Sep 17 00:00:00 2001 From: Wael Nasreddine Date: Fri, 5 Nov 2021 11:50:31 -0700 Subject: [PATCH] python3Packages.snowflake-connector-python: fix build (#144682) (cherry picked from commit 9fa5bc45bb851ef03f8b20c77359f26058666707) Co-authored-by: Jonathan Ringer --- .../python-modules/snowflake-connector-python/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/snowflake-connector-python/default.nix b/pkgs/development/python-modules/snowflake-connector-python/default.nix index 237f36e201b..cef41563bad 100644 --- a/pkgs/development/python-modules/snowflake-connector-python/default.nix +++ b/pkgs/development/python-modules/snowflake-connector-python/default.nix @@ -58,6 +58,7 @@ buildPythonPackage rec { # https://github.com/snowflakedb/snowflake-connector-python/issues/705 substituteInPlace setup.py \ --replace "idna>=2.5,<3" "idna" \ + --replace "certifi<2021.0.0" "certifi" \ --replace "chardet>=3.0.2,<4" "chardet" '';