Closed tkocmathla closed 4 months ago
Hey Matt. Yep...that's on me. Casualty of the rules_python reversion, exactly as you'd guessed. Sorry guys. Fixing.
In the future, y'all, please don't hesitate to throw up a PR for something like this if you want to. Would love to get you on the contributor board.
Again, sorry it took as long for me to get to this as it did--thanks for reporting and backtracking.
thx
:)
My environment has python 3.8, and when I run the
refresh_compile_commands
target, I get an error.The target is configured as:
The error is:
Digging through the commit history here, I think this is an oversight from 0b821b7. In that commit, other uses of
PosixPath.is_relative_to()
were reverted back to use_is_relative_to()
, but this one wasn't:https://github.com/hedronvision/bazel-compile-commands-extractor/commit/0b821b7e4286aec887757461366f6eaaa0972cb9#diff-a1d7061df7c566a1f7656624ec608ad53dd3aff7a7789b9b6e4866a3b1616042R508
It seems like this is the only remaining offender -- a search of
.is_relative_to
in the repo just finds this one case: https://github.com/search?q=repo%3Ahedronvision%2Fbazel-compile-commands-extractor%20.is_relative_to&type=code