mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-14 11:06:13 +05:00
Use published Chrome session isolation fix
This commit is contained in:
parent
b8d012785e
commit
dcdce367d3
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user