python3Packages.snowflake-connector-python: 2.3.2 -> 2.3.3
Fixes the build by relaxing the boto version pin.
This commit is contained in:
parent
4879f43104
commit
41ef4f88a1
@ -25,12 +25,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "snowflake-connector-python";
|
pname = "snowflake-connector-python";
|
||||||
version = "2.3.2";
|
version = "2.3.3";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0as7m736wgx684wssnvhvixjkqidnhxn9i98rcdgagr67s3akfdy";
|
sha256 = "18w6ibpibqj3v136jjfklbax1l4y80v8mfk19apxlaprf6wvwpwy";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -57,13 +57,14 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
|
--replace "'boto3>=1.4.4,<1.15'," "'boto3~=1.15'," \
|
||||||
--replace "'cryptography>=2.5.0,<3.0.0'," "'cryptography'," \
|
--replace "'cryptography>=2.5.0,<3.0.0'," "'cryptography'," \
|
||||||
--replace "'idna<2.10'," "'idna'," \
|
--replace "'idna<2.10'," "'idna'," \
|
||||||
--replace "'requests<2.24.0'," "'requests',"
|
--replace "'requests<2.24.0'," "'requests',"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# tests are not working
|
# tests require encrypted secrets, see
|
||||||
# XXX: fix the tests
|
# https://github.com/snowflakedb/snowflake-connector-python/tree/master/.github/workflows/parameters
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "snowflake" "snowflake.connector" ];
|
pythonImportsCheck = [ "snowflake" "snowflake.connector" ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user