<p dir="auto">idna-3 has been released on Jan 1st. However, requests still requires idna&lt;3 preventing a lot of projects from upgrading.</p>
<h2 dir="auto">Expected Result</h2>
<p dir="auto">requests supporting idna-3.1</p>
<h2 dir="auto">Actual Result</h2>
<p dir="auto">requests force idna&lt;3</p>
<h2 dir="auto">Reproduction Steps</h2>
<p dir="auto">Errr, install requests? ;-)</p>
<h2 dir="auto">System Information</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python -m requests.help
{
  &quot;chardet&quot;: {
    &quot;version&quot;: &quot;4.0.0&quot;
  },
  &quot;cryptography&quot;: {
    &quot;version&quot;: &quot;3.4.7&quot;
  },
  &quot;idna&quot;: {
    &quot;version&quot;: &quot;2.10&quot;
  },
  &quot;implementation&quot;: {
    &quot;name&quot;: &quot;CPython&quot;,
    &quot;version&quot;: &quot;3.9.4&quot;
  },
  &quot;platform&quot;: {
    &quot;release&quot;: &quot;5.11.16-gentoo-dist&quot;,
    &quot;system&quot;: &quot;Linux&quot;
  },
  &quot;pyOpenSSL&quot;: {
    &quot;openssl_version&quot;: &quot;101010bf&quot;,
    &quot;version&quot;: &quot;20.0.1&quot;
  },
  &quot;requests&quot;: {
    &quot;version&quot;: &quot;2.25.1&quot;
  },
  &quot;system_ssl&quot;: {
    &quot;version&quot;: &quot;101010bf&quot;
  },
  &quot;urllib3&quot;: {
    &quot;version&quot;: &quot;1.26.4&quot;
  },
  &quot;using_pyopenssl&quot;: true
}"><pre class="notranslate"><code class="notranslate">$ python -m requests.help
{
  "chardet": {
    "version": "4.0.0"
  },
  "cryptography": {
    "version": "3.4.7"
  },
  "idna": {
    "version": "2.10"
  },
  "implementation": {
    "name": "CPython",
    "version": "3.9.4"
  },
  "platform": {
    "release": "5.11.16-gentoo-dist",
    "system": "Linux"
  },
  "pyOpenSSL": {
    "openssl_version": "101010bf",
    "version": "20.0.1"
  },
  "requests": {
    "version": "2.25.1"
  },
  "system_ssl": {
    "version": "101010bf"
  },
  "urllib3": {
    "version": "1.26.4"
  },
  "using_pyopenssl": true
}
</code></pre></div>
<p dir="auto">idna released version 3.0 but requests has a dependency on idna&lt;3, this makes it impossible to keep up to date on both packages.</p>
<h2 dir="auto">Expected Result</h2>
<p dir="auto">I want to be able to install the latest idna package alongside the latest requests package</p>
<h2 dir="auto">Actual Result</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="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&lt;3 and &gt;=2.5"><pre class="notranslate"><code class="notranslate">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&lt;3 and &gt;=2.5
</code></pre></div>
<h2 dir="auto">Reproduction Steps</h2>
<p dir="auto">try to run <code class="notranslate">pip install</code> on a requirements.txt file with</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="requests==2.25.1
idna==3.0"><pre class="notranslate"><code class="notranslate">requests==2.25.1
idna==3.0
</code></pre></div>
<h2 dir="auto">System Information</h2>
<p dir="auto">multiple Python versions (3.6 up to 3.9) running on Docker containers inside Drone CI/CD</p>