Skip to content
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

1.x: retain add_channel_specific_matchspec between create_whatprovides calls #3232

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

tl-hbk
Copy link
Contributor

@tl-hbk tl-hbk commented Mar 13, 2024

conda/conda-libmamba-solver#447

conda-libmamba-solver reuses the same pool between solve attempts but creates a new solver each attempt. The solver initialization calls create_whatprovides and wipes the whatprovides relationships added for the channel specific matchspecs.

The problem with this is that the channel specific match spec is still present in the pool's string cache so later add_jobs calls just return the id for the channel specific match spec without readding the wiped whatprovides

@tl-hbk tl-hbk changed the title retain add_channel_specific_matchspec between create_whatprovides calls 1.x: retain add_channel_specific_matchspec between create_whatprovides calls Mar 14, 2024
@AntoinePrv AntoinePrv merged commit 2030f66 into mamba-org:1.x Mar 14, 2024
17 checks passed
@tl-hbk tl-hbk mentioned this pull request Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants