Starting from pandas@2, the deprecated DataFrame.append() is removed and concat() should be used instead.
pandas@2
DataFrame.append()
concat()
I think since the change is so small, a patch makes more sense than adding a constraint for the pandas version (that will affect many packages).
(notebook output here)