Summary: | dev-python/more-itertools-8.11.0: pkg_resources.DistributionNotFound: The 'idna<3,>=2.5' distribution was not found and is required by requests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yarda <zbox> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | jstein, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Yarda
2021-11-23 14:41:24 UTC
Thank you. please *attach* the log next time. After adding =dev-python/idna-2.10 into the local portage overlay it merged OK. What version of requests do you have installed and how? requests-2.26.0 (the only version remaining in ::gentoo) declare the dependecy on idna<4 while your version has <3. I am upgrading the system, it's still compiling, currently there is: [U] dev-python/requests Available versions: 2.26.0^t {socks5 test PYTHON_TARGETS="pypy3 python3_10 python3_8 python3_9"} Installed versions: 2.25.1-r1^t(10:18:50 15.4.2021)(-socks5 -test PYTHON_TARGETS="python3_7 python3_8 python3_9 -pypy3") Homepage: https://requests.readthedocs.io/ Description: HTTP library for human beings Unfortunately, portage didn't pick the requests update first. Unfortunately, you hit a buggy version -- the idna dependency was fixed in -r2. I'm afraid there's nothing we can really do at this point -- the best way forward is to update dev-python/requests. *** This bug has been marked as a duplicate of bug 787584 *** The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e1e27390394fa64b6c44e87a8c3e737ce9ef2e4 commit 7e1e27390394fa64b6c44e87a8c3e737ce9ef2e4 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-25 07:10:42 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-25 07:10:42 +0000 dev-python/certifi: use importlib This avoids breaking arbitrary packages on the system because they happen to use certifi, as certifi will pick up if any other packages on the system have an unsatisfied requirement - which is often bogus. Bug: https://bugs.gentoo.org/826874 Bug: https://bugs.gentoo.org/854294 Bug: https://bugs.gentoo.org/878035 Closes: https://bugs.gentoo.org/878045 Signed-off-by: Sam James <sam@gentoo.org> dev-python/certifi/certifi-3021.3.16-r3.ebuild | 55 +++++++ .../files/certifi-3021.3.16-use-importlib.patch | 164 +++++++++++++++++++++ 2 files changed, 219 insertions(+) |