VisionSystemsInc / VisionSystemsInc/vsi_common

BUG: pre-commit setup not isolating from .local environment

Open
#561 0 comments 0 reactions 1 assignee View on GitHub

@andyneff is already working on this.

Since May 27, 2026.

bug
Dominant language
Shell
Stars
8
Forks
9
Avg merge
36m
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.