Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883027 - dev-util/rbtools: blocks upgrade of dev-python/importlib_metadata
Summary: dev-util/rbtools: blocks upgrade of dev-python/importlib_metadata
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
: 887101 (view as bug list)
Depends on:
Blocks: 722500
  Show dependency tree
 
Reported: 2022-11-25 13:56 UTC by Michał Górny
Modified: 2022-12-19 06:51 UTC (History)
0 users

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-11-25 13:56:22 UTC
NonsolvableDepsInStable: version 4.0: nonsolvable depset(rdepend) keyword(~amd64) stable profile (default/linux/amd64/17.1) (31 total): solutions: [ =dev-python/importlib_metadata-4*[python_targets_python3_10(-),python_targets_python3_11(-),python_targets_python3_8(-),python_targets_python3_9(-)] ]
Comment 1 Hans de Graaff gentoo-dev Security 2022-11-26 09:20:07 UTC
Upstream has this in install_requires:

'importlib-metadata~=4.12; python_version < "3.10"'

Ah, and I see this in the related commit message:

Entry points use the modern `importlib.metadata.entry_points` API. This
has only solidified as of Python 3.10 (3.8/3.9 had it but it's not
compatible), so we pull in the official backport for those versions.

How should I go about this in terms of Gentoo? Drop python 3.8/9 support? Or add the importlib_metadata dependency in a different way?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-11-26 10:02:26 UTC
I'd start by testing against importlib-metadata-5* and seeing if it works.  If it does, then upstream dep should be relaxed.

Ofc removing old Python version support and therefore riding of the dep is the easy way out.
Comment 3 Larry the Git Cow gentoo-dev 2022-12-05 18:24:52 UTC
The bug has been closed via the following commit(s):

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

commit 3355dcdb426547d40c8633b9f1a17b74e9ea7def
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2022-12-05 18:15:13 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2022-12-05 18:24:48 +0000

    dev-util/rbtools: loosen importlib_metadata dependency
    
    Closes: https://bugs.gentoo.org/883027
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-util/rbtools/rbtools-4.0-r1.ebuild | 66 ++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
Comment 4 Hans de Graaff gentoo-dev Security 2022-12-19 06:50:44 UTC
*** Bug 887101 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2022-12-19 06:51:53 UTC
The bug has been referenced in the following commit(s):

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

commit bc2d2657d8938f93e57b69fc93fbc39ade85c750
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2022-12-19 06:51:16 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2022-12-19 06:51:50 +0000

    dev-util/rbtools: drop 4.0
    
    Bug: https://bugs.gentoo.org/883027
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-util/rbtools/rbtools-4.0.ebuild | 64 -------------------------------------
 1 file changed, 64 deletions(-)