FS#64254 - [python-tensorflow] tf_upgrade_v2 needs "google-pasta"

Attached to Project: Community Packages
Opened by Ivan Molodetskikh (YaLTeR) - Friday, 25 October 2019, 08:54 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 29 October 2019, 08:28 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
└─ tf_upgrade_v2 -h
2019-10-25 11:39:51.864109: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
Traceback (most recent call last):
File "/usr/bin/tf_upgrade_v2", line 6, in <module>
from tensorflow.tools.compatibility.tf_upgrade_v2_main import main
File "/usr/lib/python3.7/site-packages/tensorflow_core/tools/compatibility/tf_upgrade_v2_main.py", line 23, in <module>
from tensorflow.tools.compatibility import ast_edits
File "/usr/lib/python3.7/site-packages/tensorflow_core/tools/compatibility/ast_edits.py", line 30, in <module>
import pasta
ModuleNotFoundError: No module named 'pasta'

It needs https://pypi.org/project/google-pasta/ (absent from both regular packages and AUR).

Additional info:
* package version(s): python-tensorflow-cuda 2.0.0-2
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Tuesday, 29 October 2019, 08:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  I added python-pasta and next tensorflow release will have that as optdep too.

Loading...