Skip to content

Use optional-dependencies for third-party packages#16089

Merged
srittau merged 1 commit into
python:mainfrom
donbarbos:use-optional-dependencies
Jul 27, 2026
Merged

Use optional-dependencies for third-party packages#16089
srittau merged 1 commit into
python:mainfrom
donbarbos:use-optional-dependencies

Conversation

@donbarbos

@donbarbos donbarbos commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

I left some dependencies in the dependencies field because they appeared to be used fairly frequently throughout the typeshed stubs. For example, numpy is used by stubs/networkx/, even though it's only an optional dependency of networkx.

@srittau srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

@srittau
srittau merged commit 97e6a39 into python:main Jul 27, 2026
52 checks passed
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.

2 participants