The GitHub Actions job "Lint PR" on texera.git/fix/hf-sentiment-unused-tf-import-6794 has failed. Run started by GitHub user kz930 (triggered by kz930).
Head commit for run: b5303ed8b442fb43a1fd19c9de454559b99608fa / kary zheng <[email protected]> fix(HuggingFace): drop unused TensorFlow import in sentiment analysis codegen HuggingFaceSentimentAnalysisOpDesc.generatePythonCode imported TFAutoModelForSequenceClassification but never used it (the model loads via the PyTorch AutoModelForSequenceClassification). The TF-only symbol forces a TensorFlow backend, so in a PyTorch-only transformers install the import raises and crashes the generated script at module load. Remove the unused import. Adds a HuggingFaceSentimentAnalysisOpDescSpec regression test asserting the generated code no longer imports the TF-only symbol while still importing the PyTorch class it uses. Closes #6794 Co-Authored-By: Claude Opus 4.8 <[email protected]> Report URL: https://github.com/apache/texera/actions/runs/29965435713 With regards, GitHub Actions via GitBox
