Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876751 - dev-python/keyring miss dev-python/jaraco-classes dependency
Summary: dev-python/keyring miss dev-python/jaraco-classes dependency
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:
: 877621 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-10-11 10:00 UTC by Mathieu Rochette
Modified: 2024-01-21 10:24 UTC (History)
6 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 Mathieu Rochette 2022-10-11 10:00:49 UTC
Since version 23.9.0 the jaraco keyring library depends on jaraco classes

see changelog: https://github.com/jaraco/keyring/blob/f9142e2ab8f237708a88c52d0fc4cf4f1cba50b2/CHANGES.rst

Reproducible: Always

Actual Results:  
crashes when using it:


...
  File "/usr/lib/python3.10/site-packages/certifi/core.py", line 3, in <module>
    from certifi._patch import _verify_dist_info
  File "/usr/lib/python3.10/site-packages/certifi/_patch.py", line 4, in <module>
    import pkg_resources
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3260, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3272, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 581, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 909, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 795, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'jaraco.classes' distribution was not found and is required by keyring


the dev-python/jaraco-classes should be added to the runtime dependencies of dev-python/keyring
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-10-13 05:07:19 UTC
Thanks for the report!
Comment 2 Larry the Git Cow gentoo-dev 2022-10-13 05:09:03 UTC
The bug has been closed via the following commit(s):

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

commit 962a5aea085e58af7593f72209a54de0bc1dbe15
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-10-13 05:08:01 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-10-13 05:08:01 +0000

    dev-python/keyring: Add missing jaraco-classes RDEP
    
    Closes: https://bugs.gentoo.org/876751
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/keyring/{keyring-23.9.3.ebuild => keyring-23.9.3-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-10-19 10:05:48 UTC
*** Bug 877621 has been marked as a duplicate of this bug. ***