Skip to content

Run pyright on matrix of platforms and python versions #5072

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

Merged
merged 3 commits into from
Feb 26, 2021

Conversation

jakebailey
Copy link
Contributor

Pyright 1.1.115 has flags to specify the platform and python version. This modifies the wrapper script to pass argv through and adds the matrix to the workflow.

I'm not sure how "good" it is to run a big matrix like this, but they only take a few seconds each.

@jakebailey jakebailey marked this pull request as ready for review February 25, 2021 19:55
@jakebailey
Copy link
Contributor Author

I added 3.10 as pyright supports some of the upcoming features, but it seems like typeshed is missing a few things (which are probably stub conditional bugs). I'll remove that.

@jakebailey
Copy link
Contributor Author

#5070 includes a fix for the lone failure in 3.6.

Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good! We can merge after the fixes from the other PR land.

@jakebailey
Copy link
Contributor Author

:shipit:

@JelleZijlstra JelleZijlstra merged commit 0fa7e73 into python:master Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants