From a840b0c45706454b02bbd92f7bbda71458b40a68 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 1 Jun 2026 03:42:51 -0700 Subject: [PATCH] release: archivebox 0.9.34rc3 --- Dockerfile | 3 +++ archivebox/services/runner.py | 4 ++++ etc/package.json | 2 +- pyproject.toml | 8 ++++---- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 57a5704b..47562ec7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -313,6 +313,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=apt-$TARGETARCH$T && export CHROME_USER_DATA_DIR="$LIB_DIR/chrome_profile" \ && mkdir -p "$LIB_DIR" \ && apt-get update -qq \ + && apt-get install -qq -y --no-install-recommends build-essential \ && if [ "$TARGETARCH" = "arm64" ]; then \ abxpkg install --binproviders=npm --overrides='{"npm":{"install_args":["playwright@next"]}}' playwright; \ abxpkg install --no-cache --install-timeout=600 --binproviders=playwright --bin-dir="$LIB_DIR/env/bin" chromium; \ @@ -323,6 +324,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=apt-$TARGETARCH$T && rm -rf "$LIB_DIR/personas" "$LIB_DIR/chrome_profile" /opt/archivebox/lib-layer \ && mkdir -p /opt/archivebox/lib-layer \ && cp -a "$LIB_DIR"/. /opt/archivebox/lib-layer/ \ + && apt-get purge -y build-essential \ + && apt-get autoremove -y \ && rm -rf /var/lib/apt/lists/* \ && chown -R "$DEFAULT_PUID:$DEFAULT_PGID" /opt/archivebox/lib-layer diff --git a/archivebox/services/runner.py b/archivebox/services/runner.py index eed1461d..6d3bdeb0 100644 --- a/archivebox/services/runner.py +++ b/archivebox/services/runner.py @@ -708,10 +708,14 @@ class CrawlRunner: from archivebox.config.common import get_config snapshot = Snapshot.objects.select_related("crawl").get(id=snapshot_id) + runtime_chrome_overrides = { + key: self.base_config[key] for key in ("CHROME_USER_DATA_DIR", "CHROME_DOWNLOADS_DIR") if self.base_config.get(key) + } config = get_config( crawl=snapshot.crawl, snapshot=snapshot, base_config=self.base_config or None, + overrides=runtime_chrome_overrides, include_machine=False, ) config["CRAWL_DIR"] = self.crawl_output_dir diff --git a/etc/package.json b/etc/package.json index 532a8122..4973d047 100644 --- a/etc/package.json +++ b/etc/package.json @@ -1,6 +1,6 @@ { "name": "archivebox", - "version": "0.9.34rc2", + "version": "0.9.34rc3", "repository": "github:ArchiveBox/ArchiveBox", "license": "MIT", "dependencies": { diff --git a/pyproject.toml b/pyproject.toml index ca271777..86a0dd65 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "archivebox" -version = "0.9.34rc2" +version = "0.9.34rc3" requires-python = ">=3.13" description = "Self-hosted internet archiving solution." authors = [{name = "Nick Sweeting", email = "pyproject.toml@archivebox.io"}] @@ -79,9 +79,9 @@ dependencies = [ ### Extractor dependencies (optional binaries detected at runtime via shutil.which) ### Binary/Package Management "abxbus==2.5.8", # EventBus API - "abxpkg>=1.11.116", # for: detecting, versioning, and installing binaries via apt/brew/pip/npm - "abx-plugins>=1.11.119", # shared ArchiveBox plugin package with Chrome/Puppeteer dependency wiring - "abx-dl>=1.11.119", # shared ArchiveBox downloader package with blocking install preflight + "abxpkg>=1.11.117", # for: detecting, versioning, and installing binaries via apt/brew/pip/npm + "abx-plugins>=1.11.120", # shared ArchiveBox plugin package with Chrome/Puppeteer dependency wiring + "abx-dl>=1.11.120", # 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 ]