[BE]: Update Typeguard to TypeIs for better type inference (#133814)

Uses TypeIs instead of TypeGuard for better inference. See https://peps.python.org/pep-0742/

Pull Request resolved: https://github.com/pytorch/pytorch/pull/133814
Approved by: https://github.com/ezyang
This commit is contained in:
Aaron Gokaslan
2024-10-21 17:20:05 +00:00
committed by PyTorch MergeBot
parent 9bb327bfc6
commit 16caa8c1b3
12 changed files with 26 additions and 26 deletions

View File

@ -1159,7 +1159,7 @@ def main():
)
install_requires = [
"filelock",
"typing-extensions>=4.8.0",
"typing-extensions>=4.10.0",
'setuptools ; python_version >= "3.12"',
'sympy==1.13.1 ; python_version >= "3.9"',
"networkx",