Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73687 - [python-google-auth] Dependent software will not run because of too new cachetools

Attached to Project: Community Packages
Opened by Philip Goto (flipflop97) - Tuesday, 08 February 2022, 18:05 GMT
Last edited by Felix Yan (felixonmars) - Monday, 21 February 2022, 19:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

(Not sure if this is a tensorboard, google-auth or cachetools bug. Please move if this is the wrong place.)

When running tensorboard 2.8.0-1 with python-google-auth 1.34.0-3 and python-cachetools 5.0.0-1, the program gives an error that the right cachetools was not found. See the full log below:

$ tensorboard
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 573, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 891, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.10/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.10/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 "/usr/bin/tensorboard", line 33, in <module>
sys.exit(load_entry_point('tensorboard==2.8.0', 'console_scripts', 'tensorboard')())
File "/usr/bin/tensorboard", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 162, 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/tensorboard/main.py", line 27, in <module>
from tensorboard import default
File "/usr/lib/python3.10/site-packages/tensorboard/default.py", line 30, in <module>
import pkg_resources
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3266, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3240, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3278, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 575, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 588, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.10/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
This task depends upon

Closed by  Felix Yan (felixonmars)
Monday, 21 February 2022, 19:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-google-auth-1.34.0-4
Comment by Chih-Hsuan Yen (yan12125) - Wednesday, 09 February 2022, 06:32 GMT Comment by Pablo H.Cerdan (phcerdan) - Monday, 21 February 2022, 19:15 GMT
Same problem with tensorboard complaining about wrong cachetools. It seems solved if updating google-auth, as reported here:
https://github.com/tensorflow/tensorboard/issues/5572

Loading...