just pre-commit setup will not install python libraries into the virtual environment if those libraries already exist in a user's local installation. This causes just pre-commit sync to fail, as the expected binaries aren't available in the local .pre-commit/python/bin directory. In my case I was getting an error about a missing pip-sync executable, caused by my local installation of pip-tools.
The key line seen during setup is:
Requirement already satisfied: pip-tools in /home/noah/.local/lib/python3.13/site-packages (7.5.3)
I solved this in my case by uninstalling pip-tools locally, then purging and re-generating the virtual environment. Ideally just would isolate the libraries itself.
just pre-commit setupwill not install python libraries into the virtual environment if those libraries already exist in a user's local installation. This causesjust pre-commit syncto fail, as the expected binaries aren't available in the local.pre-commit/python/bindirectory. In my case I was getting an error about a missingpip-syncexecutable, caused by my local installation ofpip-tools.The key line seen during setup is:
Requirement already satisfied: pip-tools in /home/noah/.local/lib/python3.13/site-packages (7.5.3)I solved this in my case by uninstalling pip-tools locally, then purging and re-generating the virtual environment. Ideally
justwould isolate the libraries itself.