From 94e787eca8a691878eed47de773e859a1810e35d Mon Sep 17 00:00:00 2001 From: Gnought <1684105+gnought@users.noreply.github.com> Date: Mon, 29 Nov 2021 16:38:41 +0800 Subject: [PATCH] chore: bump mysqlclient version (#17556) * Bump mysqlclient version * Update SHA hash * Update UPDATING.md * Update setup.py Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> --- UPDATING.md | 1 + requirements/development.in | 2 +- requirements/development.txt | 4 ++-- setup.py | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/UPDATING.md b/UPDATING.md index 7d55a402de787..cf52611a0ada3 100644 --- a/UPDATING.md +++ b/UPDATING.md @@ -26,6 +26,7 @@ assists people when migrating to a new version. ### Breaking Changes +- [17556](https://github.com/apache/superset/pull/17556): Bumps mysqlclient from v1 to v2 - [15254](https://github.com/apache/superset/pull/15254): Previously `QUERY_COST_FORMATTERS_BY_ENGINE`, `SQL_VALIDATORS_BY_ENGINE` and `SCHEDULED_QUERIES` were expected to be defined in the feature flag dictionary in the `config.py` file. These should now be defined as a top-level config, with the feature flag dictionary being reserved for boolean only values. - [17290](https://github.com/apache/superset/pull/17290): Bumps pandas to `1.3.4` and pyarrow to `5.0.0` - [16660](https://github.com/apache/incubator-superset/pull/16660): The `columns` Jinja parameter has been renamed `table_columns` to make the `columns` query object parameter available in the Jinja context. diff --git a/requirements/development.in b/requirements/development.in index d1a9590ec05df..a1944b9c6faea 100644 --- a/requirements/development.in +++ b/requirements/development.in @@ -17,7 +17,7 @@ # under the License. -r base.in flask-cors>=2.0.0 -mysqlclient==2.0.3 +mysqlclient>=2.1.0 pillow>=8.3.2,<9 pydruid>=0.6.1,<0.7 pyhive[hive]>=0.6.1 diff --git a/requirements/development.txt b/requirements/development.txt index 6ddbcf9b93105..ee6d2ab5bc31b 100644 --- a/requirements/development.txt +++ b/requirements/development.txt @@ -1,4 +1,4 @@ -# SHA1:2d3a7d56d8fdec412b556af9b6dd21a3e6711eb0 +# SHA1:c835350e502151c63817980505ce50b9e5b78a54 # # This file is autogenerated by pip-compile-multi # To update, run: @@ -36,7 +36,7 @@ jsonlines==2.0.0 # via tabulator linear-tsv==1.1.0 # via tabulator -mysqlclient==2.0.3 +mysqlclient==2.1.0 # via -r requirements/development.in openpyxl==3.0.7 # via tabulator diff --git a/setup.py b/setup.py index 33540aa414d1d..4f63c284f7807 100644 --- a/setup.py +++ b/setup.py @@ -141,7 +141,7 @@ def get_git_sha() -> str: "impala": ["impyla>0.16.2, <0.17"], "kylin": ["kylinpy>=2.8.1, <2.9"], "mmsql": ["pymssql>=2.1.4, <2.2"], - "mysql": ["mysqlclient==1.4.2.post1"], + "mysql": ["mysqlclient>=2.1.0, <3"], "oracle": ["cx-Oracle>8.0.0, <8.1"], "pinot": ["pinotdb>=0.3.3, <0.4"], "postgres": ["psycopg2-binary==2.8.5"],