Skip to content

Strict version locking causes install conflicts with other packages #12

@joshmcorreia

Description

@joshmcorreia

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions