Peach: Local-first video metadata scraper and media manager.
fix(deps): 接管 amane 桥的独立依赖清单
longmeidaoe5e1e171b465
diff --git a/scripts/adopt_dependency_bump.py b/scripts/adopt_dependency_bump.pyindex 40fa9c638..d7c32fac6 100644--- a/scripts/adopt_dependency_bump.py+++ b/scripts/adopt_dependency_bump.py@@ -81,6 +81,13 @@ RECIPES = {"commands": (),"checks": (("uv", "lock", "--check"),),},+ "amane": {+ "label": "amane 桥的独立 Python 依赖",+ "manifests": ("tools/amane-bridge/pyproject.toml", "tools/amane-bridge/uv.lock"),+ "derived": (),+ "commands": (),+ "checks": (("uv", "lock", "--project", "tools/amane-bridge", "--check"),),+ },"actions": {"label": "GitHub Actions 工作流","manifests": (".github/workflows/",),diff --git a/tests/test_dependency_policy.py b/tests/test_dependency_policy.pyindex 4b293841e..c6b88e8f9 100644--- a/tests/test_dependency_policy.py+++ b/tests/test_dependency_policy.py@@ -386,6 +386,13 @@ class DependencyPolicyTests(unittest.TestCase):adopt.bring_over("dep", ("package.json",), root=repo)self.assertEqual(caught.exception.files, ["package.json"])+ def test_bridge_dependencies_are_isolated_from_application_dependencies(self):+ key, recipe = adopt.recipe_for(["tools/amane-bridge/uv.lock"])+ self.assertEqual(key, "amane")+ self.assertEqual(recipe["checks"], (("uv", "lock", "--project", "tools/amane-bridge", "--check"),))+ with self.assertRaises(RuntimeError):+ adopt.recipe_for(["uv.lock", "tools/amane-bridge/uv.lock"])+def test_adopting_every_open_pr_stops_at_a_conflict_and_resumes_after_it(self):"""`--all-open` 一个 PR 一个提交;改到相邻行的那个停下报文件,解完再跑只剩收尾。