You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/11/26 22:12:12 UTC
(superset) branch master updated: chore(deps): cap async_timeout<5.0.0 (#31170)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 529aed5da1 chore(deps): cap async_timeout<5.0.0 (#31170)
529aed5da1 is described below
commit 529aed5da16196c30cf54fcaf48f0ec34d46cfc7
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Tue Nov 26 14:12:04 2024 -0800
chore(deps): cap async_timeout<5.0.0 (#31170)
---
pyproject.toml | 5 ++++-
requirements/base.in | 4 ++++
requirements/base.txt | 8 +++++---
tests/integration_tests/db_engine_specs/hive_tests.py | 3 +++
4 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index aead4f628f..918a3727ef 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -180,7 +180,10 @@ development = [
"docker",
"flask-testing",
"freezegun",
- "greenlet>=2.0.2",
+ # playwright requires greenlet==3.0.3
+ # submitted a PR to relax deps in 11/2024
+ # https://github.com/microsoft/playwright-python/pull/2669
+ "greenlet==3.0.3",
"grpcio>=1.55.3",
"openapi-spec-validator",
"parameterized",
diff --git a/requirements/base.in b/requirements/base.in
index d0f7108840..aed60f2032 100644
--- a/requirements/base.in
+++ b/requirements/base.in
@@ -20,3 +20,7 @@
urllib3>=1.26.18
werkzeug>=3.0.1
numexpr>=2.9.0
+
+# 5.0.0 has a sensitive deprecation used in other libs
+# -> https://github.com/aio-libs/async-timeout/blob/master/CHANGES.rst#500-2024-10-31
+async_timeout>=4.0.0,<5.0.0
diff --git a/requirements/base.txt b/requirements/base.txt
index b9970e4000..88596b13ad 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -1,4 +1,4 @@
-# SHA1:85649679306ea016e401f37adfbad832028d2e5f
+# SHA1:cc62b2b6658afa9dbb6e81046e1084f15442858a
#
# This file is autogenerated by pip-compile-multi
# To update, run:
@@ -15,8 +15,10 @@ apispec[yaml]==6.3.0
# via flask-appbuilder
apsw==3.46.0.0
# via shillelagh
-async-timeout==5.0.1
- # via redis
+async-timeout==4.0.3
+ # via
+ # -r requirements/base.in
+ # redis
attrs==24.2.0
# via
# cattrs
diff --git a/tests/integration_tests/db_engine_specs/hive_tests.py b/tests/integration_tests/db_engine_specs/hive_tests.py
index 7ef4854cda..734ebca1c1 100644
--- a/tests/integration_tests/db_engine_specs/hive_tests.py
+++ b/tests/integration_tests/db_engine_specs/hive_tests.py
@@ -174,6 +174,9 @@ def test_df_to_sql_if_exists_fail_with_schema(mock_g):
@mock.patch("superset.db_engine_specs.hive.g", spec={})
@mock.patch("superset.db_engine_specs.hive.upload_to_s3")
+@unittest.skipUnless(
+ SupersetTestCase.is_module_installed("boto3"), "boto3 not installed"
+)
def test_df_to_sql_if_exists_replace(mock_upload_to_s3, mock_g):
config = app.config.copy()
app.config["CSV_TO_HIVE_UPLOAD_DIRECTORY_FUNC"]: lambda *args: "" # noqa: F722