mirror of
https://github.com/ankitects/anki.git
synced 2026-10-19 06:19:40 +08:00
## Linked issue Closes #5592 ## Summary Our Briefcase build didn't respect locked dependencies and dependency cooldowns and used to resolve newer versions of some packages such as `click` and `protobuf`. This PR fixes the issue by exporting a list of pinned dependencies to a file and passing it to uv using the `--constraints` option. ## Steps to reproduce (before) - Build the bundle: `./ninja installer:build`. - Inspect `out/installer/build/anki/*/app_packages` and notice `protobuf-7.36.1.dist-info` is included despite it being locked to 6.33.5 in uv.lock ## How to test (after) Build the bundle again and confirm there's no mismatch between locked and installed dependency versions.