Skip to content

deps: upgrade bgutil PO-token provider 1.3.1 to 2.0.2 - #8

Merged
TheGeneCode merged 1 commit into
mainfrom
deps/bgutil-2.0.2
Nov 8, 2026
Merged

TheGeneCode merged 1 commit into
mainfrom
deps/bgutil-2.0.2

Conversation

@TheGeneCode

@TheGeneCode TheGeneCode commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

What and why

Moves the bgutil-ytdlp-pot-provider plugin and the vendored server script (vendor/bgutil-pot-provider/server/) to 2.0.2 together. Dependabot could only bump the lockfile, which makes the plugin's version check fail and 1080p downloads 403 (supersedes #5, closed, and #7, 1.3.1 → 1.3.2).

  • 2.0's breaking change (HTTP server binds to localhost) is server-mode only; MeadowLark uses script-deno. What script-deno needed: Deno minimum 2.4.3 (mirrored in src/pot_provider.py) and a realpath'd server_home in the warm-up argv.
  • New tests/test_pot_provider_pin.py fails when the plugin, vendored server, README pin, pyproject floor or Deno-minimum mirror drift apart.
  • Dependabot: bgutil is now excluded from the Python group (own PR, turned red by the guard) instead of ignoring majors.

Manual checks: frozen build has deno.json, plugin 2.0.2 and only bgutils-js@4.0.3. With fetch_pot=always, script-deno 2.0.2 mints a gvs PO token and the URLs carry pot=. A plain CLI download passed but yt-dlp did not request a token for that video. In-app 1080p download after restart passed.

Checklist

  • uv run pytest -q passes
  • uv run ruff check and uv run ruff format --check are clean
  • uv run basedpyright reports no new errors
  • Tests added or updated for behaviour changes
  • README / .env.example updated if a setting or user-visible behaviour changed

🤖 Generated with Claude Code

Move the plugin and the vendored server script to 2.0.2 together; a
lockfile-only bump makes the plugin's version check fail and 1080p
downloads 403.

- Re-vendor server/ at 2.0.2 (adds deno.json, bgutils-js 4)
- Mirror plugin 2.x in pot_provider: Deno minimum 2.4.3, realpath'd
  server_home in the warm-up argv
- Add tests/test_pot_provider_pin.py so a one-sided bump goes red
- Dependabot: exclude bgutil from the Python group so it gets its own PR
- Docs: rewrite "Updating the pin", Deno minimum in README

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@TheGeneCode
TheGeneCode merged commit cfca0cf into main Nov 8, 2026
9 checks passed
@TheGeneCode
TheGeneCode deleted the deps/bgutil-2.0.2 branch November 8, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant