Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946316 - app-admin/ansible-core deps resolvelib<1.1.0
Summary: app-admin/ansible-core deps resolvelib<1.1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-12-12 12:27 UTC by Loty Gero
Modified: 2024-12-16 21:12 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 Loty Gero 2024-12-12 12:27:39 UTC
app-admin/ansible-core-2.18.1
ERROR! ansible-galaxy requires resolvelib<1.1.0,>=0.5.3

in ebuild:

>=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
<dev-python/resolvelib-2.0.0[${PYTHON_USEDEP}]


ansible-galaxy collection install -r requirements.yml --force
Starting galaxy collection install process
Process install dependency map
ERROR! ansible-galaxy requires resolvelib<1.1.0,>=0.5.3



Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-12 12:30:36 UTC
Interestingly, 2.18.0 vs 2.18.1 does:
-       <dev-python/resolvelib-1.1.0[${PYTHON_USEDEP}]
+       <dev-python/resolvelib-2.0.0[${PYTHON_USEDEP}]

CC'd author
Comment 2 idealseal 2024-12-16 15:53:44 UTC
Yes, the requirement should be lowered. When adjusting the new dependency to include <2.0.0 I looked into upstreams requirements file which changed the reaolvelib upper bound in a commit way before 2.18. However, I didn't realise that it wasn't included in the 2.18.1 tarball.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-16 15:55:25 UTC
(In reply to idealseal from comment #2)
> Yes, the requirement should be lowered. When adjusting the new dependency to
> include <2.0.0 I looked into upstreams requirements file which changed the
> reaolvelib upper bound in a commit way before 2.18. However, I didn't
> realise that it wasn't included in the 2.18.1 tarball.

I recommend using `pkgdiff-mg` (possibly with `pkgdiff-mg -b`) always on bumps too.
Comment 4 Larry the Git Cow gentoo-dev 2024-12-16 21:12:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c794b742ee70bb74745229ac62a3e67ea84bf5f1

commit c794b742ee70bb74745229ac62a3e67ea84bf5f1
Author:     idealseal <realidealseal@protonmail.com>
AuthorDate: 2024-12-16 17:34:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-16 21:12:16 +0000

    app-admin/ansible-core: fix resolvelib dependency requirement
    
    With the 2.18.1 version bump I increased the upper version bound for
    dev-python/resolvelib from <1.1.0 to <2.0.0, which was present in the
    upstream devel branch but not in the 2.18.1 tag.
    
    Closes: https://bugs.gentoo.org/946316
    Signed-off-by: idealseal <realidealseal@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/39733
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{ansible-core-2.18.1.ebuild => ansible-core-2.18.1-r1.ebuild}       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)