Use annotations from the standard library
This is the preferred way to annotate starting from Python 3.9. All changes are auto-fixed by `ruff`

- [ ] 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.

apparently, there are some difference between `typing.Type` and `type` when `Type[T]` works as a Generic, so I'll close the PR > apparently, there are some difference between `typing.Type` and `type` when `Type[T]` works as a Generic, so I'll close the PR

I don't think that was your issue.  `typing.Type` is deprecated, so `Type[T]` can be replaced with `type[T]`.  Looking at the logs of the tests, you failed to get rid of all references to `type_t` throughout the source, and if you do that, you may be able to resurrect this. thanks for the comment, @Dr-Irv. I changed and tested it locally and it leads to a lot of other errors. Fixing them all would be tough so I'll try to see if there's a way to fix a subset of that first.