Hello everyone, I've hit one of the weirdest bugs ...
# general
d
Hello everyone, I've hit one of the weirdest bugs in my career today 😄 I was helping a new coworker to get started with our project. He did the usual pyenv setup, cloned the repo and checked out out a branch on which all the Pants commands work for others. Then the following happened: 1. He runs
./pants lint ::
2. Hadolint fails with exit code
-9
3. From now on, any
./pants
command is hanging forever 4. Turns out
python
is not recognised anymore as a shell command - the whole pyenv folder with the Python version that was being used is removed 😬 We've tested that 3 times, by every time uninstalling
pyenv
and starting from scratch. Removing hadolint from
pants.toml
fixed the issue. Any ideas how this might be happening?
b
Can you make a reproduction repo?
d
I'll try
🙏 1
I've just realized that scie-pants was introduced in the meantime, therefore I guess pants is no longer capable of breaking 'external' Python installation 🤔
Our project is still on './pants'