Support exclude-newer policies - #905
Open
jezdez wants to merge 7 commits into
Open
Conversation
9 tasks
jezdez
force-pushed
the
feature/exclude-newer
branch
3 times, most recently
from
April 10, 2026 13:11
c83f07b to
19d6814
Compare
3 tasks
jezdez
force-pushed
the
feature/exclude-newer
branch
from
June 8, 2026 11:11
4ea1409 to
266b91f
Compare
jezdez
force-pushed
the
feature/exclude-newer
branch
from
June 8, 2026 11:14
266b91f to
da4c7c4
Compare
2 tasks
jezdez
force-pushed
the
feature/exclude-newer
branch
from
July 8, 2026 13:04
26ae4f6 to
86ede91
Compare
jezdez
marked this pull request as ready for review
July 24, 2026 15:38
jezdez
force-pushed
the
feature/exclude-newer
branch
from
August 12, 2026 11:18
93e34bd to
48eed56
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implements the conda-libmamba-solver side of conda/conda#15761 by consuming conda's resolved
ExcludeNewerPolicy.The solver declares support for global, channel, and package policies. A global-only policy uses libmambapy 2.9.0 or newer's native
exclude_newer_timestampdatabase setting. Older supported libmambapy versions and scoped policies use the Python repodata filter.The native path skips serialized
.solvcaches because libmamba does not apply the cutoff when loading them. It also preserves installed records. Sharded repodata is filtered in Python soindexed_timestampkeeps precedence over the build timestamp.This requires conda 26.9.0 or newer. The runtime libmambapy dependency remains
>=2.0.0,!=2.6.2, with native filtering enabled automatically for libmambapy 2.9.0 or newer. Development and CI require libmambapy 2.9.0 or newer so the native constructor path is covered.CI is temporarily pinned to
jezdez/conda@a5094a3ae2df8d21843d40780278fc2f9eff3e27until conda/conda#15761 lands.Part of conda/conda#15759.
Checklist - did you ...
newsdirectory (using the template) for the next release's release notes?Add / update outdated documentation?