From dcdce367d38a57ec52bb39a26895a8d87553bf75 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Fri, 15 May 2026 13:35:02 -0700 Subject: [PATCH] Use published Chrome session isolation fix --- archivebox/tests/conftest.py | 21 ++++++--------------- pyproject.toml | 4 ++-- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/archivebox/tests/conftest.py b/archivebox/tests/conftest.py index 2817ee67..843ef2cb 100644 --- a/archivebox/tests/conftest.py +++ b/archivebox/tests/conftest.py @@ -438,24 +438,15 @@ def real_archive_with_example(tmp_path_factory, request): "USE_COLOR": "False", "RESPONSES_TIMEOUT": "30", } - cmd = [sys.executable, "-m", "archivebox", "add", "--depth=0", "--plugins=responses", "https://example.com"] - base_env = os.environ.copy() - base_env.pop("DATA_DIR", None) - base_env["USE_COLOR"] = "False" - base_env["SHOW_PROGRESS"] = "False" - base_env.update(add_env) - - proc = subprocess.Popen( - cmd, - stdout=subprocess.PIPE, - stderr=subprocess.PIPE, - text=True, + stdout, stderr, returncode = run_archivebox_cmd_cwd( + ["add", "--depth=0", "--plugins=responses", "https://example.com"], cwd=tmp_path, - env=base_env, + timeout=600, + env=add_env, ) + assert returncode == 0, f"archivebox add failed:\nSTDOUT:\n{stdout}\nSTDERR:\n{stderr}" - ready = wait_for_archive_outputs(tmp_path, "https://example.com", timeout=600) - stdout, stderr = stop_process(proc) + ready = wait_for_archive_outputs(tmp_path, "https://example.com", timeout=60) assert ready, f"archivebox add did not produce required outputs within timeout:\nSTDOUT:\n{stdout}\nSTDERR:\n{stderr}" return tmp_path diff --git a/pyproject.toml b/pyproject.toml index d38bbf91..ce88a627 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "archivebox" -version = "0.9.30rc32" +version = "0.9.30rc33" requires-python = ">=3.13" description = "Self-hosted internet archiving solution." authors = [{name = "Nick Sweeting", email = "pyproject.toml@archivebox.io"}] @@ -80,7 +80,7 @@ dependencies = [ ### Binary/Package Management "abxbus>=2.5.0", # EventBus API "abxpkg>=1.10.7", # for: detecting, versioning, and installing binaries via apt/brew/pip/npm - "abx-plugins>=1.10.47", # shared ArchiveBox plugin package with Chrome/Puppeteer dependency wiring + "abx-plugins>=1.10.48", # shared ArchiveBox plugin package with Chrome/Puppeteer dependency wiring "abx-dl>=1.10.49", # shared ArchiveBox downloader package with blocking install preflight ### UUID7 backport for Python <3.14 "uuid7>=0.1.0; python_version < '3.14'", # provides the uuid_extensions module on Python 3.13