rapid-exabyte-76685
03/29/2022, 4:46 AM./pants test to bootstrap, build the venvs, and run the tests and find I have continuous loop...
14:39:12.61 [INFO] Filesystem changed during run: retrying `Test` in 500ms...
14:39:12.64 [INFO] Canceled: Building requirements.pex with 4 requirements: <requirements elided>
14:40:12.36 [INFO] Filesystem changed during run: retrying `Test` in 500ms...
14:40:12.39 [INFO] Canceled: Building requirements.pex with 4 requirements:
<requirements elided>rapid-exabyte-76685
03/29/2022, 4:49 AM./pants repl ::hundreds-father-404
03/29/2022, 4:54 AM.pants.d/pants.log - it should tell you which files are being invalidated
You can then add it to [GLOBAL].pants_ignore.add or your top-level .gitignore (which auto-populates pants_ignore)rapid-exabyte-76685
03/29/2022, 5:40 AM15:38:12.50 [INFO] notify invalidation: cleared 0 and dirtied 0 nodes for: {".git", ".git/FETCH_HEAD.lock"}
15:38:12.50 [INFO] notify invalidation: cleared 0 and dirtied 0 nodes for: {".git/FETCH_HEAD.lock", ".git"}
15:38:12.50 [INFO] notify invalidation: cleared 0 and dirtied 0 nodes for: {".git/FETCH_HEAD.lock"}
15:38:12.50 [INFO] notify invalidation: cleared 0 and dirtied 0 nodes for: {".git", ".git/FETCH_HEAD"}
15:38:12.50 [INFO] notify invalidation: cleared 0 and dirtied 0 nodes for: {".git", ".git/FETCH_HEAD"}
15:38:12.50 [INFO] notify invalidation: cleared 1 and dirtied 1008 nodes for: {".git", ".git/FETCH_HEAD.lock"}
15:38:12.50 [INFO] notify invalidation: cleared 0 and dirtied 0 nodes for: {".git/FETCH_HEAD.lock", ".git"}
is what I'm seeing in <repo root>/.pants.d/pants.lograpid-exabyte-76685
03/29/2022, 5:41 AMhundreds-father-404
03/29/2022, 5:41 AM.git is being tracked for some reason 👀 short-term fix is to try this:
[GLOBAL]
pants_ignore.add = [".git"]
It should be, idk why it isn'trapid-exabyte-76685
03/29/2022, 5:46 AMpoetry_requirements and the <dependency_name> = { git = "<https://github.com/some/repo.git>", tag = "some_tag" } syntax... I wonder if that's a cause?hundreds-father-404
03/29/2022, 5:48 AMpants_ignore before? If so, to what?hundreds-father-404
03/29/2022, 5:49 AM.*/ and dist/, which should include .git. But if you use pants_ignore rather than pants_ignore.add, you lose the defaultrapid-exabyte-76685
03/29/2022, 5:55 AMpants_ignore instead of pants_ignore.add 👍hundreds-father-404
03/29/2022, 1:52 PM.*/, like if you have .helper_code/ - some repos do that