Skip to content

idna 3.0 version package conflict #5710

@naorlivne

Description

@naorlivne

idna released version 3.0 but requests has a dependency on idna<3, this makes it impossible to keep up to date on both packages.

Expected Result

I want to be able to install the latest idna package alongside the latest requests package

Actual Result

ERROR: Cannot install -r requirements.txt (line 12) and idna==3.0 because these package versions have conflicting dependencies.

The conflict is caused by:

    The user requested idna==3.0

    requests 2.25.1 depends on idna<3 and >=2.5

Reproduction Steps

try to run pip install on a requirements.txt file with

requests==2.25.1
idna==3.0

System Information

multiple Python versions (3.6 up to 3.9) running on Docker containers inside Drone CI/CD

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