Skip to content

Update geckodriver and dependencies #3634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pip>=25.0.1
packaging>=24.2
setuptools~=70.2;python_version<"3.10"
setuptools>=78.0.2;python_version>="3.10"
setuptools>=78.1.0;python_version>="3.10"
wheel>=0.45.1
attrs>=25.3.0
certifi>=2025.1.31
Expand All @@ -15,7 +15,7 @@ mycdp>=1.1.1
pynose>=1.5.4
platformdirs>=4.3.6;python_version<"3.9"
platformdirs>=4.3.7;python_version>="3.9"
typing-extensions>=4.12.2
typing-extensions>=4.13.0
sbvirtualdisplay>=1.4.0
MarkupSafe==2.1.5;python_version<"3.9"
MarkupSafe>=3.0.2;python_version>="3.9"
Expand Down
2 changes: 1 addition & 1 deletion seleniumbase/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# seleniumbase package
__version__ = "4.36.2"
__version__ = "4.36.3"
7 changes: 5 additions & 2 deletions seleniumbase/console_scripts/sb_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
DRIVER_DIR = os.path.dirname(os.path.realpath(drivers.__file__))
LOCAL_PATH = "/usr/local/bin/" # On Mac and Linux systems
DEFAULT_CHROMEDRIVER_VERSION = "114.0.5735.90" # (If can't find LATEST_STABLE)
DEFAULT_GECKODRIVER_VERSION = "v0.35.0"
DEFAULT_GECKODRIVER_VERSION = "v0.36.0"
DEFAULT_EDGEDRIVER_VERSION = "115.0.1901.183" # (If can't find LATEST_STABLE)


Expand Down Expand Up @@ -1296,7 +1296,10 @@ def main(override=None, intel_for_uc=None, force_uc=None):
if os.path.exists(new_file):
os.remove(new_file) # Technically the old file now
log_d("Extracting %s from %s ..." % (contents, file_name))
tar.extractall(downloads_folder)
if sys.version_info < (3, 12):
tar.extractall(downloads_folder)
else:
tar.extractall(downloads_folder, filter="fully_trusted")
tar.close()
os.remove(tar_file_path)
log_d("%sUnzip Complete!%s\n" % (c2, cr))
Expand Down
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
'pip>=25.0.1',
'packaging>=24.2',
'setuptools~=70.2;python_version<"3.10"', # Newer ones had issues
'setuptools>=78.0.2;python_version>="3.10"',
'setuptools>=78.1.0;python_version>="3.10"',
'wheel>=0.45.1',
'attrs>=25.3.0',
"certifi>=2025.1.31",
Expand All @@ -164,7 +164,7 @@
"pynose>=1.5.4",
'platformdirs>=4.3.6;python_version<"3.9"',
'platformdirs>=4.3.7;python_version>="3.9"',
'typing-extensions>=4.12.2',
'typing-extensions>=4.13.0',
"sbvirtualdisplay>=1.4.0",
'MarkupSafe==2.1.5;python_version<"3.9"',
'MarkupSafe>=3.0.2;python_version>="3.9"',
Expand Down Expand Up @@ -254,12 +254,14 @@
# pip install -e .[mss]
# (An optional library for tile_windows() in CDP Mode.)
"mss": [
"mss==9.0.2", # Next one drops Python 3.8/3.9
'mss==9.0.2;python_version<"3.9"',
'mss==10.0.0;python_version>="3.9"',
],
# pip install -e .[pdfminer]
# (An optional library for parsing PDF files.)
"pdfminer": [
'pdfminer.six==20250324',
'pdfminer.six==20250324;python_version<"3.9"',
'pdfminer.six==20250327;python_version>="3.9"',
'cryptography==39.0.2;python_version<"3.9"',
'cryptography==44.0.2;python_version>="3.9"',
'cffi==1.17.1',
Expand Down