python-cdp icon indicating copy to clipboard operation
python-cdp copied to clipboard

Strict version locking causes install conflicts with other packages

Open joshmcorreia opened this issue 1 year ago • 0 comments

Hello, I'm experimenting with this library and I'm trying to use the aiohttp-jinja2 package alongside it but the strict version locks make pip deny the installation.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aiohttp-jinja2 1.6 requires aiohttp>=3.9.0, but you have aiohttp 3.8.3 which is incompatible.

I was wondering, is there a specific reason why the dependencies are version locked?

Currently pyproject.toml contains:

[tool.poetry.dependencies]
python = "^3.8, <3.12"
deprecated = "1.2.9"
inflection = "0.4.0"
aiohttp = "3.8.3"

but for more compatibility across libraries would it be possible to change it to something like this?

[tool.poetry.dependencies]
python = "^3.8, <3.12"
deprecated = "^1.2.9"
inflection = "^0.4.0"
aiohttp = "^3.8.3"

If there aren't any specific reasons for this then I will make a merge request so the library is more flexible with other packages. Thanks!

joshmcorreia avatar May 25 '24 19:05 joshmcorreia