Skip to content

fix: remove setuptools runtime dependency#973

Open
arturict wants to merge 1 commit into
explosion:v8.3.xfrom
arturict:fix/971-remove-setuptools-runtime-dependency
Open

fix: remove setuptools runtime dependency#973
arturict wants to merge 1 commit into
explosion:v8.3.xfrom
arturict:fix/971-remove-setuptools-runtime-dependency

Conversation

@arturict

Copy link
Copy Markdown

Fixes #971.

What changed

Removed setuptools from install_requires in setup.cfg.

Why

setuptools is a build-time dependency for Thinc and remains correctly declared in the PEP 517 [build-system] requirements in pyproject.toml. It is not imported by Thinc at runtime, so listing it in install_requires unnecessarily installs it into user environments as a runtime dependency.

Validation

  • parsed setup.cfg with Python ConfigParser and verified the runtime dependency list still contains 11 entries, includes NumPy, and no longer includes setuptools
  • git diff --check

A full wheel build was not run because the local environment does not have the repository's Cython/NumPy build toolchain installed. The build-system declaration itself is unchanged.

@arturict arturict marked this pull request as ready for review July 12, 2026 00:07
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.

Package setuptools is required when using thinc

1 participant