-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Pip 24.1.2 does not include wheel as a dependency. #124
Comments
I wonder if this is a result of the changed made in #121 |
It is. Quoting my reply from there ( #121 (comment) ):
|
cc @conda-forge/pip @conda-forge/core (for feedback) |
Sorry for the crossed issues/PRs. Let's keep the discussion here. My latest comment copied over
|
Do you mind if I open a PR to mark the package as broken while the discussion is still ongoing? I am happy to wait until a final decision is made before merging it. Just want to have the ducks lined up so we can get our project build up and running as soon as possible. |
Think that an open PR is a good thing to have. Maybe mark it as WIP & draft? Though yeah let's see what others think in this discussion |
One the one hand, it's making a lot of work to update feedstocks. On the other: Perhaps moving to a
... would provide a way to start transitioning to more accurate |
We face similar issues with matplotlib+qt, moved to matplotlib-base + matplotlib as suggested above, ended up using the bot to rename deps in its PRs, and having the linter warn folks. I'd be ok with that solution here. Normally, I'd be in the camp above "you should not have been using transitive deps in the first place." However, in this case the pain we're causing might just be too high to take the pure road without a transition plan as suggested by @bollwyvl and this comment. |
These feedstocks do require updating but they also are incorrect in the current state in my opinion. Feedstocks that do not list |
I agree 100%. I simply want to ease the transition to the new way of doing things so that folks are not caught by surprise. After a sufficent amount of time, I'd consider merging the pip-base and pip packages as well. |
Splitting The second is when IMHO adding
|
@tribeiro To address the issue you reported, you should add |
I'll add that starting with Python 3.12, |
Maybe too simple-minded, but why not just:
Introducing multiple |
Which version of setuptools includes bdist_wheel as a vendored package, instead of a separate project? |
I like this approach, but you need to add both |
|
This plan is fine by me, but the breakages go beyond the considerations of feedstocks. The change in deps is breaking people who use |
To be clear, and I was not above, my original proposal would involve never removing pip-core/pip-base. It would be a shell package that would live on forever and simply depend on pip. |
Can you expand on how this will break? Pip will install the declared build backend or setuptools from PyPI automatically unless |
Exactly. Many people install everything they need from conda-forge and then use say an editable install of their package with |
100% agree on that. |
Thanks for the bump on that issue @isuruf. IMHO us breaking CI pipelines for pytorch is not a great end result. |
Is it fair to say that given the overwhelming response here, we should...?
|
This command never worked if the project used flit or hatching, only setuptools. That said setuptools was the backend for so long many people never were aware they were using it. Re-adding the dependency will allow this misunderstanding to continue but does smooth it out for many users. My concern is that there will never be a good time to drop the dependency. |
We can do this for the upcoming python 3.13 release. |
I think we drop them in three to six months after we have time to cleanup feedstocks and give people notice. My concern here is easing the transition, not dropping them in and of itself. I'm ok with the break but folks need warning. I'm also ok with the split recipe approach. As long as we give people notice, I'm perfectly happy. |
#125 Adds setuptools and wheel to the run requirements and update the recipe to the latest version, 24.2. |
Thanks Jonathan! 🙏 Both for helping raise awareness about this issue we need to address and helping us think through planning of this change Agree with Isuru that aligning with a migration like 3.13 could be a good approach |
Wouldn't pip (more dependencies) normally depend on pip-core (fewer dependencies)? |
On the topic of 3.13. I've been building out packages using the 3.13.0b4 release (available on |
While Jonathan's PR has been merged, think the points he raised here are important and need further discussion As that discussion is already happening here, will reopen so that can continue |
I can help with announcements, bot prs, and the linter in the next few weeks. |
Thanks Matt! 🙏 Would be interested in your thoughts on issue ( regro/cf-scripts#2888 ), when you have a moment 🙂 |
It seems like the decision is to keep wheel for the time being. I opened a PR to mark the 24.2.1 package as broken on Conda-forge. Do you agree with that (mark it as broken)? This is the PR by the way: conda-forge/admin-requests#1041 |
Thanks Tiago! 🙏 Have responded in that PR. Let's see if others have thoughts |
Thank you everyone! I really appreciate the time and attention! 🙏 |
+1 for doing this with the 3.13 migration |
FYI, I've moved discussion and tracking of the transition plan to a central issue as usual: conda-forge/conda-forge.github.io#2252. Please redirect any additional comments on the transition there. |
Thanks Matt! 🙏 Will close this out then as there are no more items to do here |
Solution to issue cannot be found in the documentation.
Issue
pip 24.1.2 was released on 2024-07-31 07:20:55. Ever since it was released and our build system started to pick it up we have a build error that says:
After doing a diff on the dependencies installed I noticed the following:
it seems like going from version 24.0 to 24.1.2 no longer installs the wheel package as a dependency, which seems to be the source of the problem.
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: