-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add support for libmamba integrations (clean up poc-libsolv
)
#11193
Conversation
I think this is ready to go @jezdez! I have left some comments already in the interesting bits. Changes have been reduced to 50% more or less, but still most of that is moving pieces of code round (populating |
Review build status
Once it's done, use this command to try it out in a new conda environment:
|
This needs a pass over the linter in conda/testing for some reason, to get the linelength correctly mostly. Other than that this looks good! |
I intentionally left the line length checks outside of the initial review scope to make the diff less noisy. Happy to apply those fixes once you give me the green light! |
I think we are ready here too, @jezdez |
Oops, sorry, I was reviewing an old commit! |
It's time. |
conda_logger.setLevel(level) | ||
conda_logger.propagate = True # let root logger's handler format/output message | ||
conda_logger = getLogger("conda") | ||
conda_logger.setLevel(logging.NOTSET) |
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.
This and the equivalent change in conda.common.io
causes log.isEnabledFor(DEBUG)
-guarded code to be run when not intended.
xref: #13541
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.
Nice find!
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.
Oopsie 😬
Supersedes #10881
We will cleanup the long-lived
poc-libsolv
branch here to provide a clearer diff with no formatting:Implemented changes (wip):
solver_logic
Enum and_get_solver_logic()
forwarder (09c10b9)UnsatisfiableError
exceptions (082ff64)Test changes:
Other small fixes:
fresh_context
contextmanager (needed in some downstream tests) (a025443).conda_build_form()
deficiencies described inMatchSpec.conda_build_form()
expectsversion
to be set #11200 (f26c643)