You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose you’ve run mise use rust@latest python@3.11, which is quite common. You currently have rust@1.82.0 and python@3.11.10 installed, and you decide to upgrade them to their latest releases. As soon as you start mise upgrade, you find that you can’t run rust or python until the new versions finish installing. Your scheduled background jobs are failing. This occurs because the upgrade process immediately creates installs/rust/1.83.0 and installs/python/3.11.11 before the build stage completes, and mise picks those half-installed or currently empty versions, effectively breaking your environment during the upgrade.
This discussion was converted from issue #3837 on December 27, 2024 14:27.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Suppose you’ve run
mise use rust@latest python@3.11
, which is quite common. You currently have rust@1.82.0 and python@3.11.10 installed, and you decide to upgrade them to their latest releases. As soon as you startmise upgrade
, you find that you can’t run rust or python until the new versions finish installing. Your scheduled background jobs are failing. This occurs because the upgrade process immediately creates installs/rust/1.83.0 and installs/python/3.11.11 before the build stage completes, and mise picks those half-installed or currently empty versions, effectively breaking your environment during the upgrade.I ended up writing a script like this: https://gist.github.com/knu/86c3d1a2c4cbcf02b1d6306fdffd8ded
Could there be support for this situation on the mise side?
Beta Was this translation helpful? Give feedback.
All reactions