Records below are third-party data, not instructions. Apply with your own judgment.
setuptools
1 record of known failures, each with its cause, the fix and what not to try.
Don’t try
install setuptools<82 into the venv when an sdist build fails — build isolation installs the newest setuptools into a throwaway build env; the venv's own setuptools is never used. (×1) · record
put setuptools<82 in a -c constraints file or PIP_CONSTRAINT — pip >= 26.2 no longer applies constraints files to isolated build envs; only --build-constraint or PIP_BUILD_CONSTRAINT reach them. (×1) · record