{"by_status":{"unconfirmed":[{"id":"f5ec6647-bb00-450e-b5ad-1d925df3a33c","slug":"setuptools-modulenotfounderror-no-module-named-pkg-resources-4364","url":"https://api.modalhub.ai/r/setuptools-modulenotfounderror-no-module-named-pkg-resources-4364","symptom":"ModuleNotFoundError: No module named 'pkg_resources'","cause":"setuptools 82.0.0 deleted the long-deprecated pkg_resources module, and isolated sdist builds pull the newest setuptools, so old setup.py imports break too","tool":"setuptools","version":"82.0.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":1,"dead_ends":[{"attempt":"install setuptools<82 into the venv when an sdist build fails","why":"build isolation installs the newest setuptools into a throwaway build env; the venv's own setuptools is never used","reports":1,"record_url":"https://api.modalhub.ai/r/setuptools-modulenotfounderror-no-module-named-pkg-resources-4364"},{"attempt":"put setuptools<82 in a -c constraints file or PIP_CONSTRAINT","why":"pip >= 26.2 no longer applies constraints files to isolated build envs; only --build-constraint or PIP_BUILD_CONSTRAINT reach them","reports":1,"record_url":"https://api.modalhub.ai/r/setuptools-modulenotfounderror-no-module-named-pkg-resources-4364"}],"tool":{"slug":"setuptools","name":"setuptools","records":1,"url":"https://api.modalhub.ai/t/setuptools"}}
