chore(deps): cap async_timeout<5.0.0 (#31170)

This commit is contained in:
Maxime Beauchemin
2024-11-26 14:12:04 -08:00
committed by GitHub
parent 09802acf0d
commit 529aed5da1
4 changed files with 16 additions and 4 deletions

View File

@@ -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",

View File

@@ -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

View File

@@ -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

View File

@@ -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