Re:PDM: A Modern Python Package Manager
by frostming on Thursday December 09, 2021 @10:48PM
(#29506183)
In PDM, add command supports a `--unconstrained` option to relax the version constraints to find a solution. You don't need to edit the file manually.
Re:PDM: A Modern Python Package Manager
by andreareina on Friday December 10, 2021 @06:12AM
(#29508590)
Another way it happens: I was stuck on python 3.6 for a while and it meant that I couldn't just poetry add pandas because the latest version isn't compatible with 3.6 and it won't look for other versions.
The solution is to change pyproject.toml to be more permissive about the version of ingredients, resulting in it downgrading to a compatible version. Or submit an issue and/or PR with the maintainers of cake to bump up the supported versions.