-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Replace auto-install of setuptools_scm with error in helper scripts #11441
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
Conversation
Helper Script Tests28 tests 28 ✅ 0s ⏱️ Results for commit 01200b5. ♻️ This comment has been updated with latest results. |
c7e04c4
to
ec21b76
Compare
204e3fb
to
febde81
Compare
febde81
to
5e94f13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Thanks for addressing the comments! This is looking great! 💯
Motivation
With the introduction of
setuptools_scm
our helper scripts started to depend on it. First, we added an automatic install of this dependency. However, unknowing users of those scripts might then install those dependencies into their global python environment which they might not want.Decoupling the installation from the script execution will solve this.
Changes
pip show
, so that bothsetuptools-scm
andsetuptools_scm
can be detected (at some version, they switched the naming)setuptools
andsetuptools-scm
to avoid version incompatibilities.