From 95ab33159df950994ec5d2b9c97024234398e61b Mon Sep 17 00:00:00 2001 From: Shixuan Fan Date: Wed, 23 Mar 2022 09:12:56 -0700 Subject: [PATCH] Make typing-extensions a required dependency (#273) * Add check for typing_extensions * fix * change setup.py and remove check --- recipe/meta.yaml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index d81260a45ef..9346edc8ed0 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -26,9 +26,9 @@ requirements: - cloudpickle >=1.6.0 - snowflake-connector-python - setuptools >34.0.0 + - typing-extensions >=4.1.0 run_constrained: - pandas >1,<1.4 - - typing-extensions >=4.1.0 test: imports: diff --git a/setup.py b/setup.py index 2d1b7687c4b..b3822883409 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ "wheel", "cloudpickle>=1.6.0", f"snowflake-connector-python>={CONNECTOR_DEPENDENCY_VERSION}", + "typing-extensions>=4.1.0", ], namespace_packages=["snowflake"], # When a new package (directory) is added, we should also add it here @@ -57,7 +58,6 @@ extras_require={ "pandas": [ f"snowflake-connector-python[pandas]>={CONNECTOR_DEPENDENCY_VERSION}", - "typing-extensions>=4.1.0", ], "development": [ "pytest",