-
Notifications
You must be signed in to change notification settings - Fork 18
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
setup.py: remove pip import #49
Conversation
This change removes an unused import of pip from setup.py in order to make the project compatible with default setuptools build via PEP 517 front ends.
@boisgera this came up through a poetry user in our community. Just wanted to ensure the project is build-able in isolated environments. Let me know if you need any specific changes. |
Hi @abn ! You're 100% right about the pip dependency. It is not required (anymore), only setuptools is needed. For the second commit, that tweaks the CI, I have two concerns (if I understand the change):
What do you think? If we agree, please change the target of the action to Thanks for your help! Cheers, Sébastien |
Hi boisgera! This was causing us quite a bit of headache, thanks for taking a look at it! I'd love to make the changes requested but don't have edit rights for the PR. Would you prefer that you changed it, or I submit a new PR? |
I'll merge the PR and adjust it afterwards, that's probably the easiest way. |
... and I actually have nothing to change, since @abn has already done everything (and I didn't even notice ...). |
This change removes an unused import of pip from setup.py in order to make the project compatible with default setuptools build via PEP 517 front ends.
If pip is indeed required, this needs to be explicitly specified in a pyproject.toml file as shown below to ensure build systems do not fail unexpectedly.