whats the deal with this error message? `/Users/hf...
# general
e
whats the deal with this error message?
Copy code
/Users/hfuller/workspace/pants/examples/src/python/example/tensorflow_custom_op/zero_out_op.cpp:3:10: fatal error: tensorflow/core/framework/op.h: No such file or directory
                      #include “tensorflow/core/framework/op.h”
I feel like I’ve seen it be brought up before
From a compile happening as part of the commit hooks
h
Huh, not sure. cc @aloof-angle-91616
e
Hm. Okay looks like skipping precommit then.
h
I’m surprised that a compile is happening in the first place, though. Do you get the same failure when running
build-support/bin/mypy.py
? All the other hook parts use V2, which never compiles things
w
what is the thing actually failing?
e
yeah I have no idea why it would be trying to compile things either, but its part of the *checking lint stage of 1.25.x
and its trying to compile some random c++ example
w
mm.
e
The workunit above says extract-native-wheels
actually no its part of the [native-compile] workunit which isn’t much help
w
getting on 1.26.x soon will help. will ping Yi about pip.
h
Oh, makes sense, 1.25.x still uses the V1 linters. What does
./pants --changed-since=master list
say? I suspect one of those targets includes tensorflow and is causing that step
extract-native-wheels
to happen
e
yeah. I’m doing a cherry-pick to 1.25.x unfortunately
👍 1
1.25.x seems pretty broken in CI. Not sure why exactly, but is the best advice to push on 1.26.x?
@hundreds-father-404 yeah 1.25.x has changes for examples/3rdparty/python:tensorflow-*
It seems like some artifacts may be missing from binaries because also :
Copy code
Exception message: Could not satisfy all requirements for pantsbuild.pants.contrib.python.checks.checker==1.25.1rc0:
1126E   	    pantsbuild.pants.contrib.python.checks.checker==1.25.1rc0
a
hey, i don't know why i missed this message. i'm assuming it's way too late to be useful but if there are threads to pick up, please let me know. i'm sorry i failed to reply