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

Fix resolver when toplevel requirements are also in pinned subdependency #450

Conversation

davidovich
Copy link
Contributor

@davidovich davidovich commented Feb 8, 2017

The itertools.broupby() usage introduced a subtle change that caused the self.our_constraints to be rewritten with wrong expectations, causing the resolver to fail.

Fixes #449

@davidovich davidovich force-pushed the fix_resolver_when_presented_with_same_pinned_dependency branch from 8759212 to 95f7141 Compare February 9, 2017 00:53
suutari-ai added a commit to suutari/prequ that referenced this pull request Feb 9, 2017
This merges PR jazzband#450 and fixes jazzband#449.

* pip-tools-integration:
  Change log: Add entry about merged resolver fix
  Fix resolver when toplevel requirements are also in pinned subdependency
suutari-ai added a commit to suutari/prequ that referenced this pull request Feb 9, 2017
Mark the merged PRs of pip-tools in Change Log more clearly so that it
is easier to keep track which fixes/features are already in.

This includes following 7 PRs:

  * jazzband#355
  * jazzband#378
  * jazzband#389
  * jazzband#417
  * jazzband#441
  * jazzband#448
  * jazzband#450
@davidovich davidovich merged commit a10ee26 into jazzband:master Feb 20, 2017
@davidovich davidovich deleted the fix_resolver_when_presented_with_same_pinned_dependency branch February 20, 2017 14:17
@cjauvin
Copy link

cjauvin commented Feb 21, 2017

I created a fake package as is mentioned in the steps to reproduce the problem, and carefully traced pip-compile both before and after @davidovich's patch, and I can confirm that it indeed solves a real (and subtle) issue.

@davidovich
Copy link
Contributor Author

Fixes #384

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.

pip-compile may not be able to resolve dependencies
2 participants