Skip to content

Conversation

@Akuli
Copy link
Collaborator

@Akuli Akuli commented Sep 29, 2022

Fixes #8805

I believe it's fine to just install all dependencies, because stubtest uses venvs that don't "inherit" the dependencies installed here. If this isn't correct, we can grep the dependencies we actually need (I actually implemented and reverted this already).

@Akuli
Copy link
Collaborator Author

Akuli commented Sep 29, 2022

CI passed with a temporary commit that changed a third-party stub.

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Thanks!

The alternative fix I was wondering about was to do a lazy import of pathspec in tests/utils.py. But that would be really icky with type hints, so I prefer this solution.

@srittau srittau merged commit ba7f9b3 into python:master Sep 29, 2022
@Akuli Akuli deleted the stubtest-3rd-party branch September 29, 2022 08:52
@github-actions
Copy link
Contributor

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

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.

Stubtest failed on Thu Sep 29 2022

3 participants