python310Packages.snowflake-connector-python: Relax dep constraints
This commit is contained in:
parent
abbc2c7810
commit
b36007dd92
@ -21,7 +21,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "snowflake-connector-python";
|
||||
version = "2.9.0";
|
||||
format = "setuptools";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -30,6 +30,12 @@ buildPythonPackage rec {
|
||||
hash = "sha256-dVGyQEsmhQ+xLGIy0BW6XRCtsTsJHjef6Lg2ZJL2JLg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "charset_normalizer>=2,<3" "charset_normalizer" \
|
||||
--replace "pyOpenSSL>=16.2.0,<23.0.0" "pyOpenSSL"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
asn1crypto
|
||||
certifi
|
||||
@ -47,12 +53,6 @@ buildPythonPackage rec {
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "pyOpenSSL>=16.2.0,<23.0.0" "pyOpenSSL" \
|
||||
--replace "charset-normalizer~=2.0.0" "charset_normalizer>=2"
|
||||
'';
|
||||
|
||||
# Tests require encrypted secrets, see
|
||||
# https://github.com/snowflakedb/snowflake-connector-python/tree/master/.github/workflows/parameters
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user