mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-23 13:45:49 +02:00
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 {
|
||||
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" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue