-
Notifications
You must be signed in to change notification settings - Fork 428
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
ENH make sure packages in current repo data w/ features have versions without features #3957
Conversation
So the osx test that failed passes locally for me and the windows failures appear unrelated but I don't quite follow them. @marcelotrevisani do you know what is going on here? |
Ah it appears all of these tests are failing on master too. So I think this one is ready to go! |
Bump here! I fixed one bug in the pr and it appears to be working now in my tests of the new sysroot stuff for conda forge. |
I'm not certain excluding packages with features entirely from I think a better solution is to treat features similar to "pins". That is, if package with features is included in |
So, in this case, the solver will fall back to the full repodata, but that is a performance hit. Is the performance the concern here? |
This should work. |
I'm not worried about performance, more my worry is that if all of the packages for a particular name have a feature then that entire package is excluded As an example: Currently My concern is that there will be some other solution that conda does find in current_repodata for these edge cases that will make no sense. That said, I cannot provide a non-contrived concrete example. Expanding, |
Ahhhhh thank you! That makes sense to me! |
ok @jjhelmus this is ready for another look! |
Bump here @jjhelmus |
Bump here |
LGTM thanks again for putting this together @beckermr |
Hi there, thank you for your contribution! This pull request has been automatically locked because it has not had recent activity after being closed. Please open a new issue or pull request if needed. Thanks! |
This PR makes sure that packages in the current repo data which have features also have version without features. This change makes sure that feature minimization works.
cc @isuruf @jjhelmus