[PR #740] [CLOSED] Arch Linux AUR bug fixes backport #4287

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

📋 Pull Request Information

Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/740
Author: @srevinsaju
Created: 5/7/2021
Status: Closed

Base: devHead: work/srevinsaju/django-3.2.1


📝 Commits (2)

  • 4223801 fix: attempt to fix ValueError in AppConfig
  • 9b3585b fix: include subpackages in the top class archivebox package

📊 Changes

2 files changed (+3 additions, -2 deletions)

View changed files

📝 archivebox/core/apps.py (+1 -1)
📝 setup.py (+2 -1)

📄 Description

Summary

Few changes required for ArchiveBox Arch Linux AUR Packages.

  1. github.com/ArchiveBox/ArchiveBox@4223801a04 addresses a minor Django change which created a ValueError when trying to run archivebox init on Arch Linux,
  File "/usr/lib/python3.9/site-packages/django/db/models/options.py", line 246, in _get_default_pk_class
    raise ValueError(
ValueError: Primary key 'django.db.models.UUIDField' referred by core.apps.CoreConfig.default_auto_field must subclass AutoField.
  1. The vendor and other subdirectories were not included in the setup.py install because only the main package (archivebox) was included, not the subdirectories within.

Feel free to close this PR, if it seems redundant, or let me know if I can improve it.

Related issues

#738, #728

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Snapshot data layout on disk

🔄 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/740 **Author:** [@srevinsaju](https://github.com/srevinsaju) **Created:** 5/7/2021 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `work/srevinsaju/django-3.2.1` --- ### 📝 Commits (2) - [`4223801`](https://github.com/ArchiveBox/ArchiveBox/commit/4223801a04fac1bdaf05f92d3a27582d0a1e4796) fix: attempt to fix ValueError in AppConfig - [`9b3585b`](https://github.com/ArchiveBox/ArchiveBox/commit/9b3585b94d2e401c0a63324cc71e0e1daad44c0a) fix: include subpackages in the top class archivebox package ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `archivebox/core/apps.py` (+1 -1) 📝 `setup.py` (+2 -1) </details> ### 📄 Description <!-- IMPORTANT: Do not submit PRs with only formatting / PEP8 / line length changes. --> # Summary Few changes required for ArchiveBox Arch Linux AUR Packages. 1. https://github.com/ArchiveBox/ArchiveBox/commit/4223801a04fac1bdaf05f92d3a27582d0a1e4796 addresses a minor Django change which created a `ValueError` when trying to run `archivebox init` on Arch Linux, ```python File "/usr/lib/python3.9/site-packages/django/db/models/options.py", line 246, in _get_default_pk_class raise ValueError( ValueError: Primary key 'django.db.models.UUIDField' referred by core.apps.CoreConfig.default_auto_field must subclass AutoField. ``` 2. The `vendor` and other subdirectories were not included in the `setup.py` install because only the main package (`archivebox`) was included, not the subdirectories within. Feel free to close this PR, if it seems redundant, or let me know if I can improve it. # Related issues #738, #728 # Changes these areas - [x] Bugfixes - [ ] Feature behavior - [ ] Command line interface - [ ] Configuration options - [ ] Internal architecture - [ ] Snapshot data layout on disk --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 01:36:21 +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#4287
No description provided.