python310Packages.snowflake-connector-python: Relax dep constraints
This commit is contained in:
parent
abbc2c7810
commit
b36007dd92
|
@ -21,7 +21,7 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "snowflake-connector-python";
|
pname = "snowflake-connector-python";
|
||||||
version = "2.9.0";
|
version = "2.9.0";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
@ -30,6 +30,12 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-dVGyQEsmhQ+xLGIy0BW6XRCtsTsJHjef6Lg2ZJL2JLg=";
|
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 = [
|
propagatedBuildInputs = [
|
||||||
asn1crypto
|
asn1crypto
|
||||||
certifi
|
certifi
|
||||||
|
@ -47,12 +53,6 @@ buildPythonPackage rec {
|
||||||
typing-extensions
|
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
|
# Tests require encrypted secrets, see
|
||||||
# https://github.com/snowflakedb/snowflake-connector-python/tree/master/.github/workflows/parameters
|
# https://github.com/snowflakedb/snowflake-connector-python/tree/master/.github/workflows/parameters
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
Loading…
Reference in a new issue