Prepare ad-hoc release of the four previously excluded providers (#14655)
Documentation update for the four previously excluded providers that
got extra fixes/bumping to the latest version of the libraries.
* apache.beam
* apache.druid
* microsoft.azure
* snowflake
(cherry picked from commit b753c7fa60
)
This commit is contained in:
Родитель
41e0e19918
Коммит
edbf49c645
|
@ -275,7 +275,6 @@ ENV INSTALL_FROM_PYPI=${INSTALL_FROM_PYPI}
|
|||
# Force them on the main Airflow package.
|
||||
# * chardet<4 - required to keep snowflake happy
|
||||
# * urllib3 - required to keep boto3 happy
|
||||
# * pytz<2021.0: required by snowflake provider
|
||||
# * pyjwt<2.0.0: flask-jwt-extended requires it
|
||||
ARG EAGER_UPGRADE_ADDITIONAL_REQUIREMENTS="chardet<4 urllib3<1.26 pyjwt<2.0.0"
|
||||
|
||||
|
|
|
@ -343,13 +343,12 @@ COPY airflow/__init__.py ${AIRFLOW_SOURCES}/airflow/__init__.py
|
|||
|
||||
# Those are additional constraints that are needed for some extras but we do not want to
|
||||
# force them on the main Airflow package. Those limitations are:
|
||||
# * chardet,<4: required by snowflake provider
|
||||
# * chardet<4: required by snowflake provider
|
||||
# * lazy-object-proxy<1.5.0: required by astroid
|
||||
# * pytz<2021.0: required by snowflake provider
|
||||
# * pyOpenSSL: required by snowflake provider https://github.com/snowflakedb/snowflake-connector-python/blob/v2.3.6/setup.py#L201
|
||||
# * urllib3<1.26: Required to keep boto3 happy
|
||||
# * pyjwt<2.0.0: flask-jwt-extended requires it
|
||||
ARG EAGER_UPGRADE_ADDITIONAL_REQUIREMENTS="chardet<4 lazy-object-proxy<1.5.0 pyOpenSSL<20.0.0 pytz<2021.0 urllib3<1.26 pyjwt<2.0.0"
|
||||
ARG EAGER_UPGRADE_ADDITIONAL_REQUIREMENTS="chardet<4 lazy-object-proxy<1.5.0 pyOpenSSL<20.0.0 urllib3<1.26 pyjwt<2.0.0"
|
||||
ENV EAGER_UPGRADE_ADDITIONAL_REQUIREMENTS=${EAGER_UPGRADE_ADDITIONAL_REQUIREMENTS}
|
||||
|
||||
ARG CONTINUE_ON_PIP_CHECK_FAILURE="false"
|
||||
|
|
5
setup.py
5
setup.py
|
@ -427,10 +427,7 @@ slack = [
|
|||
'slack_sdk>=3.0.0,<4.0.0',
|
||||
]
|
||||
snowflake = [
|
||||
# Snowflake connector > 2.3.8 is needed because it has vendored-in, patched urllib and requests libraries
|
||||
# In earlier versions of the snowflake library, monkey-patching the libraries caused other
|
||||
# providers to fail (Google, Amazon etc.)
|
||||
'snowflake-connector-python>=2.3.8',
|
||||
'snowflake-connector-python>=2.4.1',
|
||||
'snowflake-sqlalchemy>=1.1.0',
|
||||
]
|
||||
spark = [
|
||||
|
|
Загрузка…
Ссылка в новой задаче