I got the similar issue. I checked my imblanaced-learn and scikit-learn versions before and after I upgrade the environment. After upgrading, my code can't work.
Before and after: imbalanced learn version 0.11.0 Before: scikit-learn version 1.3.2 After: scikit-learn version 1.5.1
It is clear that currently imbalanced learn 0.11.0 version doesn't support scikit-learn 1.5.1.
scikit-learn 1.5.1 uses
from sklearn.utils.fixes import parse_version