This would explain the raised warning, since scikit-learn wouldn’t be able to calculate the metrics.
Is this a new issue now, as you’ve previously mentioned that you have both, positive and negative, labels?