feat(1.5.x): Add support for python 3.12
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

I don't think we have plans to release any new 1.5 version, or provide support of any version older than 2.3. It would also be useful to reference an issue or provide a description, so we have context on your proposal. Thanks for the PR, but as mentioned the community no longer plans to supporting pandas 1.5 anymore, so further support needs to be accomplished in forks of pandas. Closing as no action.