Skip to content

Drop unused runtime dependencies black and graphviz - #1057

Open
pavelzw wants to merge 1 commit into
uber:masterfrom
pavelzw:drop-unused-runtime-deps
Open

pavelzw wants to merge 1 commit into
uber:masterfrom
pavelzw:drop-unused-runtime-deps

Conversation

@pavelzw

@pavelzw pavelzw commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Neither black nor the python graphviz package is imported anywhere in causalml, so this removes them from the runtime dependency list.

xref conda-forge/causalml-feedstock#28

Neither package is imported anywhere in causalml. black is a code formatter
that was added to the runtime dependency list by accident in uber#844.
The python graphviz package is not used either: tree plotting goes through
pydot, which only needs the graphviz 'dot' binary, and the conda-forge pydot
package already depends on it.
Copilot AI balanced review requested due to automatic review settings October 13, 2026 08:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

Repository searches confirm neither package is imported by the CausalML runtime.

0 open findings

What changed in this PR

Removes unused Python packages from CausalML’s runtime dependencies.

Changes:

  • Removes graphviz.
  • Removes black, which remains managed independently by formatting workflows.
File Description
pyproject.toml Removes two unused runtime dependencies.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@pavelzw
pavelzw marked this pull request as ready for review October 13, 2026 08:48

This branch has not been deployed

No deployments
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