Skip to content

Move dev/unused dependencies to optional extras#4

Merged
mvdoc merged 8 commits intomasterfrom
cleanup/move-dev-deps-to-optional
Mar 10, 2026
Merged

Move dev/unused dependencies to optional extras#4
mvdoc merged 8 commits intomasterfrom
cleanup/move-dev-deps-to-optional

Conversation

@mvdoc
Copy link
Owner

@mvdoc mvdoc commented Mar 10, 2026

Summary

  • Remove ruff, pytest, pydeface, jupyterlab, ipywidgets, h5py, pillow, and lxml from runtime dependencies (none are imported by the package source code)
  • Move ruff and pytest to [dev] optional extras with correct version pins (fixes previous conflicting specs)
  • Drop pydeface, jupyterlab, ipywidgets, h5py, pillow, lxml entirely

Test plan

  • uv sync installs successfully without dev extras
  • python -c "import hyperface" works
  • uv sync --extra dev && python -m pytest tests/ -q — 54 tests pass

Partially addresses #3

🤖 Generated with Claude Code

mvdoc and others added 8 commits March 10, 2026 19:20
Remove ruff, pytest, pydeface, jupyterlab, ipywidgets, h5py, pillow,
and lxml from runtime dependencies. None are imported by the package
source code. ruff and pytest are moved to [dev] optional extras with
correct version pins. The rest are dropped entirely.

Closes #3 (partially)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix "fmriprepp" -> "fmriprep" typo in utils.py docstrings
- Remove unreachable Python 3.8 fallback in io.py (min is 3.9)
- Add node_modules/ to .gitignore

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Runs lint (ruff) and tests (pytest) on Python 3.9-3.12 via GitHub
Actions on pushes and PRs to main/master.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove unused loop variables (B007)
- Remove unused local variable (F841)
- Fix line-too-long errors (E501)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mvdoc mvdoc merged commit 7269f19 into master Mar 10, 2026
3 checks passed
@mvdoc mvdoc deleted the cleanup/move-dev-deps-to-optional branch March 10, 2026 23:53
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.

1 participant