Vai al contenuto
onsuggest
Accedi
Articolo en

If in doubt, delete the uv.lock file

Fonte: Simon Willison ·

I've been getting the occasional confusing Python dependency error since switching over to Python 3.15 and the rule I'm having to remember is: If in doubt, delete the uv.lock file Most of my projects are libraries which don't include a uv.lock file, since it's rude for a library dependency to lock versions for anything else that uses it. Running uv run pytest etc tends to leave uv.lock files lying around, which are listed in .gitignore and so do not get committed to my repositories. But... sometimes that uv.lock pins a version of a dependency that doesn't yet have a Python 3.15 wheel. An examp

Scorciatoie da tastiera

Scoperta precedente
←P
Scoperta successiva
→N
Mi piace
L
Non fa per me
X
Salva
S
Mostra questo aiuto
?
Chiudi
Esc

Le scorciatoie funzionano nella pagina delle scoperte.