[PR #1249] Replace setup.py with PDM, update Python, NodeJS, package versions, and Dockerfile #2870

Closed
opened 2026-03-01 18:01:00 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/ArchiveBox/ArchiveBox/pull/1249

State: closed
Merged: Yes


Summary

  • Adds https://pdm.fming.dev/latest/ and changes the Dockerfile to use it for build and installation
  • bump Dockerfile base image to debian:bookworm-backports
  • use global /venv for clear separation of ArchiveBox dependencies /app/.venv and build tooling /venv
  • bump Dockerfile python version to 3.11 and node to 21.x
  • remove youtube-dl from Dockerfile completely in favor of yt-dlp
  • use playwright exclusively to install chromium, no more manually managing chromium dependencies
  • build wheel during build process using pdm
  • update package.json dependencies including mercury (aka postlight-parser), singlefile, readability-extractor

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Snapshot data layout on disk
**Original Pull Request:** https://github.com/ArchiveBox/ArchiveBox/pull/1249 **State:** closed **Merged:** Yes --- # Summary - Adds https://pdm.fming.dev/latest/ and changes the `Dockerfile` to use it for build and installation - bump `Dockerfile` base image to [`debian:bookworm-backports`](https://packages.debian.org/bookworm-backports/) - use global `/venv` for clear separation of ArchiveBox dependencies `/app/.venv` and build tooling `/venv` - bump `Dockerfile` python version to `3.11` and node to `21.x` - remove `youtube-dl` from `Dockerfile` completely in favor of `yt-dlp` - use `playwright` exclusively to install chromium, no more manually managing chromium dependencies - build wheel during build process using `pdm` - update `package.json` dependencies including `mercury` (aka `postlight-parser`), `singlefile`, `readability-extractor` # Changes these areas - [ ] Bugfixes - [ ] Feature behavior - [ ] Command line interface - [ ] Configuration options - [x] Internal architecture - [ ] Snapshot data layout on disk
kerem 2026-03-01 18:01:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#2870
No description provided.