Skip to content

chore(deps): drop the unused datasets dependency - #10

Merged
Jeomon merged 2 commits into
Jeomon:mainfrom
hussainbiedouh:fix/remove-unused-datasets-dependency
Oct 27, 2026
Merged

Jeomon merged 2 commits into
Jeomon:mainfrom
hussainbiedouh:fix/remove-unused-datasets-dependency

Conversation

@hussainbiedouh

@hussainbiedouh hussainbiedouh commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

datasets is declared as a runtime dependency, but nothing in the package imports it. A search over the whole tree - package, tests and scripts - turns up no reference to it.

It is not a small dependency either. It pulls in pyarrow, pandas, numpy, dill and multiprocess, and it is the only reason those end up on the install path.

Measured

Install Size
with datasets 421 MB
without datasets 278 MB
difference -143 MB

Both numbers come from a clean uv venv + uv sync --extra dev on the same machine.

Verification

  • pytest tests/unit/ -v --tb=short - 109 passed, 5 skipped
  • pytest tests/ - 122 passed, 5 skipped
  • import windows_use works
  • python -m windows_use.cli --help works
  • datasets, pyarrow and pandas are confirmed absent from the environment

The lockfile

uv.lock is regenerated in the same change. Besides the datasets chain this also drops the stale neonize entries, which have been sitting in the lock since that dependency was removed from pyproject.toml in 456d6d7.

Note

If a dataset backed feature shows up later, the dependency can be added back together with the feature that needs it.

The test job is currently red on main for an unrelated reason - the mistral provider import, see #12.

datasets is declared as a runtime dependency but nothing in the package
imports it. A search over the whole tree - package, tests and scripts -
turns up no reference to it.

It is not a small dependency either: it pulls in pyarrow, pandas, dill,
fsspec and multiprocess. Installing windows-use without it is 421 MB
against 579 MB with it, and the full test suite still passes.

If a dataset backed feature shows up later, the dependency can be added
back with the feature that needs it.
Picks up the removal of the datasets chain (pyarrow, pandas, numpy, dill,
multiprocess and friends) and also drops the stale neonize entries, which
have been left over since that dependency was removed from pyproject in
456d6d7.
@Jeomon
Jeomon merged commit b0d57d6 into Jeomon:main Oct 27, 2026
1 check 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