[PR #1760] FIX: docker build #3014

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

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

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/ArchiveBox/ArchiveBox/pull/1760 **State:** closed **Merged:** Yes --- <!-- 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. -->
kerem 2026-03-01 18:01:24 +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#3014
No description provided.