Repository: psf/requests
Pull request: bump idna has version 3.0 was released
Closes https://github.com/psf/requests/issues/5710

Problem statement:
idna 3.0 version package conflict
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

Hints from issue discussion:

Commit message: bump idna has version 3.0 was released

Patch to review:
diff --git a/setup.py b/setup.py
index 7ba4b2a25f..f265384236 100755
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ def run_tests(self):
 
 requires = [
     'chardet>=3.0.2,<5',
-    'idna>=2.5,<3',
+    'idna>=2.5,<4',
     'urllib3>=1.21.1,<1.27',
     'certifi>=2017.4.17'
 


Code review comments:
diff_hunk: @@ -43,7 +43,7 @@ def run_tests(self):
 
 requires = [
     'chardet>=3.0.2,<5',
-    'idna>=2.5,<3',
+    'idna>=2.5,<4',
path: setup.py
text: @user1:
That should be good for both Python 2 and 3:
```suggestion
    'idna>=2.5,<3 ; python_version < "3"',
    'idna>=2.5,<4 ; python_version >= "3"',
```