brentropic
brentropic
I agree that pandas `1.1.5` technically satisfies all requirements, but don't you think it's a little strange that adding extras suddenly causes the resolver to behave in an unexpected way?...
My apologies, I didn't mean to incite anything, just checking whether I've finally gone crazy :) Checking the output of `poetry lock -vvv` without a `poetry.lock` file already present (the...
https://github.com/python-poetry/poetry/blame/88b2bab0f711a9eb2d3d61b0fa3ee370bf97e498/src/poetry/puzzle/provider.py#L608 ```py # Too complicated to handle with overrides, # fallback to basic handling without overrides. ``` Sounds about right, a general solution for this would probably be very complicated....
Replacing this: ```py if all(len(d) == 1 for d in duplicates_by_extras.values()) and all( d1[0].marker.intersect(d2[0].marker).is_empty() for d1, d2 in itertools.combinations( duplicates_by_extras.values(), 2 ) ): # Since all markers are mutually exclusive,...
Looks like this now almost works correctly in Poetry 2.1.1 but now subtly mangles the `python_full_version` markers needed for `1.1.5` and `1.3.5`: ```toml ... [[package]] name = "pandas" version =...
As before, replacing the combinations if clause with True fixes it again.