Skip to content
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

Bug: 'python latest' tries to install stackless-3.7.5 on the unreleased version #127

Closed
XaF opened this issue Sep 13, 2023 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@XaF
Copy link
Owner

XaF commented Sep 13, 2023

[1/5] ✖ python (latest): error: execution error: ASDF_DATA_DIR="/Users/xaf/.local/share/omni/asdf" ASDF_DIR="/Users/xaf/.local/share/omni/asdf" "/Users/xaf/.local/share/omni/asdf/bin/asdf" "install" "python" "stackless-3.7.5"
omni: up command failed: issue while setting repo up: execution error: ASDF_DATA_DIR="/Users/xaf/.local/share/omni/asdf" ASDF_DIR="/Users/xaf/.local/share/omni/asdf" "/Users/xaf/.local/share/omni/asdf/bin/asdf" "install" "python" "stackless-3.7.5"

Seems that some of the new logic for handling asdf tools versions is picking up stackless-3.7.5 as a valid version number for latest. This is normal as the new logic validates all values when using latest, whereas we would want to at least check that the value only contains numbers and dots, starting with a number.

@XaF XaF added the bug Something isn't working label Sep 13, 2023
@XaF XaF closed this as completed in 0e272df Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant