Pandas version checks

  • [x] I have checked that this issue has not already been reported.

  • [x] I have confirmed this bug exists on the latest version of pandas.

  • [x] I have confirmed this bug exists on the main branch of pandas.

Reproducible Example

import pandas as pd
left = pd.Series([pd.Timestamp(2025, 8, 20)] * 2)

right = left._values

left.sub(right, fill_value=left[0])  # <- raises

Issue Description

In Series._flex_method we have a check for elif isinstance(other, (np.ndarray, list, tuple)): that should include ExtensionArray

Expected Behavior

N/A

Installed Versions

Replace this line with the output of pd.show_versions()

Comment From: praateekmahajan

take