[Misc] Aliases in `typing` are deprecated since py 3.9
- Dominant language
- Python
- Stars
- 14.3k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
## 🔨Work Item
**IMPORTANT:**
* This template is only for dev team to track project progress. For feature request or bug report, please use the corresponding issue templates.
* DO NOT create a new work item if the purpose is to fix an existing issue or feature request. We will directly use the issue in the project tracker.
Project tracker: https://github.com/orgs/dmlc/projects/2
## Description
According to https://docs.python.org/3/library/typing.html#deprecated-aliases , most of the aliases in `typing` are deprecated since python version 3.9. It is better to replace them with their alternatives.
However, given that many users are still using python<=3.8, maybe now is not the right time for a radical change. This issue is created to track this requirement.
## Depending work items or issues
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.