package/python-requests: relax version dependency on python-idna
authorRomain Naour <romain.naour@gmail.com>
Tue, 7 Apr 2020 22:15:49 +0000 (00:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 8 Apr 2020 20:25:40 +0000 (22:25 +0200)
commit000d21c2b63bfda8c66edfd9a742a7b847c8b1a2
treec32f656ad1264714ad7ab0f9c2deaeae307a0592
parent5334d9a200f0b3c8df5db7ad7d609aeb32f62ec1
package/python-requests: relax version dependency on python-idna

The dockerCompose runtime test currently fails with:

pkg_resources.ContextualVersionConflict: (idna 2.9 (/usr/lib/python3.8/site-packages), Requirement.parse('idna<2.9,>=2.5'), {'requests'})

This is due to the fact that the python-requests module has a strict
version dependency on the python-idna module: 'idna>=2.5,<2.9'.

Since Buildroot commit 237d31bf5289a46583aa4bbc1fb7ed008b798de5, we're
using python-idna in version 2.9, which no longer matches the version
dependency expressed by python-requests, causing the failure.

Upstream has addressed this issue in commit
https://github.com/psf/requests/commit/c46f55bd48dabc02f033d252f8c64e2011f37361,
which relaxes the version requirement.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/498144417

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/python-requests/0001-Limit-dependencies-to-major-instead-of-minor-5342.patch [new file with mode: 0644]