From 0306bc8d195884ad99105921c802b2dd14a83273 Mon Sep 17 00:00:00 2001 From: gibsondan Date: Wed, 27 Nov 2024 14:11:25 -0600 Subject: [PATCH] Add pyopenssl pin to dagster-snowflake to work around breaking upstream package change (#26172) Summary: Workaround for breaking pin change in the snowflake-connector-python package - see linked issue Test Plan: BK (assets_smoke_test should now pass) --- examples/temp_pins.txt | 5 ++++- python_modules/libraries/dagster-snowflake/setup.py | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/examples/temp_pins.txt b/examples/temp_pins.txt index 3d00b99e1beeb..ded50cf7a1e37 100644 --- a/examples/temp_pins.txt +++ b/examples/temp_pins.txt @@ -13,4 +13,7 @@ responses==0.23.1 # pydantic 2.9.0 release briefly broke dagster -pydantic<2.9.0 \ No newline at end of file +pydantic<2.9.0 + +# https://github.com/snowflakedb/snowflake-connector-python/issues/2109 +pyOpenSSL>=22.1.0 \ No newline at end of file diff --git a/python_modules/libraries/dagster-snowflake/setup.py b/python_modules/libraries/dagster-snowflake/setup.py index dd7af092200cd..41f9fdcb6ce5f 100644 --- a/python_modules/libraries/dagster-snowflake/setup.py +++ b/python_modules/libraries/dagster-snowflake/setup.py @@ -37,6 +37,9 @@ def get_version() -> str: install_requires=[ f"dagster{pin}", "snowflake-connector-python>=3.4.0", + # Workaround for incorrect pin in the snowflake-connector-python package + # See https://github.com/snowflakedb/snowflake-connector-python/issues/2109 + "pyOpenSSL>=22.1.0", ], extras_require={ "snowflake.sqlalchemy": [