astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
13.6k stars 466 forks source link

Removing Rye causes Debian login failure #1191

Open johnhuichen opened 2 months ago

johnhuichen commented 2 months ago

Steps to Reproduce

  1. Install Rye on Debian
  2. I didn't find any uninstall instruction, so I remove ~/.rye
  3. Restart computer
  4. Login will fail and causes user to go back to the login screen

Expected Result

It should not cause login failure

Actual Result

The reason why login fails is because Rye adds a line to .profile and .bashrc to source a file from ~/.rye. Since ~/.rye is removed, this causes a login failure

Version Info

See above description

Stacktrace

No response