mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 01:58:41 +01:00
The runtime moved to 3.14 but the pinned versions did not, so packages without cp314 wheels silently resolved to their pure-Python universal wheels. Bump each to the first release that ships cp314 wheels, all within the existing pyproject specs: - SQLAlchemy 2.0.41 -> 2.0.52 (cyextension, and greenlet is back so sqlalchemy.ext.asyncio is functional rather than merely importable) - multidict, propcache, frozenlist (aiohttp/yarl accelerators) - wrapt 1.17.2 -> 1.17.3 (OpenTelemetry instrumentation proxies) - coverage 7.9.2 -> 7.16.0 (CTracer, and CI runs the suite under --cov) - mysql-connector-python 9.3.0 -> 9.7.0 (C extension protocol) - debugpy 1.8.14 -> 1.8.21 (pydevd accelerators) - pyinstrument 5.0.3 -> 5.1.3 (no longer compiled from sdist on every `uv sync --all-extras`, which broke the no-toolchain dev setup) - anyio 4.9.0 -> 4.14.2, dropping a PEP 765 SyntaxWarning printed on every process start Run pytest and the migrations workflow when the runtime or the lock changes: nothing in the 3.14 bump lives under `backend/`, so neither workflow triggered on it. `e2e.yml` already listed those paths. Make `.python-version` the single home for the version: `uv python install` and `actions/setup-python` both read it. In the dev Dockerfile that also fixes the interpreter layer not being invalidated when the pin changes, and the sigil install now derives site-packages from the venv. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
name: Update HowLongToBeat API URL
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
# HLTB rotates the endpoint without notice, and the fixture is served to
|
|
# every install from master, so check weekly rather than on someone noticing.
|
|
- cron: "0 6 * * 1"
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
update-hltb-api-url:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
|
|
|
- name: Install python
|
|
run: |
|
|
uv python install
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
uv sync
|
|
|
|
- name: Run HLTB API URL discovery script
|
|
# Only satisfies the backend config import; discovery authenticates nothing.
|
|
env:
|
|
# trunk-ignore(checkov/CKV_SECRET_6): placeholder, not a credential
|
|
ROMM_AUTH_SECRET_KEY: unused-by-endpoint-discovery
|
|
run: |
|
|
cd backend
|
|
uv run python -m utils.update_hltb_api_url
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
with:
|
|
add-paths: |
|
|
backend/handler/metadata/fixtures/hltb_api_url
|
|
commit-message: "Update HLTB API URL [skip CI]"
|
|
branch: update-hltb-api-url
|
|
sign-commits: true
|
|
title: "Update HLTB API URL [skip CI]"
|
|
reviewers: |
|
|
gantoine
|