-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Launcher: Run uv python install before running uv sync
#4162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks for looking into this! Let's see how these changes fare for the other affected users. |
|
Just for future reference, this PR accidentally committed changes to the FTL subrepos, and I missed that during review, so I'll revert that part of the change in a follow-up. |
|
I was going to rush this out, but I've noticed you haven't included --managed-python in the python install line. Can you show what appears on a fresh installation when that command is run, and what happens if --managed-python is included as well? I noticed both you and the other reporter seem to have the pinned python version already installed, and I'm wondering if it's trying to use that version instead. |
I'm not 100% sure what you mean, but I hope this log will be useful. There doesn't seem to be a difference with this flag. I wonder if there's some magic caching/linking going on for systems that aren't having issues. env: without with |
|
For completion release extract, but I replaced launcher.amd64, clean rebuild from main |
|
Much appreciated 🙏 While --managed-python doesn't appear to be required here, since it seems to work in either case, I'll add it just to be explicit. |
|
np. Thanks for the great project. I've been using Anki for over 15 years, and it's nice to help out, even if just a little bit, beyond purchasing AnkiMobile |
A potential fix for https://forums.ankiweb.net/t/bug-anki-25-07-fails-to-launch/63475/7.
I'm not exactly sure how this wasn't an issue before. It may be a system specific thing (I'm on Fedora 42 and had uv installed). I would be curious to know if
.local/share/AnkiProgramFiles/pythongot properly populated for others before this.However I was able to reproduce the issue even with trying to clean everything (
uv cache cleanand removing my uv binaries). It happened on bothuv 0.7.13(bundled in the launcher release) anduv 0.7.19 (e8bc3950e 2025-07-03)(git)."Minimal" repro
Try running
./ankiand havethen