pip-tools: pip-sync broken with pip 8.1.2
pip-sync doesn’t work with pip==8.1.2
Steps to replicate
- Upgrade to pip 8.1.2
- Run
pip-sync
Expected result
- No error
- Dependencies installed
Actual result
Error: AttributeError: 'Requirement' object has no attribute 'key'
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 7
- Comments: 17 (6 by maintainers)
Should be fixed in pip-tools==1.7, which was released yesterday!
Hmm, yeah these changes affect pip-tools at the core. We need to carefully inspect how these data structures were refactored and how we need to follow those new patterns. For now, I’ll address this by issuing a warning that 8.1.2 is not supported in pip-tools 1.6.*, since I lack the time to properly fix this now.
I’ll change the codebase to match 8.1.2, but it won’t be a backward compatible fix, so I’ll roll a new minor release for it when it’s done.
This will be the situation: