From 0b738c0d00c54041234684fe15ade23ac2211f46 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 27 Mar 2025 11:12:07 +0800 Subject: [PATCH 1/3] upgrade pyright versoin --- packages/typespec-python/dev_requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/typespec-python/dev_requirements.txt b/packages/typespec-python/dev_requirements.txt index b56b2991f62..6b38cd8e17d 100644 --- a/packages/typespec-python/dev_requirements.txt +++ b/packages/typespec-python/dev_requirements.txt @@ -1,5 +1,5 @@ # shall keep aligned with dev_requirements.txt of @typspec/http-client-python -pyright==1.1.389 +pyright==1.1.398 pylint==3.2.7 tox==4.23.2 mypy==1.13.0 @@ -12,4 +12,4 @@ ptvsd==4.3.2 types-PyYAML==6.0.12.20241230 # additional dependency needed for development -setuptools \ No newline at end of file +setuptools From 06b054f7e1f0813845388ecf95e7b4bd082c802e Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 27 Mar 2025 11:12:51 +0800 Subject: [PATCH 2/3] add changelog --- .chronus/changes/upgrade-pyright-2025-2-27-11-12-41.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .chronus/changes/upgrade-pyright-2025-2-27-11-12-41.md diff --git a/.chronus/changes/upgrade-pyright-2025-2-27-11-12-41.md b/.chronus/changes/upgrade-pyright-2025-2-27-11-12-41.md new file mode 100644 index 00000000000..10b39bb1f61 --- /dev/null +++ b/.chronus/changes/upgrade-pyright-2025-2-27-11-12-41.md @@ -0,0 +1,7 @@ +--- +changeKind: internal +packages: + - "@azure-tools/typespec-python" +--- + +Upgrade pyright version \ No newline at end of file From f02e93bc8239db0f8c91450928741bd781131ab3 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 27 Mar 2025 12:00:41 +0800 Subject: [PATCH 3/3] Downgrade pyright version in dev requirements --- packages/typespec-python/dev_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/typespec-python/dev_requirements.txt b/packages/typespec-python/dev_requirements.txt index 6b38cd8e17d..7f984f3a405 100644 --- a/packages/typespec-python/dev_requirements.txt +++ b/packages/typespec-python/dev_requirements.txt @@ -1,5 +1,5 @@ # shall keep aligned with dev_requirements.txt of @typspec/http-client-python -pyright==1.1.398 +pyright==1.1.391 pylint==3.2.7 tox==4.23.2 mypy==1.13.0