Skip to content

Commit

Permalink
chore(deps): bump selenium 4.14.0+ (apache#25933)
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Rusackas <[email protected]>
  • Loading branch information
2 people authored and hainenber committed Jan 22, 2025
1 parent bc3cd25 commit 5509112
Show file tree
Hide file tree
Showing 5 changed files with 139 additions and 16 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ dependencies = [
"pyyaml>=6.0.0, <7.0.0",
"PyJWT>=2.4.0, <3.0",
"redis>=4.6.0, <5.0",
"selenium>=3.141.0, <4.10.0",
"selenium>=4.14.0, <5.0",
"shillelagh[gsheetsapi]>=1.2.18, <2.0",
"shortid",
"sshtunnel>=0.4.0, <0.5",
Expand Down
47 changes: 42 additions & 5 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ attrs==24.2.0
# via
# cattrs
# jsonschema
# outcome
# requests-cache
# trio
babel==2.16.0
# via flask-babel
backoff==2.2.1
Expand All @@ -42,7 +44,9 @@ cattrs==24.1.2
celery==5.4.0
# via apache-superset (pyproject.toml)
certifi==2024.8.30
# via requests
# via
# requests
# selenium
cffi==1.17.1
# via
# cryptography
Expand Down Expand Up @@ -93,7 +97,10 @@ email-validator==2.2.0
et-xmlfile==2.0.0
# via openpyxl
exceptiongroup==1.2.2
# via cattrs
# via
# cattrs
# trio
# trio-websocket
flask==2.3.3
# via
# apache-superset (pyproject.toml)
Expand Down Expand Up @@ -149,8 +156,11 @@ greenlet==3.0.3
# -r requirements/base.in
# apache-superset (pyproject.toml)
# shillelagh
# sqlalchemy
gunicorn==23.0.0
# via apache-superset (pyproject.toml)
h11==0.14.0
# via wsproto
hashids==1.3.1
# via apache-superset (pyproject.toml)
holidays==0.25
Expand All @@ -161,8 +171,13 @@ idna==3.10
# via
# email-validator
# requests
# trio
importlib-metadata==8.5.0
# via apache-superset (pyproject.toml)
# via
# apache-superset (pyproject.toml)
# flask
# markdown
# shillelagh
importlib-resources==6.4.5
# via limits
isodate==0.7.2
Expand Down Expand Up @@ -228,6 +243,8 @@ openpyxl==3.1.5
# via pandas
ordered-set==4.1.0
# via flask-limiter
outcome==1.3.0.post0
# via trio
packaging==24.2
# via
# apache-superset (pyproject.toml)
Expand Down Expand Up @@ -283,6 +300,8 @@ pyparsing==3.2.0
# via apache-superset (pyproject.toml)
pyrsistent==0.20.0
# via jsonschema
pysocks==1.7.1
# via urllib3
python-dateutil==2.9.0.post0
# via
# apache-superset (pyproject.toml)
Expand Down Expand Up @@ -319,7 +338,7 @@ rich==13.9.4
# via flask-limiter
rsa==4.9
# via google-auth
selenium==3.141.0
selenium==4.27.1
# via apache-superset (pyproject.toml)
shillelagh==1.2.18
# via apache-superset (pyproject.toml)
Expand All @@ -335,6 +354,10 @@ six==1.16.0
# wtforms-json
slack-sdk==3.33.4
# via apache-superset (pyproject.toml)
sniffio==1.3.1
# via trio
sortedcontainers==2.4.0
# via trio
sqlalchemy==1.4.54
# via
# apache-superset (pyproject.toml)
Expand All @@ -356,14 +379,22 @@ sshtunnel==0.4.0
# via apache-superset (pyproject.toml)
tabulate==0.8.10
# via apache-superset (pyproject.toml)
trio==0.28.0
# via
# selenium
# trio-websocket
trio-websocket==0.11.1
# via selenium
typing-extensions==4.12.2
# via
# apache-superset (pyproject.toml)
# alembic
# cattrs
# flask-limiter
# kombu
# limits
# rich
# selenium
# shillelagh
tzdata==2024.2
# via
Expand All @@ -385,6 +416,8 @@ vine==5.1.0
# kombu
wcwidth==0.2.13
# via prompt-toolkit
websocket-client==1.8.0
# via selenium
werkzeug==3.1.3
# via
# -r requirements/base.in
Expand All @@ -394,6 +427,8 @@ werkzeug==3.1.3
# flask-login
wrapt==1.17.0
# via deprecated
wsproto==1.2.0
# via trio-websocket
wtforms==3.2.1
# via
# apache-superset (pyproject.toml)
Expand All @@ -409,6 +444,8 @@ xlsxwriter==3.0.9
# apache-superset (pyproject.toml)
# pandas
zipp==3.21.0
# via importlib-metadata
# via
# importlib-metadata
# importlib-resources
zstandard==0.23.0
# via flask-compress
53 changes: 52 additions & 1 deletion requirements/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ attrs==24.2.0
# -c requirements/base.txt
# cattrs
# jsonschema
# outcome
# requests-cache
# trio
babel==2.16.0
# via
# -c requirements/base.txt
Expand Down Expand Up @@ -77,6 +79,7 @@ certifi==2024.8.30
# via
# -c requirements/base.txt
# requests
# selenium
cffi==1.17.1
# via
# -c requirements/base.txt
Expand Down Expand Up @@ -177,6 +180,8 @@ exceptiongroup==1.2.2
# -c requirements/base.txt
# cattrs
# pytest
# trio
# trio-websocket
filelock==3.12.2
# via virtualenv
flask==2.3.3
Expand Down Expand Up @@ -312,6 +317,7 @@ greenlet==3.0.3
# apache-superset
# gevent
# shillelagh
# sqlalchemy
grpcio==1.68.0
# via
# apache-superset
Expand All @@ -323,6 +329,10 @@ gunicorn==23.0.0
# via
# -c requirements/base.txt
# apache-superset
h11==0.14.0
# via
# -c requirements/base.txt
# wsproto
hashids==1.3.1
# via
# -c requirements/base.txt
Expand All @@ -343,14 +353,19 @@ idna==3.10
# -c requirements/base.txt
# email-validator
# requests
# trio
importlib-metadata==8.5.0
# via
# -c requirements/base.txt
# apache-superset
# flask
# markdown
# shillelagh
importlib-resources==6.4.5
# via
# -c requirements/base.txt
# limits
# matplotlib
# prophet
iniconfig==2.0.0
# via pytest
Expand Down Expand Up @@ -479,6 +494,10 @@ ordered-set==4.1.0
# via
# -c requirements/base.txt
# flask-limiter
outcome==1.3.0.post0
# via
# -c requirements/base.txt
# trio
packaging==24.2
# via
# -c requirements/base.txt
Expand Down Expand Up @@ -629,6 +648,10 @@ pyrsistent==0.20.0
# via
# -c requirements/base.txt
# jsonschema
pysocks==1.7.1
# via
# -c requirements/base.txt
# urllib3
pytest==7.4.4
# via
# apache-superset
Expand Down Expand Up @@ -716,7 +739,7 @@ rsa==4.9
# google-auth
ruff==0.8.0
# via apache-superset
selenium==3.141.0
selenium==4.27.1
# via
# -c requirements/base.txt
# apache-superset
Expand Down Expand Up @@ -751,6 +774,14 @@ slack-sdk==3.33.4
# via
# -c requirements/base.txt
# apache-superset
sniffio==1.3.1
# via
# -c requirements/base.txt
# trio
sortedcontainers==2.4.0
# via
# -c requirements/base.txt
# trio
sqlalchemy==1.4.54
# via
# -c requirements/base.txt
Expand Down Expand Up @@ -799,15 +830,26 @@ tqdm==4.67.1
# prophet
trino==0.330.0
# via apache-superset
trio==0.28.0
# via
# -c requirements/base.txt
# selenium
# trio-websocket
trio-websocket==0.11.1
# via
# -c requirements/base.txt
# selenium
typing-extensions==4.12.2
# via
# -c requirements/base.txt
# alembic
# apache-superset
# cattrs
# flask-limiter
# kombu
# limits
# rich
# selenium
# shillelagh
tzdata==2024.2
# via
Expand Down Expand Up @@ -840,6 +882,10 @@ wcwidth==0.2.13
# via
# -c requirements/base.txt
# prompt-toolkit
websocket-client==1.8.0
# via
# -c requirements/base.txt
# selenium
werkzeug==3.1.3
# via
# -c requirements/base.txt
Expand All @@ -851,6 +897,10 @@ wrapt==1.17.0
# via
# -c requirements/base.txt
# deprecated
wsproto==1.2.0
# via
# -c requirements/base.txt
# trio-websocket
wtforms==3.2.1
# via
# -c requirements/base.txt
Expand All @@ -875,6 +925,7 @@ zipp==3.21.0
# via
# -c requirements/base.txt
# importlib-metadata
# importlib-resources
zope-event==5.0
# via gevent
zope-interface==5.4.0
Expand Down
5 changes: 4 additions & 1 deletion superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1488,7 +1488,10 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument # noq
WEBDRIVER_AUTH_FUNC = None

# Any config options to be passed as-is to the webdriver
WEBDRIVER_CONFIGURATION: dict[Any, Any] = {"service_log_path": "/dev/null"}
WEBDRIVER_CONFIGURATION = {
"options": {"capabilities": {}, "preferences": {}},
"service": {"log_output": "/dev/null", "service_args": [], "port": 0, "env": {}},
}

# Additional args to be passed as arguments to the config object
# Note: If using Chrome, you'll want to add the "--marionette" arg.
Expand Down
Loading

0 comments on commit 5509112

Please sign in to comment.