Merge pull request #3634 from seleniumbase/update-geckodriver-and-dependencies
Update geckodriver and dependencies
This commit is contained in:
commit
b701e2087d
|
@ -1,7 +1,7 @@
|
||||||
pip>=25.0.1
|
pip>=25.0.1
|
||||||
packaging>=24.2
|
packaging>=24.2
|
||||||
setuptools~=70.2;python_version<"3.10"
|
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
|
wheel>=0.45.1
|
||||||
attrs>=25.3.0
|
attrs>=25.3.0
|
||||||
certifi>=2025.1.31
|
certifi>=2025.1.31
|
||||||
|
@ -15,7 +15,7 @@ mycdp>=1.1.1
|
||||||
pynose>=1.5.4
|
pynose>=1.5.4
|
||||||
platformdirs>=4.3.6;python_version<"3.9"
|
platformdirs>=4.3.6;python_version<"3.9"
|
||||||
platformdirs>=4.3.7;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
|
sbvirtualdisplay>=1.4.0
|
||||||
MarkupSafe==2.1.5;python_version<"3.9"
|
MarkupSafe==2.1.5;python_version<"3.9"
|
||||||
MarkupSafe>=3.0.2;python_version>="3.9"
|
MarkupSafe>=3.0.2;python_version>="3.9"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
# seleniumbase package
|
# seleniumbase package
|
||||||
__version__ = "4.36.2"
|
__version__ = "4.36.3"
|
||||||
|
|
|
@ -54,7 +54,7 @@ IS_WINDOWS = shared_utils.is_windows()
|
||||||
DRIVER_DIR = os.path.dirname(os.path.realpath(drivers.__file__))
|
DRIVER_DIR = os.path.dirname(os.path.realpath(drivers.__file__))
|
||||||
LOCAL_PATH = "/usr/local/bin/" # On Mac and Linux systems
|
LOCAL_PATH = "/usr/local/bin/" # On Mac and Linux systems
|
||||||
DEFAULT_CHROMEDRIVER_VERSION = "114.0.5735.90" # (If can't find LATEST_STABLE)
|
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)
|
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):
|
if os.path.exists(new_file):
|
||||||
os.remove(new_file) # Technically the old file now
|
os.remove(new_file) # Technically the old file now
|
||||||
log_d("Extracting %s from %s ..." % (contents, file_name))
|
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()
|
tar.close()
|
||||||
os.remove(tar_file_path)
|
os.remove(tar_file_path)
|
||||||
log_d("%sUnzip Complete!%s\n" % (c2, cr))
|
log_d("%sUnzip Complete!%s\n" % (c2, cr))
|
||||||
|
|
10
setup.py
10
setup.py
|
@ -150,7 +150,7 @@ setup(
|
||||||
'pip>=25.0.1',
|
'pip>=25.0.1',
|
||||||
'packaging>=24.2',
|
'packaging>=24.2',
|
||||||
'setuptools~=70.2;python_version<"3.10"', # Newer ones had issues
|
'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',
|
'wheel>=0.45.1',
|
||||||
'attrs>=25.3.0',
|
'attrs>=25.3.0',
|
||||||
"certifi>=2025.1.31",
|
"certifi>=2025.1.31",
|
||||||
|
@ -164,7 +164,7 @@ setup(
|
||||||
"pynose>=1.5.4",
|
"pynose>=1.5.4",
|
||||||
'platformdirs>=4.3.6;python_version<"3.9"',
|
'platformdirs>=4.3.6;python_version<"3.9"',
|
||||||
'platformdirs>=4.3.7;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",
|
"sbvirtualdisplay>=1.4.0",
|
||||||
'MarkupSafe==2.1.5;python_version<"3.9"',
|
'MarkupSafe==2.1.5;python_version<"3.9"',
|
||||||
'MarkupSafe>=3.0.2;python_version>="3.9"',
|
'MarkupSafe>=3.0.2;python_version>="3.9"',
|
||||||
|
@ -254,12 +254,14 @@ setup(
|
||||||
# pip install -e .[mss]
|
# pip install -e .[mss]
|
||||||
# (An optional library for tile_windows() in CDP Mode.)
|
# (An optional library for tile_windows() in CDP Mode.)
|
||||||
"mss": [
|
"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]
|
# pip install -e .[pdfminer]
|
||||||
# (An optional library for parsing PDF files.)
|
# (An optional library for parsing PDF files.)
|
||||||
"pdfminer": [
|
"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==39.0.2;python_version<"3.9"',
|
||||||
'cryptography==44.0.2;python_version>="3.9"',
|
'cryptography==44.0.2;python_version>="3.9"',
|
||||||
'cffi==1.17.1',
|
'cffi==1.17.1',
|
||||||
|
|
Loading…
Reference in New Issue