FS#75323 - [tensorboard] fails to run due to outdated python-protobuf dependency

Attached to Project: Community Packages
Opened by Nathan Henrie (n8henrie) - Thursday, 14 July 2022, 22:30 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 17 July 2022, 23:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Konstantin Gizdov (kgizdov)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: tensorboard depends on an outdated version of python-protobuf but seems to run if the dependency restriction is loosened.

Currently available version of protobuf is 21.2-1, which has been installed automatically as a dependency of tensorboard.

```
$ pacman -Qi python-protobuf | grep Version
Version : 21.2-1
$ tensorboard
...
pkg_resources.DistributionNotFound: The 'protobuf<3.20,>=3.9.2' distribution was not found and is required by tensorboard
```

Editing /usr/lib/python3.10/site-packages/tensorboard-2.9.1-py3.10.egg-info/requires.txt to remove the upper bound on protobuf version allows tensorboard to run.

Additional info:
* package version(s): tensorboard 2.9.1-1

Steps to reproduce: As per above
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 17 July 2022, 23:23 GMT
Reason for closing:  Fixed

Loading...