diff --git a/requirements.txt b/requirements.txt index fd54864f..b90ef47b 100755 --- a/requirements.txt +++ b/requirements.txt @@ -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" diff --git a/seleniumbase/__version__.py b/seleniumbase/__version__.py index ba4a1865..dfe5c843 100755 --- a/seleniumbase/__version__.py +++ b/seleniumbase/__version__.py @@ -1,2 +1,2 @@ # seleniumbase package -__version__ = "4.36.2" +__version__ = "4.36.3" diff --git a/seleniumbase/console_scripts/sb_install.py b/seleniumbase/console_scripts/sb_install.py index ae7e0b88..26981c81 100644 --- a/seleniumbase/console_scripts/sb_install.py +++ b/seleniumbase/console_scripts/sb_install.py @@ -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)) - 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)) diff --git a/setup.py b/setup.py index e04a8baa..df12248b 100755 --- a/setup.py +++ b/setup.py @@ -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',