Merge pull request #3634 from seleniumbase/update-geckodriver-and-dependencies

Update geckodriver and dependencies
This commit is contained in:
Michael Mintz 2025-03-28 18:39:00 -04:00 committed by GitHub
commit b701e2087d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 9 deletions

View File

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

View File

@ -1,2 +1,2 @@
# seleniumbase package
__version__ = "4.36.2"
__version__ = "4.36.3"

View File

@ -54,7 +54,7 @@ IS_WINDOWS = shared_utils.is_windows()
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)
@ -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))
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))

View File

@ -150,7 +150,7 @@ setup(
'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",
@ -164,7 +164,7 @@ setup(
"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"',
@ -254,12 +254,14 @@ setup(
# 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',