From 41ef4f88a1e5237524a3f86c5b747a07884a9868 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 17 Oct 2020 03:20:58 +0200 Subject: [PATCH] python3Packages.snowflake-connector-python: 2.3.2 -> 2.3.3 Fixes the build by relaxing the boto version pin. --- .../snowflake-connector-python/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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" ];