[PR #1760] [MERGED] FIX: docker build #4519

Closed
opened 2026-03-15 01:49:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1760
Author: @pellaeon
Created: 1/31/2026
Status: Merged
Merged: 1/31/2026
Merged by: @pirate

Base: devHead: dev2


📝 Commits (3)

  • 36008fd FIX: docker build
  • 1ca5452 FIX: uuid_compat
  • 9aa4f0d FIX: The docker entrypoint doesn't have --quick-init

📊 Changes

3 files changed (+36 additions, -9 deletions)

View changed files

📝 Dockerfile (+9 -7)
📝 archivebox/__init__.py (+4 -0)
📝 archivebox/uuid_compat.py (+23 -2)

📄 Description

Summary

This PR fixes the docker image build. Also fixes the uuid7 not found error on the first run of archivebox init.


Summary by cubic

Fixes the Docker image build and the uuid7 error on first init. We now use uv-managed Python 3.13 and patch uuid.uuid7 before Django migrations.

  • Bug Fixes

    • Docker: switch to uv-managed Python, create venv with uv --python, skip version check at build, and start with --init.
    • UUID7: add uuid_compat, import it early, and monkey-patch uuid.uuid7 on <3.14 to keep migrations working.
  • Dependencies

    • Bump Python to 3.13.
    • Require uuid_extensions on Python <3.14.

Written for commit 9aa4f0de58. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ArchiveBox/ArchiveBox/pull/1760 **Author:** [@pellaeon](https://github.com/pellaeon) **Created:** 1/31/2026 **Status:** ✅ Merged **Merged:** 1/31/2026 **Merged by:** [@pirate](https://github.com/pirate) **Base:** `dev` ← **Head:** `dev2` --- ### 📝 Commits (3) - [`36008fd`](https://github.com/ArchiveBox/ArchiveBox/commit/36008fd1faaef4dfa8f1d088d7baf98866d55850) FIX: docker build - [`1ca5452`](https://github.com/ArchiveBox/ArchiveBox/commit/1ca54525f2155b214ef8702c39081d9838a98381) FIX: uuid_compat - [`9aa4f0d`](https://github.com/ArchiveBox/ArchiveBox/commit/9aa4f0de587d9cbe5c1e20155295b0353dd4f5a9) FIX: The docker entrypoint doesn't have --quick-init ### 📊 Changes **3 files changed** (+36 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+9 -7) 📝 `archivebox/__init__.py` (+4 -0) 📝 `archivebox/uuid_compat.py` (+23 -2) </details> ### 📄 Description <!-- IMPORTANT: Do not submit PRs with only formatting / PEP8 / line length changes. --> # Summary This PR fixes the docker image build. Also fixes the uuid7 not found error on the first run of `archivebox init`. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixes the Docker image build and the uuid7 error on first init. We now use uv-managed Python 3.13 and patch uuid.uuid7 before Django migrations. - **Bug Fixes** - Docker: switch to uv-managed Python, create venv with uv --python, skip version check at build, and start with --init. - UUID7: add uuid_compat, import it early, and monkey-patch uuid.uuid7 on <3.14 to keep migrations working. - **Dependencies** - Bump Python to 3.13. - Require uuid_extensions on Python <3.14. <sup>Written for commit 9aa4f0de587d9cbe5c1e20155295b0353dd4f5a9. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 01:49:02 +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#4519
No description provided.