Skip to content

Update dependency pyright to v1.1.402 #14121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 22, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pyright ==1.1.400 -> ==1.1.402 age adoption passing confidence

Release Notes

RobertCraigie/pyright-python (pyright)

v1.1.402

Compare Source

v1.1.401

Compare Source


Configuration

📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the bot: dependencies 🤖 Dependency file updates by renovate 🤖 label May 22, 2025
@srittau
Copy link
Collaborator

srittau commented May 22, 2025

We can't update pyright due to a bug: microsoft/pyright#10487 microsoft/pyright#10484

@renovate renovate bot force-pushed the renovate/pytype-and-pyright branch from cc09b3e to 792582c Compare June 11, 2025 13:59
@renovate renovate bot changed the title Update dependency pyright to v1.1.401 Update dependency pyright to v1.1.402 Jun 11, 2025
@AlexWaygood
Copy link
Member

We can't update pyright due to a bug: microsoft/pyright#10487 microsoft/pyright#10484

These are now resolved, but we have a new false positive on Python 3.14 that makes little sense to me:

  /home/runner/work/typeshed/typeshed/stdlib/string/templatelib.pyi:1:1 - error: "/home/runner/work/typeshed/typeshed/stdlib/string/templatelib.pyi" is overriding the stdlib module "string.templatelib" (reportShadowedImports)

@JelleZijlstra
Copy link
Member

Yes, that sounds odd. @erictraut any ideas if there's something special with string.templatelib that causes this error in typeshed's CI:

Running: /opt/hostedtoolcache/Python/3.13.3/x64/bin/pyright --project ./pyrightconfig.testcases.json --pythonplatform Darwin --pythonversion 3.14
/home/runner/work/typeshed/typeshed/stdlib/string/templatelib.pyi
  /home/runner/work/typeshed/typeshed/stdlib/string/templatelib.pyi:1:1 - error: "/home/runner/work/typeshed/typeshed/stdlib/string/templatelib.pyi" is overriding the stdlib module "string.templatelib" (reportShadowedImports)
1 error, 0 warnings, 0 informations 

@erictraut
Copy link
Contributor

any ideas if there's something special with string.templatelib that causes this error in typeshed's CI.

This is a pyright regression that was discovered after I released 1.1.402. It has already been fixed and will be addressed in the next release. Apologies for the inconvenience. If this is blocking something important, I could do a quick-turn release.

@JelleZijlstra
Copy link
Member

Thanks! I don't think there's any hurry, typeshed can just upgrade to 1.1.403 when it comes out.

@Avasam
Copy link
Collaborator

Avasam commented Jun 12, 2025

I wouldn't mind a single pyright: ignore here but we can also just wait.
Either way no hurry on 1.1.403.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: dependencies 🤖 Dependency file updates by renovate 🤖
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants