You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/03/26 22:29:24 UTC

[airflow] branch v2-0-test updated (7917384 -> d8a6038)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a change to branch v2-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git.


 discard 7917384  Prepare ad-hoc release of the four previously excluded providers (#14655)
     new d8a6038  Prepare ad-hoc release of the four previously excluded providers (#14655)

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (7917384)
            \
             N -- N -- N   refs/heads/v2-0-test (d8a6038)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:

[airflow] 01/01: Prepare ad-hoc release of the four previously excluded providers (#14655)

Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit d8a6038480c7d546d6217ed7627cc494ffe610a1
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Mar 8 20:27:03 2021 +0100

    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 b753c7fa60e8d92bbaab68b557a1fbbdc1ec5dd0)
---
 Dockerfile    | 1 -
 Dockerfile.ci | 5 ++---
 setup.py      | 5 +----
 3 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index a98b729..2d4aad7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"
 
diff --git a/Dockerfile.ci b/Dockerfile.ci
index 49c31d6..ad72d70 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -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"
diff --git a/setup.py b/setup.py
index 0846ec9..7db75b8 100644
--- a/setup.py
+++ b/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 = [