mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-12-28 06:34:15 +00:00
Bump Python version requirement from 3.11 to 3.14
Update all references to Python 3.11 to use Python 3.14 to match the pyproject.toml requires-python = ">=3.14" setting: - bin/lock_pkgs.sh: uv venv --python 3.14 - .github/workflows/test.yml: python matrix and PDM version - .github/workflows/pip.yml: PYTHON_VERSION env var - Dockerfile: comment and example FROM line - Issue templates: example version output
This commit is contained in:
parent
24c51452ef
commit
cff4077c23
6
.github/ISSUE_TEMPLATE/1-bug_report.yml
vendored
6
.github/ISSUE_TEMPLATE/1-bug_report.yml
vendored
@ -73,9 +73,9 @@ body:
|
||||
DEBUG=False IS_TTY=True SUDO=False ID=dfa11485:aa78ad45 SEARCH_BACKEND=ripgrep LDAP=False
|
||||
|
||||
Binary Dependencies:
|
||||
√ python 3.11.9 venv_pip ~/.venv/bin/python
|
||||
√ django 5.1.2 venv_pip ~/.venv/lib/python3.11/site-packages/django/__init__.py
|
||||
√ sqlite 2.6.0 venv_pip ~/.venv/lib/python3.11/site-packages/django/db/backends/sqlite3/base.py
|
||||
√ python 3.14.0 venv_pip ~/.venv/bin/python
|
||||
√ django 6.0 venv_pip ~/.venv/lib/python3.14/site-packages/django/__init__.py
|
||||
√ sqlite 2.6.0 venv_pip ~/.venv/lib/python3.14/site-packages/django/db/backends/sqlite3/base.py
|
||||
√ pip 24.3.1 venv_pip ~/.venv/bin/pip
|
||||
...
|
||||
validations:
|
||||
|
||||
6
.github/ISSUE_TEMPLATE/2-feature_request.yml
vendored
6
.github/ISSUE_TEMPLATE/2-feature_request.yml
vendored
@ -75,9 +75,9 @@ body:
|
||||
DEBUG=False IS_TTY=True SUDO=False ID=dfa11485:aa78ad45 SEARCH_BACKEND=ripgrep LDAP=False
|
||||
|
||||
Binary Dependencies:
|
||||
√ python 3.11.9 venv_pip ~/.venv/bin/python
|
||||
√ django 5.1.2 venv_pip ~/.venv/lib/python3.11/site-packages/django/__init__.py
|
||||
√ sqlite 2.6.0 venv_pip ~/.venv/lib/python3.11/site-packages/django/db/backends/sqlite3/base.py
|
||||
√ python 3.14.0 venv_pip ~/.venv/bin/python
|
||||
√ django 6.0 venv_pip ~/.venv/lib/python3.14/site-packages/django/__init__.py
|
||||
√ sqlite 2.6.0 venv_pip ~/.venv/lib/python3.14/site-packages/django/db/backends/sqlite3/base.py
|
||||
√ pip 24.3.1 venv_pip ~/.venv/bin/pip
|
||||
...
|
||||
validations:
|
||||
|
||||
2
.github/workflows/pip.yml
vendored
2
.github/workflows/pip.yml
vendored
@ -9,7 +9,7 @@ on:
|
||||
- 'v*'
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: 3.11
|
||||
PYTHON_VERSION: 3.14
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
matrix:
|
||||
os: [ubuntu-22.04]
|
||||
# os: [ubuntu-22.04, macos-latest, windows-latest]
|
||||
python: [3.11]
|
||||
python: [3.14]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
- name: Setup PDM
|
||||
uses: pdm-project/setup-pdm@v3
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.14'
|
||||
cache: true
|
||||
|
||||
### Install Python & JS Dependencies
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# This is the Dockerfile for ArchiveBox, it bundles the following main dependencies:
|
||||
# python3.11, pip, pipx, uv, python3-ldap
|
||||
# python3.14, pip, pipx, uv, python3-ldap
|
||||
# curl, wget, git, dig, ping, tree, nano
|
||||
# node, npm, single-file, readability-extractor, postlight-parser
|
||||
# ArchiveBox, yt-dlp, playwright, chromium
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
### Example: Using ArchiveBox in your own project's Dockerfile ########
|
||||
|
||||
# FROM python:3.12-slim
|
||||
# FROM python:3.14-slim
|
||||
# WORKDIR /data
|
||||
# RUN pip install archivebox>=0.8.5rc51 # use latest release here
|
||||
# RUN archivebox install
|
||||
|
||||
@ -45,7 +45,7 @@ echo
|
||||
echo
|
||||
|
||||
echo "[+] Generating dev & prod requirements.txt & pdm.lock from pyproject.toml..."
|
||||
uv venv --allow-existing --python 3.11
|
||||
uv venv --allow-existing --python 3.14
|
||||
source .venv/bin/activate
|
||||
echo
|
||||
echo "pyproject.toml: archivebox $(grep 'version = ' pyproject.toml | head -n 1 | awk '{print $3}' | jq -r)"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user