You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2020/06/22 13:02:09 UTC

[incubator-superset] branch master updated: chore: Bump sqlalchemy-utils and cachelib and refresh requirements.txt (#10117)

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

villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new d615949  chore: Bump sqlalchemy-utils and cachelib and refresh requirements.txt (#10117)
d615949 is described below

commit d61594982025d7a05d97b15e99a0253a46c43dfd
Author: Ville Brofeldt <33...@users.noreply.github.com>
AuthorDate: Mon Jun 22 16:01:46 2020 +0300

    chore: Bump sqlalchemy-utils and cachelib and refresh requirements.txt (#10117)
    
    * chore: Bump sqlalchemy-utils and cachelib and refresh requirements.txt
    
    * undeprecate EncryptedType
    
    * black
    
    * reference correct class
    
    Co-authored-by: Maxime Beauchemin <ma...@gmail.com>
---
 requirements.txt                                          | 15 +++++++++++----
 setup.py                                                  |  7 ++-----
 .../versions/b5998378c225_add_certificate_to_dbs.py       |  1 -
 3 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/requirements.txt b/requirements.txt
index fae6216..1ed3e7b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,18 +4,21 @@
 #
 #    pip-compile --output-file=requirements.txt setup.py
 #
+aiohttp==3.6.2            # via slackclient
 alembic==1.4.2            # via flask-migrate
 amqp==2.5.2               # via kombu
 apispec[yaml]==1.3.3      # via flask-appbuilder
-attrs==19.3.0             # via jsonschema
+async-timeout==3.0.1      # via aiohttp
+attrs==19.3.0             # via aiohttp, jsonschema
 babel==2.8.0              # via flask-babel
 backoff==1.10.0           # via apache-superset (setup.py)
 billiard==3.6.3.0         # via celery
 bleach==3.1.5             # via apache-superset (setup.py)
 brotli==1.0.7             # via flask-compress
-cachelib==0.1             # via apache-superset (setup.py)
+cachelib==0.1.1           # via apache-superset (setup.py)
 celery==4.4.2             # via apache-superset (setup.py)
 cffi==1.14.0              # via cryptography
+chardet==3.0.4            # via aiohttp
 click==7.1.2              # via apache-superset (setup.py), flask, flask-appbuilder
 colorama==0.4.3           # via apache-superset (setup.py), flask-appbuilder
 contextlib2==0.6.0.post1  # via apache-superset (setup.py)
@@ -42,7 +45,8 @@ geographiclib==1.50       # via geopy
 geopy==1.22.0             # via apache-superset (setup.py)
 gunicorn==20.0.4          # via apache-superset (setup.py)
 humanize==2.4.0           # via apache-superset (setup.py)
-idna==2.9                 # via email-validator
+idna-ssl==1.1.0           # via aiohttp
+idna==2.9                 # via email-validator, idna-ssl, yarl
 importlib-metadata==1.6.0  # via jsonschema, kombu, markdown
 isodate==0.6.0            # via apache-superset (setup.py)
 itsdangerous==1.1.0       # via flask, flask-wtf
@@ -56,6 +60,7 @@ marshmallow-enum==1.5.1   # via flask-appbuilder
 marshmallow-sqlalchemy==0.23.0  # via flask-appbuilder
 marshmallow==2.21.0       # via flask-appbuilder, marshmallow-enum, marshmallow-sqlalchemy
 msgpack==1.0.0            # via apache-superset (setup.py)
+multidict==4.7.6          # via aiohttp, yarl
 numpy==1.18.4             # via pandas, pyarrow
 packaging==20.3           # via bleach
 pandas==1.0.3             # via apache-superset (setup.py)
@@ -81,15 +86,17 @@ selenium==3.141.0         # via apache-superset (setup.py)
 simplejson==3.17.0        # via apache-superset (setup.py)
 six==1.14.0               # via bleach, cryptography, flask-jwt-extended, flask-talisman, isodate, jsonschema, packaging, pathlib2, polyline, prison, pyrsistent, python-dateutil, sqlalchemy-utils, wtforms-json
 slackclient==2.6.2        # via apache-superset (setup.py)
-sqlalchemy-utils==0.36.4  # via apache-superset (setup.py), flask-appbuilder
+sqlalchemy-utils==0.36.6  # via apache-superset (setup.py), flask-appbuilder
 sqlalchemy==1.3.16        # via alembic, apache-superset (setup.py), flask-sqlalchemy, marshmallow-sqlalchemy, sqlalchemy-utils
 sqlparse==0.3.1           # via apache-superset (setup.py)
+typing-extensions==3.7.4.2  # via aiohttp
 urllib3==1.25.9           # via selenium
 vine==1.3.0               # via amqp, celery
 webencodings==0.5.1       # via bleach
 werkzeug==1.0.1           # via flask, flask-jwt-extended
 wtforms-json==0.3.3       # via apache-superset (setup.py)
 wtforms==2.3.1            # via flask-wtf, wtforms-json
+yarl==1.4.2               # via aiohttp
 zipp==3.1.0               # via importlib-metadata
 
 # The following packages are considered to be unsafe in a requirements file:
diff --git a/setup.py b/setup.py
index 7ebdb02..946ece0 100644
--- a/setup.py
+++ b/setup.py
@@ -69,7 +69,7 @@ setup(
     install_requires=[
         "backoff>=1.8.0",
         "bleach>=3.0.2, <4.0.0",
-        "cachelib>=0.1,<0.2",
+        "cachelib>=0.1.1,<0.2",
         "celery>=4.3.0, <5.0.0, !=4.4.1",
         "click<8",
         "colorama",
@@ -104,10 +104,7 @@ setup(
         "simplejson>=3.15.0",
         "slackclient>=2.6.2",
         "sqlalchemy>=1.3.16, <2.0",
-        # Breaking change in sqlalchemy-utils==0.36.6, upgrading will probably
-        # require a migration on EncryptedType columns. For more information, see
-        # https://github.com/kvesteri/sqlalchemy-utils/issues/444
-        "sqlalchemy-utils>=0.33.2,<0.36.5",
+        "sqlalchemy-utils>=0.36.6,<0.37",
         "sqlparse>=0.3.0, <0.4",
         "wtforms-json",
     ],
diff --git a/superset/migrations/versions/b5998378c225_add_certificate_to_dbs.py b/superset/migrations/versions/b5998378c225_add_certificate_to_dbs.py
index 7079957..3fdbc36 100644
--- a/superset/migrations/versions/b5998378c225_add_certificate_to_dbs.py
+++ b/superset/migrations/versions/b5998378c225_add_certificate_to_dbs.py
@@ -30,7 +30,6 @@ from typing import Dict
 
 import sqlalchemy as sa
 from alembic import op
-from sqlalchemy.dialects.postgresql.base import PGDialect
 from sqlalchemy_utils import EncryptedType