fix(ingestion): Explicitly set requirement on snowflake-connector-python to be newer or equal to 3.4.0 #10445
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem appearing in
snowflake-connector-python
before version3.4.0
due to its internal dependency onoscrypto
library which malfunctioned ifopenssl
version contained more than 2 digits for either major, minor or patch number (see details). Version3.4.0
ofsnowflake-connector-python
drops dependency onoscrypto
and therefor fixes the problem. There was already an issue raised last year to address this: #9192 and image which was built and released back then indeed did not suffer from this problem. At this momenthead
version ofdatahub-ingestion
image hasopenssl
version3.0.11
installed andsnowflake-connector-python
version3.9.1
which means it does not suffer from this problem. Nevertheless when installingacryl-datahub
pip package withsnowflake
support it might happen that version older than3.4.0
of thesnowflake-connector-python
is installed - currentsetup.py
just requires installed version to be different than2.8.2
. This PR imposes additional requirement onpip
to make suresnowflake-connector-python
version is newer or equal to3.4.0
to avoid this problem (it did happen to me when working withacryl-datahub
pip package recently).