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

rye tools list shows broken tools #692

Merged
merged 4 commits into from Feb 19, 2024
Merged

Conversation

j178
Copy link
Contributor

@j178 j178 commented Feb 19, 2024

When a toolchain that various tools depend on is removed, it leads to those tools broken. Subsequently, the command rye tools list produces a vague error message: error: No such file or directory (os error 2).

Steps to reproduce

rye install art -p 3.11.4
rye toolchain remove 3.11.4
rye tools list

The output:

❯ rye tools list
error: No such file or directory (os error 2)

After this PR

❯ rye tools list
art (seems broken)

@j178 j178 changed the title rye tools list show broken tools rye tools list shows broken tools Feb 19, 2024
@mitsuhiko mitsuhiko merged commit a2790fd into astral-sh:main Feb 19, 2024
6 checks passed
@j178 j178 deleted the detect-broken-tools branch February 19, 2024 12:27
j178 added a commit to j178/rye that referenced this pull request Feb 19, 2024
The last commit wrongly changed the format, restore it.
mitsuhiko pushed a commit that referenced this pull request Feb 19, 2024
The last commit wrongly changed the format, restore it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants