add extension-helpers to setup_requires#9965
Conversation
|
Is |
|
I was under the (possibly mistaken?) impression that either should still work, and that Either way I think it's correct to specify this as a setup-time dependency, right? |
|
Related question that perhaps should be included in this PR: shouldn't the |
yes, I think so. |
|
Oh and if it's not clear from my statement above: |
|
The reason I'm not sure what your use case is for running build on its own here, but I think the pip equivalent which builds the package without installing it is |
|
+1 to what @astrofrog said. I still contest that @eteq's desire to not install things is not a usecase that's common or one that needs first class support (or one that we should be putting effort into supporting). |
Just about this point, it's completely ok to tell users they can pip/conda install extension-helpers - this is different to astropy-helpers which was never expected to be installed by users directly. |
|
First, re:
and
I see your points here. I don't particularly mind that the users have to install this, I'm concerned that it's not obvious how they would know that. I think in my case the real problem here is that the But that implies an alternate solution, which is to remove Now separately, @astrofrog's
and @Cadair's
There are a several different things here:
Fortunately that one is well-addressed by @astrofrog's proposal to provide a clear re-direct like what we are currently doing with
I'm fine with the answer to this one being "if you're that deep in you need to install the Unfortunately this solution conflicts with the solution to 1... I honestly don't care at all if it's not
The |
|
Looking at the above, I suspect this discussion will go on for some time and is a bit peripheral to the immediate point of this PR, @astrofrog and @Cadair. Perhaps we could shift the second part of that discussion to a separate issue and just do the |
|
At the very least, there is no harm in putting an extra comment into |
|
I'm confused:
I see only one change in the PR? What other change were you thinking of? |
|
As I mentioned before, the change to |
|
And to be clear, I'd be ok with just removing |
|
Cleared milestone as this is not critical for 4.1 - though the larger issue definitely is something we need to consider: I know @taldcroft and I also have been struggling with regaining the ability to quickly test things. It would be very good to try to ensure that is possible in the coming months, but I think we need a separate issue that can collect what breaks, what is best practice, etc. (the suggestion of working within a |
|
Hi humans 👋 - this pull request hasn't had any new commits for approximately 5 months. I plan to close this in a month if the pull request doesn't have any new commits by then. In lieu of a stalled pull request, please consider closing this and open an issue instead if a reminder is needed to revisit in the future. Maintainers may also choose to add If this PR still needs to be reviewed, as an author, you can rebase it to reset the clock. If you believe I commented on this pull request incorrectly, please report this here. |
pllim
left a comment
There was a problem hiding this comment.
Since we already have setup_requires anyway, I don't see why adding one more thing to it is so controversial. It is not really deprecated and even have ongoing discussions at pypa/setuptools#1742. I propose that we resolve the merge conflict and just get this in.
|
Merging this will have zero benefit because setup_requires will only be honored after the setup.py file has run, and that requires extension helpers to already be installed. So I still strongly favour closing this. |
|
In fact I will just close it 😬 |
|
(I will open a PR with an alternative approach) |
This does a fairly trivial thing of adding the extension-helpers package to be part of setup_requires in the
setup.cfg.However: this doesn't really solve what I thought it would solve: that if I do
python setup.py buildon the current master withextension-helpersnot installed, I get:which is not a surprise since it's high up in the
setup.pyfile... But it seems like a pretty serious impediment that the user has no way to know where they're supposed to be getting this from. @astrofrog or @Cadair, any idea how best to address this beyond what I'm already doing in this PR?