Skip to content

Make types-networkx NumPy dependency optional - #16297

Open
fly1d wants to merge 1 commit into
python:mainfrom
fly1d:codex/networkx-optional-numpy
Open

Make types-networkx NumPy dependency optional#16297
fly1d wants to merge 1 commit into
python:mainfrom
fly1d:codex/networkx-optional-numpy

Conversation

@fly1d

@fly1d fly1d commented Aug 25, 2026

Copy link
Copy Markdown

Fixes #14760

Move NumPy from the required stub dependency list to optional-dependencies, matching the optional NumPy feature set used by NetworkX so users of pure graph APIs do not install NumPy transitively.

Agent used: OpenAI Codex.

OpenAI Codex assisted with issue review, implementation, and verification. The change was reviewed before submission.
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.

Make numpy dependency from types-networkx optional

1 participant