ankitects/anki

Bundle uv/pip in Briefcase package?

Open

#5,033 opened on Jun 17, 2026

 (2 comments) (1 reaction) (0 assignees)Rust (2,965 forks)batch import
help wanted

Repository metrics

Stars
 (27,973 stars)
PR merge metrics
 (Avg merge 4d) (68 merged PRs in 30d)

Description

Bundling uv/pip in the package could help us implement some kind of update functionality similar to the uv launcher (might be impractical on macOS due to signing) and allow users to downgrade/upgrade dependencies such as PyQt and offer add-ons some support for vendoring their dependencies at runtime.

References

https://github.com/ankitects/anki/commit/bb1b289690993d1d831dda41dadb1b663c78bb92

https://github.com/ankitects/anki/issues/4556#issuecomment-4484608030

https://forums.ankiweb.net/t/how-should-add-ons-install-python-dependencies-in-26-05/70130

https://github.com/beeware/briefcase/issues/419

Contributor guide