diff --git a/pkgs/development/python-modules/snowflake-connector-python/default.nix b/pkgs/development/python-modules/snowflake-connector-python/default.nix index bdedfc0ed4b..f33d2639db5 100644 --- a/pkgs/development/python-modules/snowflake-connector-python/default.nix +++ b/pkgs/development/python-modules/snowflake-connector-python/default.nix @@ -25,12 +25,12 @@ buildPythonPackage rec { pname = "snowflake-connector-python"; - version = "2.3.2"; + version = "2.3.3"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "0as7m736wgx684wssnvhvixjkqidnhxn9i98rcdgagr67s3akfdy"; + sha256 = "18w6ibpibqj3v136jjfklbax1l4y80v8mfk19apxlaprf6wvwpwy"; }; propagatedBuildInputs = [ @@ -57,13 +57,14 @@ buildPythonPackage rec { postPatch = '' substituteInPlace setup.py \ + --replace "'boto3>=1.4.4,<1.15'," "'boto3~=1.15'," \ --replace "'cryptography>=2.5.0,<3.0.0'," "'cryptography'," \ --replace "'idna<2.10'," "'idna'," \ --replace "'requests<2.24.0'," "'requests'," ''; - # tests are not working - # XXX: fix the tests + # tests require encrypted secrets, see + # https://github.com/snowflakedb/snowflake-connector-python/tree/master/.github/workflows/parameters doCheck = false; pythonImportsCheck = [ "snowflake" "snowflake.connector" ];