Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 873517 - sys-apps/pkgcore-0.12.14 needs a dep on =dev-python/snakeoil-0.9.12
Summary: sys-apps/pkgcore-0.12.14 needs a dep on =dev-python/snakeoil-0.9.12
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Arthur Zamarin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-29 20:02 UTC by Nils Freydank
Modified: 2022-09-30 15:41 UTC (History)
1 user (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 Nils Freydank 2022-09-29 20:02:02 UTC
Hi,

with pp-portage/kuroneko-0.1.3, sys-apps/pkgcore-0.12.14 and dev-python/snakeoil-0.9.12 the 'kuroneko' command runs properly, but if snakeoil is updated to 0.10.0 I get the following traceback:


Traceback (most recent call last):
  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 800, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (snakeoil 0.10.0 (/usr/lib/python3.10/site-packages), Requirement.parse('snakeoil~=0.9.12'), {'pkgcore'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.10/kuroneko", line 33, in <module>
    sys.exit(load_entry_point('kuroneko==0.1.3', 'console_scripts', 'kuroneko')())
  File "/usr/lib/python-exec/python3.10/kuroneko", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/kuroneko/__main__.py", line 24, in <module>
    from kuroneko.cache import cached_get
  File "/usr/lib/python3.10/site-packages/kuroneko/cache.py", line 14, in <module>
    import requests
  File "/usr/lib/python3.10/site-packages/requests/__init__.py", line 141, in <module>
    from . import packages, utils
  File "/usr/lib/python3.10/site-packages/requests/utils.py", line 24, in <module>
    from . import certs
  File "/usr/lib/python3.10/site-packages/requests/certs.py", line 14, in <module>
    from certifi import where
  File "/usr/lib/python3.10/site-packages/certifi/__init__.py", line 1, in <module>
    from .core import contents, where
  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 583, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 596, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 795, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'snakeoil~=0.9.12' distribution was not found and is required by pkgcore

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-09-30 15:41:42 UTC
The bug has been closed via the following commit(s):

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

commit 5fc3e8f6aaeec996deac4c54b14829f3bb6dad23
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2022-09-30 15:37:23 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2022-09-30 15:41:34 +0000

    sys-apps/pkgcore: drop 0.12.14
    
    Closes: https://bugs.gentoo.org/873517
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 sys-apps/pkgcore/Manifest               |  1 -
 sys-apps/pkgcore/pkgcore-0.12.14.ebuild | 56 ---------------------------------
 2 files changed, 57 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 7a14cf04840e0b264d36997168e1a7120ac31379
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2022-09-30 15:38:39 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2022-09-30 15:41:34 +0000

    sys-apps/pkgcore: ping snakeoil version for 0.12.13
    
    Bug: https://bugs.gentoo.org/873517
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 .../pkgcore/{pkgcore-0.12.13-r1.ebuild => pkgcore-0.12.13-r2.ebuild}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)