Skip to content

Bump pyright to 1.1.407 and pythonVersion to 3.10#4327

Open
l0lawrence wants to merge 1 commit into
Azure:mainfrom
l0lawrence:bump-pyright-python-version
Open

Bump pyright to 1.1.407 and pythonVersion to 3.10#4327
l0lawrence wants to merge 1 commit into
Azure:mainfrom
l0lawrence:bump-pyright-python-version

Conversation

@l0lawrence
Copy link
Copy Markdown
Member

Bumps pyright and pyright's configured Python version for the typespec-python package.

  • packages/typespec-python/eng/scripts/ci/config/pyrightconfig.json: pythonVersion 3.9 -> 3.10
  • packages/typespec-python/dev_requirements.txt: pyright 1.1.391 -> 1.1.407 (to align with tests/requirements/typecheck.txt)

Motivation: pyright 1.1.287/1.1.391 was silently crashing on modern TypeSpec-generated Python code in downstream azure-sdk-for-python CI (empty stdout/stderr with exit code 1 from pyright --verifytypes). Bumping to 1.1.407 resolves it; aligning here keeps dev and CI versions consistent.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:python Issues for @azure-tools/typespec-python emitter label Apr 24, 2026
@azure-sdk
Copy link
Copy Markdown
Collaborator

❌ There is undocummented changes. Run chronus add to add a changeset or click here.

The following packages have changes but are not documented.

  • @azure-tools/typespec-python
Show changes

@azure-sdk
Copy link
Copy Markdown
Collaborator

You can try these changes here

🛝 Playground 🌐 Website

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 24, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@azure-tools/typespec-python@4327

commit: 8da2149

@microsoft-github-policy-service microsoft-github-policy-service Bot added the stale Mark a PR that hasn't been recently updated and will be closed. label May 25, 2026
@microsoft-github-policy-service
Copy link
Copy Markdown

Hi @@l0lawrence. Your PR has had no update for 30 days and it is marked as a stale PR. If it is not updated within 30 days, the PR will automatically be closed. If you want to refresh the PR, please remove the stale label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:python Issues for @azure-tools/typespec-python emitter stale Mark a PR that hasn't been recently updated and will be closed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants