3 ms·
I managed to find an annoying situation with poetry in which if you specify a range of versions for a dependency, and one of your other dependencies specifies
by bigbillheck 5y ago
I managed to find an annoying situation with poetry in which if you specify a range of versions for a dependency, and one of your other dependencies specifies a slightly different range of versions for that dependency, it will refuse to proceed. (I was expecting it to have chosen something in the intersection of the ranges, but it did not)
- stavros 5y agoHm, yeah, that definitely sounds like a resolver bug. Did you report it? I'm curious to see if it was fixed.
- bigbillheck 5y agoI did not report it because I found somebody else had already reported it and it was a WONTFIX (for reasons I don't immediately recall).
- code_biologist 5y agoI suspect in GP's case there was something blocking the intersected range. That should work perfectly. The poetry author doesn't want to support package version range overrides like yarn does [1]. His call I suppose, but I think it's the one major flaw in the otherwise giant step that poetry takes forward. [1] https://github.com/python-poetry/poetry/issues/697 https://github.com/python-poetry/poetry/issues/697