From 9e4c298df7e0cfe697d3ded1f1a2d85ed6bf03c0 Mon Sep 17 00:00:00 2001 From: Miles Adkins Date: Sat, 22 Apr 2023 22:47:00 -0500 Subject: [PATCH] chore: Upgrade snowflake version to 3.0.0 Signed-off-by: Miles Adkins --- .../requirements/py3.10-ci-requirements.txt | 15 ++++++++------- sdk/python/requirements/py3.10-requirements.txt | 5 +---- sdk/python/requirements/py3.8-ci-requirements.txt | 15 ++++++++------- sdk/python/requirements/py3.8-requirements.txt | 12 ++++++++---- sdk/python/requirements/py3.9-ci-requirements.txt | 15 ++++++++------- sdk/python/requirements/py3.9-requirements.txt | 2 -- setup.py | 6 +----- 7 files changed, 34 insertions(+), 36 deletions(-) diff --git a/sdk/python/requirements/py3.10-ci-requirements.txt b/sdk/python/requirements/py3.10-ci-requirements.txt index 4cb250531f7..a696e973973 100644 --- a/sdk/python/requirements/py3.10-ci-requirements.txt +++ b/sdk/python/requirements/py3.10-ci-requirements.txt @@ -28,6 +28,10 @@ anyio==3.6.2 # watchfiles appdirs==1.4.4 # via fissix +appnope==0.1.3 + # via + # ipykernel + # ipython argon2-cffi==21.3.0 # via # jupyter-server @@ -299,8 +303,6 @@ googleapis-common-protos[grpc]==1.59.0 # grpcio-status great-expectations==0.15.50 # via feast (setup.py) -greenlet==2.0.2 - # via sqlalchemy grpc-google-iam-v1==0.12.6 # via google-cloud-bigtable grpcio==1.53.0 @@ -563,6 +565,7 @@ packaging==23.0 # nbconvert # pytest # redis + # snowflake-connector-python # sphinx pandas==1.5.3 # via @@ -654,7 +657,7 @@ py-cpuinfo==9.0.0 # via pytest-benchmark py4j==0.10.9.5 # via pyspark -pyarrow==8.0.0 +pyarrow==10.0.1 # via # db-dtypes # feast (setup.py) @@ -699,9 +702,7 @@ pymysql==1.0.3 pyodbc==4.0.35 # via feast (setup.py) pyopenssl==22.0.0 - # via - # feast (setup.py) - # snowflake-connector-python + # via snowflake-connector-python pyparsing==3.0.9 # via # great-expectations @@ -861,7 +862,7 @@ sniffio==1.3.0 # httpx snowballstemmer==2.2.0 # via sphinx -snowflake-connector-python[pandas]==2.9.0 +snowflake-connector-python[pandas]==3.0.3 # via feast (setup.py) soupsieve==2.4 # via beautifulsoup4 diff --git a/sdk/python/requirements/py3.10-requirements.txt b/sdk/python/requirements/py3.10-requirements.txt index f9702505e38..150c1fa78f4 100644 --- a/sdk/python/requirements/py3.10-requirements.txt +++ b/sdk/python/requirements/py3.10-requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.9 +# This file is autogenerated by pip-compile with Python 3.10 # by the following command: # # pip-compile --output-file=sdk/python/requirements/py3.10-requirements.txt @@ -49,8 +49,6 @@ fissix==21.11.13 # via bowler fsspec==2023.4.0 # via dask -greenlet==2.0.2 - # via sqlalchemy grpcio==1.54.0 # via # feast (setup.py) @@ -172,7 +170,6 @@ typing-extensions==4.5.0 # mypy # pydantic # sqlalchemy2-stubs - # starlette urllib3==1.26.15 # via requests uvicorn[standard]==0.21.1 diff --git a/sdk/python/requirements/py3.8-ci-requirements.txt b/sdk/python/requirements/py3.8-ci-requirements.txt index 0f2fe05be8e..0f12493385a 100644 --- a/sdk/python/requirements/py3.8-ci-requirements.txt +++ b/sdk/python/requirements/py3.8-ci-requirements.txt @@ -28,6 +28,10 @@ anyio==3.6.2 # watchfiles appdirs==1.4.4 # via fissix +appnope==0.1.3 + # via + # ipykernel + # ipython argon2-cffi==21.3.0 # via # jupyter-server @@ -303,8 +307,6 @@ googleapis-common-protos[grpc]==1.59.0 # grpcio-status great-expectations==0.15.50 # via feast (setup.py) -greenlet==2.0.2 - # via sqlalchemy grpc-google-iam-v1==0.12.6 # via google-cloud-bigtable grpcio==1.53.0 @@ -572,6 +574,7 @@ packaging==23.0 # nbconvert # pytest # redis + # snowflake-connector-python # sphinx pandas==1.5.3 # via @@ -665,7 +668,7 @@ py-cpuinfo==9.0.0 # via pytest-benchmark py4j==0.10.9.5 # via pyspark -pyarrow==8.0.0 +pyarrow==10.0.1 # via # db-dtypes # feast (setup.py) @@ -710,9 +713,7 @@ pymysql==1.0.3 pyodbc==4.0.35 # via feast (setup.py) pyopenssl==22.0.0 - # via - # feast (setup.py) - # snowflake-connector-python + # via snowflake-connector-python pyparsing==3.0.9 # via # great-expectations @@ -875,7 +876,7 @@ sniffio==1.3.0 # httpx snowballstemmer==2.2.0 # via sphinx -snowflake-connector-python[pandas]==2.9.0 +snowflake-connector-python[pandas]==3.0.3 # via feast (setup.py) soupsieve==2.4 # via beautifulsoup4 diff --git a/sdk/python/requirements/py3.8-requirements.txt b/sdk/python/requirements/py3.8-requirements.txt index ac37f3a75db..d0850d2e595 100644 --- a/sdk/python/requirements/py3.8-requirements.txt +++ b/sdk/python/requirements/py3.8-requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.9 +# This file is autogenerated by pip-compile with Python 3.8 # by the following command: # # pip-compile --output-file=sdk/python/requirements/py3.8-requirements.txt @@ -49,8 +49,6 @@ fissix==21.11.13 # via bowler fsspec==2023.4.0 # via dask -greenlet==2.0.2 - # via sqlalchemy grpcio==1.54.0 # via # feast (setup.py) @@ -74,6 +72,8 @@ idna==3.4 # requests importlib-metadata==6.5.0 # via dask +importlib-resources==5.12.0 + # via jsonschema jinja2==3.1.2 # via feast (setup.py) jsonschema==4.17.3 @@ -106,6 +106,8 @@ pandavro==1.5.2 # via feast (setup.py) partd==1.4.0 # via dask +pkgutil-resolve-name==1.3.10 + # via jsonschema proto-plus==1.22.2 # via feast (setup.py) protobuf==4.22.3 @@ -186,4 +188,6 @@ watchfiles==0.19.0 websockets==11.0.2 # via uvicorn zipp==3.15.0 - # via importlib-metadata + # via + # importlib-metadata + # importlib-resources diff --git a/sdk/python/requirements/py3.9-ci-requirements.txt b/sdk/python/requirements/py3.9-ci-requirements.txt index 76d6c2dae46..bb93153d63f 100644 --- a/sdk/python/requirements/py3.9-ci-requirements.txt +++ b/sdk/python/requirements/py3.9-ci-requirements.txt @@ -28,6 +28,10 @@ anyio==3.6.2 # watchfiles appdirs==1.4.4 # via fissix +appnope==0.1.3 + # via + # ipykernel + # ipython argon2-cffi==21.3.0 # via # jupyter-server @@ -299,8 +303,6 @@ googleapis-common-protos[grpc]==1.59.0 # grpcio-status great-expectations==0.15.50 # via feast (setup.py) -greenlet==2.0.2 - # via sqlalchemy grpc-google-iam-v1==0.12.6 # via google-cloud-bigtable grpcio==1.53.0 @@ -566,6 +568,7 @@ packaging==23.0 # nbconvert # pytest # redis + # snowflake-connector-python # sphinx pandas==1.5.3 # via @@ -657,7 +660,7 @@ py-cpuinfo==9.0.0 # via pytest-benchmark py4j==0.10.9.5 # via pyspark -pyarrow==8.0.0 +pyarrow==10.0.1 # via # db-dtypes # feast (setup.py) @@ -702,9 +705,7 @@ pymysql==1.0.3 pyodbc==4.0.35 # via feast (setup.py) pyopenssl==22.0.0 - # via - # feast (setup.py) - # snowflake-connector-python + # via snowflake-connector-python pyparsing==3.0.9 # via # great-expectations @@ -866,7 +867,7 @@ sniffio==1.3.0 # httpx snowballstemmer==2.2.0 # via sphinx -snowflake-connector-python[pandas]==2.9.0 +snowflake-connector-python[pandas]==3.0.3 # via feast (setup.py) soupsieve==2.4 # via beautifulsoup4 diff --git a/sdk/python/requirements/py3.9-requirements.txt b/sdk/python/requirements/py3.9-requirements.txt index ce9dc085eaa..12d31d2e8e6 100644 --- a/sdk/python/requirements/py3.9-requirements.txt +++ b/sdk/python/requirements/py3.9-requirements.txt @@ -49,8 +49,6 @@ fissix==21.11.13 # via bowler fsspec==2023.4.0 # via dask -greenlet==2.0.2 - # via sqlalchemy grpcio==1.54.0 # via # feast (setup.py) diff --git a/setup.py b/setup.py index bb9907dadca..66040aadf28 100644 --- a/setup.py +++ b/setup.py @@ -96,11 +96,7 @@ BYTEWAX_REQUIRED = ["bytewax==0.15.1", "docker>=5.0.2", "kubernetes<=20.13.0"] SNOWFLAKE_REQUIRED = [ - "snowflake-connector-python[pandas]>=2.7.3,<3", - # `pyOpenSSL==22.1.0` requires `cryptography<39,>=38.0.0`, which is incompatible - # with `snowflake-connector-python[pandas]==2.8.0`, which depends on - # `cryptography<37.0.0,>=3.1.0`. - "pyOpenSSL<22.1.0", + "snowflake-connector-python[pandas]>=3,<4", ] SPARK_REQUIRED = [