When trying to run a program which depends on googleauth, this fails due to requiring cachtools<5.0, which a world update has now removed from my system due to not being required in the ebuild. Reproducible: Always Steps to Reproduce: 1.Install google-auth. 2. Run something that depends on it, in my case, qrl wallet_ls Actual Results: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 573, in _build_master ws.require(__requires__) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 891, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 782, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (cachetools 5.0.0 (/usr/lib/python3.9/site-packages), Requirement.parse('cachetools<5.0,>=2.0.0'), {'google-auth'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/happysmash27/.local/bin/qrl", line 33, in <module> sys.exit(load_entry_point('qrl==2.1.2+0.g58039970.dirty', 'console_scripts', 'qrl')()) File "/home/happysmash27/.local/bin/qrl", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/home/happysmash27/.local/lib/python3.9/site-packages/qrl-2.1.2+0.g58039970.dirty-py3.9.egg/qrl/cli.py", line 11, in <module> from google.protobuf.json_format import MessageToJson File "/home/happysmash27/.local/lib/python3.9/site-packages/protobuf-3.15.8-py3.9.egg/google/__init__.py", line 1, in <module> __import__('pkg_resources').declare_namespace(__name__) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3267, in <module> def _initialize_master_working_set(): File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3241, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3279, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 575, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 588, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 777, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'cachetools<5.0,>=2.0.0' distribution was not found and is required by google-auth Expected Results: The program works as expected This can be fixed by masking any cachetools above or equal to 5.0. However, another dependency of this program, google-api-python-client, requires uritemplate<4, which no longer exists. I will make another bug for this issue after this one.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20d19f16f0a1b911dedaed17592e596aa2aea3f6 commit 20d19f16f0a1b911dedaed17592e596aa2aea3f6 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-01-13 01:46:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-01-13 01:46:17 +0000 dev-python/google-auth: add upper-bound on cachetools Closes: https://bugs.gentoo.org/830970 Signed-off-by: Sam James <sam@gentoo.org> .../{google-auth-2.3.3.ebuild => google-auth-2.3.3-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)