Skip to content

Commit 75857ce

Browse files
committed
Install setuptool_scm for make check-stubs
This fixes the lengthy build-time message > setuptools_scm-6.3.2-py3.9.egg/setuptools_scm/integration.py:16: RuntimeWarning: > ERROR: setuptools==44.1.1 is used in combination with setuptools_scm>=6.x > > Your build configuration is incomplete and previously worked by accident! > > > This happens as setuptools is unable to replace itself when a activated build dependency requires a more recent setuptools version (it does not respect "setuptools>X" in setup_requires). > > > setuptools>=31 is required for setup.cfg metadata support > setuptools>=42 is required for pyproject.toml configuration support > > Suggested workarounds if applicable: > - preinstalling build dependencies like setuptools_scm before running setup.py > - installing setuptools_scm using the system package manager to ensure consistency > - migrating from the deprecated setup_requires mechanism to pep517/518 and using a pyproject.toml to declare build dependencies which are reliably pre-installed before running the build tools
1 parent 316c253 commit 75857ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

requirements-doc.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ twine
66
wheel
77
astroid
88
setuptools
9+
setuptools_scm
910

1011
# For sphinx
1112
Sphinx<4

0 commit comments

Comments
 (0)