Bug description

Building with Python 3.12, pandas is not supported at 2.0.3 and is built from source. Support for Python 3.12 was added at version 2.2.*

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

I don't know

Node version

16

Browser

Chrome

Additional context

Check out the duration of Python unit tests for python 3.12 vs 3.11 etc https://github.com/apache/superset/actions/runs/17336877127/job/49224547091

Checklist

  • [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
  • [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
  • [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Comment From: rusackas

Any reason to file an issue rather than opening a PR? I'm not sure if you can't use the newer Pandas on the older Python 3.11 or something? We're open to advice here and/or a PR :)