-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setuptools bootstrap fails in presence of installed setuptools_scm #2462
Comments
Gah. That's terrible. I'd really like to get away from setuptools being a special snowflake when it comes to building/bootstrapping. In the meantime, my best recommendation is not to ever install setuptools_scm anywhere ever. Just rely on PEP 518 to make it present when needed. |
I prefer not to use build isolation. For me it is easier to just uninstall But it is still a bug in setuptools itself, if an entry point can disrupt its bootstrapping process. |
Does anyone know a workaround for this? (without having to uninstall setuptools_scm) |
@lazka have you checked the recent version in the |
The latest version of setuptools has a stub for bootstrap.py and since #2582, supplies the bootstrap metadata in the git repo. I do have some evidence that this new approach works better:
Does this approach work for your use-cases, @KOLANICH and @lazka ? |
@jaraco, I have just tested with setuptools removed from the distro on a local machine. It worked. I haven't tested on CI yet though. |
Normal |
That's great news. I'll close this issue, but happy to re-open if there are lingering issues. |
The text was updated successfully, but these errors were encountered: