Skip to content

Specify numpy manually in dependencies, as it's directly used/imported#3608

Merged
tomaarsen merged 1 commit into
huggingface:mainfrom
tomaarsen:deps/numpy
Jan 6, 2026
Merged

Specify numpy manually in dependencies, as it's directly used/imported#3608
tomaarsen merged 1 commit into
huggingface:mainfrom
tomaarsen:deps/numpy

Conversation

@tomaarsen

Copy link
Copy Markdown
Member

Hello!

Pull Request overview

  • Specify numpy manually in dependencies, as it's directly used/imported

Details

Numpy was already a required dependency, but only via transformers/scipy etc. I also reordered the dependencies somewhat.

  • Tom Aarsen

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR explicitly adds numpy as a direct dependency in pyproject.toml, recognizing that it's directly imported and used throughout the codebase rather than being transitively available only through other dependencies like transformers or scipy. The dependencies list has also been reordered.

Key Changes:

  • Added numpy as an explicit dependency in the dependencies list
  • Reordered dependencies (moved huggingface-hub before torch, moved tqdm to the end)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml
@tomaarsen tomaarsen enabled auto-merge (squash) January 6, 2026 14:04
@tomaarsen tomaarsen merged commit ebbf68b into huggingface:main Jan 6, 2026
23 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