发布

  • chore: release v0.5.0 (#998)

    frostbyte_neo 发布于 2026-05-24 03:49:29 +00:00

    • chore: release v0.5.0

    • fix(cli): defer playwright account metadata repair

    (cherry picked from commit 02a13d800de750874aefae8c8124e6c45b699576)

    • docs(changelog): note #1002 cherry-pick (deferred playwright metadata repair)

    • test(cli): loosen --authuser rejection assertion to Click format-agnostic match

    The TestPyPI smoke step installs the wheel without uv.lock and resolves
    Click freshly within >=8.0.0,<9, so newer Click versions that format
    the error as No such option '--authuser'. (single quotes + period)
    instead of the older No such option: --authuser broke the brittle
    substring assertion. The test now just verifies the option is rejected
    and the error mentions --authuser, which both formats satisfy.

    • fix(error-injection): resolve tests/cassette_patterns.py from CWD too

    _load_builder() walked up from Path(__file__).resolve() to find
    tests/cassette_patterns.py. That works for editable installs (src/
    is the grandparent of the module file) but breaks when notebooklm is
    wheel-installed in site-packages/ — the grandparent becomes
    python3.X/ and no tests/ lives there. The TestPyPI publish smoke
    caught this when running the unit suite against the built wheel.

    Try CWD/tests/cassette_patterns.py first (smoke test invokes pytest from
    the cloned repo), then fall back to the editable-install heuristic.
    NOTEBOOKLM_VCR_RECORD_ERRORS is test-only plumbing, so no
    user-facing behavior changes.


    Co-authored-by: Claude claude@zfs.local

    下载附件