Skip to content
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

Add defaults for third-party stubs Q-T #9959

Merged
merged 4 commits into from
Mar 28, 2023

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Mar 27, 2023

I skipped six, because stubdefaulter crashed when parsing the stubs for six (the issue is with stubdefaulter's typeshed_client dependency, which is used for parsing the stubs, not stubdefaulter itself). I also skipped termcolor, because in order to add stubs for termcolor stubdefaulter needs to install termcolor<2 (as that's what we have in the METADATA.toml file for termcolor), but stubdefaulter itself depends on termcolor>=2.

@github-actions

This comment has been minimized.

@AlexWaygood AlexWaygood marked this pull request as ready for review March 27, 2023 18:10
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JelleZijlstra
Copy link
Member

If you open an issue on typeshed-client with the crash report I'll fix it.

@Avasam
Copy link
Collaborator

Avasam commented Mar 27, 2023

termcolor==1.1.0's defaults are all None anyway. incoming PR

@srittau srittau merged commit b69b17c into python:main Mar 28, 2023
@AlexWaygood
Copy link
Member Author

If you open an issue on typeshed-client with the crash report I'll fix it.

@AlexWaygood AlexWaygood deleted the stubdefaulter-q-t branch March 28, 2023 17:05
@AlexWaygood
Copy link
Member Author

I tried commenting out the problematic line and running stubdefaulter on six, but it turns out stubdefaulter actually makes 0 changes to our stubs for six ¯\_(ツ)_/¯

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.

4 participants