Skip to content

fix(home): hold back PyPI releases younger than a week in every uv run - #277

Merged
furedea merged 1 commit into
mainfrom
fix/uv-global-exclude-newer
Oct 21, 2026
Merged

furedea merged 1 commit into
mainfrom
fix/uv-global-exclude-newer

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

概要

2026-10-21,litellm 1.107.0 が PyPI 上で改ざんされ,認証情報を盗むマルウェアが仕込まれた(約 2 時間で隔離).各リポジトリの pyproject.toml には exclude-newer = "1 week" があるが,swe-bench-trial にはなく,uvx やプロジェクト外の uv tool には効かない.uv のユーザー設定で同じ待機期間を全体の既定にする.

変更前 変更後
~/.config/uv/uv.toml なし exclude-newer = "1 week"(home-manager の programs.uv.settings)
exclude-newer のないプロジェクト(swe-bench-trial),uvx,uv tool 公開直後の版も入る 公開から 1 週間たった版だけ入る
exclude-newer のあるプロジェクト プロジェクトの設定 変わらない(プロジェクトの設定が優先される)

受け入れ条件

  • 生成される uv/uv.toml が exclude-newer = "1 week" になる
  • 同じ設定で litellm を lock すると 1.105.1 が選ばれる(設定なしでは 1.106.2)
  • nix flake check が通る
  • switch 後,~/.config/uv/uv.toml に設定が入る
手元の確認結果と補足

🤖 Generated with Claude Code

@furedea
furedea merged commit ec8ec67 into main Oct 21, 2026
11 checks passed
@furedea
furedea deleted the fix/uv-global-exclude-newer branch October 21, 2026 16:25
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