Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883953 - app-admin/ansible-core: blocks upgrade of dev-python/resolvelib
Summary: app-admin/ansible-core: blocks upgrade of dev-python/resolvelib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 722500
  Show dependency tree
 
Reported: 2022-12-02 03:05 UTC by Michał Górny
Modified: 2023-07-24 12:49 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-12-02 03:05:41 UTC
dev-python/resolvelib:0                                            
                                                                   
  (dev-python/resolvelib-0.9.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="64" PYTHON_TARGETS="pypy3 python3_10 python3_11 python3_8 python3_9" conflicts with                         
    <dev-python/resolvelib-0.9.0[python_targets_python3_9(-),python_targets_python3_10(-),python_targets_python3_11(-)] required by (app-admin/ansible-core-2.14.0-r1-1:0/0::gentoo, installed) USE="-test" ABI_X86="64" PYTHON_TARGETS="python3_10 python3_11 python3_9"
    ^                      ^^^^^
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-04-08 12:30:11 UTC
Ping.
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2023-04-08 14:56:28 UTC
2.14.4 is the latest release and has this in it's requirements

https://github.com/ansible/ansible/blob/v2.14.4/requirements.txt#L15
resolvelib >= 0.5.3, < 0.9.0  # dependency resolver used by ansible-galaxy

It looks like they are raising the version in 2.15.0 when released at least
https://github.com/ansible/ansible/blob/v2.15.0b1/requirements.txt#L13-L18

Here's the full text of their warning.

# NOTE: resolvelib 0.x version bumps should be considered major/breaking
# NOTE: and we should update the upper cap with care, at least until 1.0
# NOTE: Ref: https://github.com/sarugaku/resolvelib/issues/69
# NOTE: When updating the upper bound, also update the latest version used
# NOTE: in the ansible-galaxy-collection test suite.
resolvelib >= 0.5.3, < 1.1.0  # dependency resolver used by ansible-galaxy
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-04-08 15:55:39 UTC
Did they actually change anything besides raising the upper bound?  Are the changes backportable?
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2023-04-09 02:12:17 UTC
I don't think so, but I can't ask in https://github.com/ansible/ansible/pull/80196 because they don't let people ask questions
Comment 5 Larry the Git Cow gentoo-dev 2023-04-09 02:55:08 UTC
The bug has been referenced in the following commit(s):

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

commit 4cb77a592df147926f09e2a63813ffcf378c4b05
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2023-04-09 02:53:54 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2023-04-09 02:55:04 +0000

    app-admin/ansible-core: backport patch for resolvelib
    
    Bug: https://bugs.gentoo.org/883953
    
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 .../ansible-core/ansible-core-2.14.4-r1.ebuild     |  58 ++++++++++
 app-admin/ansible-core/ansible-core-9999.ebuild    |   2 +-
 app-admin/ansible-core/files/resolvelib.patch      | 124 +++++++++++++++++++++
 3 files changed, 183 insertions(+), 1 deletion(-)
Comment 6 Larry the Git Cow gentoo-dev 2023-07-24 12:49:56 UTC
The bug has been closed via the following commit(s):

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

commit 64b6e30f03d2e2bc10741985548d0fd57a6d17dc
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-07-24 12:47:48 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-07-24 12:49:14 +0000

    app-admin/ansible-core: Remove old
    
    Closes: https://bugs.gentoo.org/883953
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-admin/ansible-core/Manifest                   |  1 -
 app-admin/ansible-core/ansible-core-2.13.9.ebuild | 54 -----------------------
 2 files changed, 55 deletions(-)