Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948476 - [guru] dev-python/cloudflare and app-crypt/certbot-dns-cloudflare package.mask'd by mistake
Summary: [guru] dev-python/cloudflare and app-crypt/certbot-dns-cloudflare package.mas...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Other bugs (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Kyle Elbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-21 05:04 UTC by Andrey
Modified: 2025-01-24 02:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2025-01-21 05:04:08 UTC
dev-python/cloudflare and app-crypt/certbot-dns-cloudflare (as its reverse dependency) got added to `package.mask` in [1] with the rationale that they depend on "<dev-python/httpx-0.28.0 which is no longer in tree".

However, only >=dev-python/cloudflare-3 uses dev-python/httpx,
but =dev-python/cloudflare-2.19.4 (which is the one actually used by app-crypt/certbot-dns-cloudflare) does NOT.
The reason is that <dev-python/cloudflare-3 [2] and >=dev-python/cloudflare-3 [3] are two very different codebases.
app-crypt/certbot-dns-cloudflare hasn't been migrated to >=dev-python/cloudflare-3 yet [4].

So, please, unmask dev-python/cloudflare and app-crypt/certbot-dns-cloudflare.


[1] https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1a17cf75800e30ff149a69ad871fd135233a4749
[2] https://github.com/cloudflare/python-cloudflare
[3] https://github.com/cloudflare/cloudflare-python
[4] https://github.com/certbot/certbot/issues/9938



Reproducible: Always

Steps to Reproduce:
1. ACCEPT_KEYWORDS="~amd64" emerge -av1 app-crypt/certbot-dns-cloudflare
Actual Results:  
Portage tells me that the package is "masked by: package.mask".

Expected Results:  
Install the package successfully.
Comment 1 Andrey 2025-01-21 05:36:55 UTC
> However, only >=dev-python/cloudflare-3 uses dev-python/httpx,
> ...


To add to this, ~dev-python/cloudflare-3.1.0 actually builds without issues with =dev-python/httpx-0.28.1 on my machine.
(I filed https://bugs.gentoo.org/948477 for correcting RDEPEND on it)
Comment 2 Larry the Git Cow gentoo-dev 2025-01-21 08:51:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2077e2c064490dba238b74cf6777c616d44a648d

commit 2077e2c064490dba238b74cf6777c616d44a648d
Author:     Kyle Elbert <kcelbert@gmail.com>
AuthorDate: 2025-01-21 05:58:17 +0000
Commit:     Kyle Elbert <kcelbert@gmail.com>
CommitDate: 2025-01-21 05:58:17 +0000

    profiles: remove mask for dev-python/cloudflare and certbot-dns-cloudflare
    
    Only 3.x of cloudflare is tied to <dev-python/httpx-0.28.0 and that version has been dropped.
    Certbot-dns-cloudflare was incorrectly masked since it currently depends on 2.x of cloudflare.
    
    Closes: https://bugs.gentoo.org/948476
    
    Signed-off-by: Kyle Elbert <kcelbert@gmail.com>

 profiles/package.mask | 8 --------
 1 file changed, 8 deletions(-)
Comment 3 Andrey 2025-01-24 02:31:51 UTC
Thank you for the quick fix!