-
Notifications
You must be signed in to change notification settings - Fork 785
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
Repeated markers in resolution-markers
#9296
Comments
@BurntSushi -- I think this is somehow related to #9289. When we first fork, we create three forks:
But those aren't "differentiated" in their markers. |
Hmmm. This might be a separate issue from #9289. I think the problem here is that we've traditionally assumed that forks are disjoint based on markers. But with forking based on extras, multiple forks can have the same markers. So we might be able to just de-deduplicate them? |
Maybe, I’m not sure though… The forks do represent something different than one another, but it’s not captured by the markers. Is that ok? |
It should be captured by the conflicts written to the lock file. I guess I do wonder if perhaps the forks need their markers associated with the specific conflicts that arise for that fork during resolution. |
Yeah we may be able to dedupe. It just feels slightly off, so I'm unsure. Maybe just think on it as you solve the deeper issue around transitive deps with conflicts etc. |
If you lock:
Then the top of the lockfile includes:
And the packages have entries like:
The text was updated successfully, but these errors were encountered: