Currently, dev-python/cloudflare-3.1.0-r3 ebuild specifies the following dependency: `<dev-python/httpx-0.28.0[${PYTHON_USEDEP}]` However, the Python library itself claims much more lax restrictions on the version of httpx. From https://github.com/cloudflare/cloudflare-python/blob/v3.1.0/pyproject.toml#L11 : `"httpx>=0.23.0, <1",` The problem is that the overly restrictive dependency caused dev-python/cloudflare package to get added to package.mask and slatted for removal https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1a17cf75800e30ff149a69ad871fd135233a4749 So, please, fix the dependency constraint. An alternative is to bump to cloudflare-4.0.0, of course. The latter even specifies httpx==0.28.1 in its requirements.lock file: https://github.com/cloudflare/cloudflare-python/blob/v4.0.0/requirements.lock#L28 . Reproducible: Always
At the very least, =dev-python/cloudflare-3.1.0-r3 builds just fine with =dev-python/httpx-0.28.1.
no, it does not in fact run fine with httpx 0.28.0 discussion upstream: https://github.com/cloudflare/cloudflare-python/discussions/116#discussioncomment-11447614 . I'm adding bumping it to 4.0.0 instead.
(In reply to Kyle Elbert from comment #2) > no, it does not in fact run fine with httpx 0.28.0 discussion upstream: > https://github.com/cloudflare/cloudflare-python/discussions/ > 116#discussioncomment-11447614 . Ah, got it, thanks! > I'm adding bumping it to 4.0.0 instead. This is even better, thank you!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc7b80402e92be374d1d44deb70f3b719b461059 commit cc7b80402e92be374d1d44deb70f3b719b461059 Author: Kyle Elbert <kcelbert@gmail.com> AuthorDate: 2025-01-21 06:02:45 +0000 Commit: Kyle Elbert <kcelbert@gmail.com> CommitDate: 2025-01-21 06:02:52 +0000 dev-python/cloudflare: add 4.0.0 Bug: https://bugs.gentoo.org/948477 Signed-off-by: Kyle Elbert <kcelbert@gmail.com> dev-python/cloudflare/Manifest | 2 + dev-python/cloudflare/cloudflare-4.0.0.ebuild | 100 ++++++++++++++++++++++++++ 2 files changed, 102 insertions(+)