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#68831 - [python-tensorflow] module 'gast' has no attribute 'Index'

Attached to Project: Community Packages
Opened by Harish Rajagopal (rharish) - Thursday, 03 December 2020, 10:20 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 12 December 2020, 23:05 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:
Autograph doesn't work in Python 3.9 with gast 0.4.0.

Additional info:
* package version(s):

* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Saturday, 12 December 2020, 23:05 GMT
Reason for closing:  Fixed
Comment by Harish Rajagopal (rharish) - Thursday, 03 December 2020, 10:23 GMT
Sorry, I accidentally submitted this when it was incomplete, and I can't see a way to edit it.

Here's the warning raised:
```
WARNING:tensorflow:AutoGraph could not transform <function preprocess at 0x7fbcfe2431f0> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: module 'gast' has no attribute 'Index'
```

Could you create a python-gast03 package, just like last time with python-gast02?

Additional info:
* package versions(s):
- python-tensorflow-opt-cuda: 2.3.1-7
- python: 3.9.0-1
- python-gast: 0.4.0-3
* link to upstream bug report, if any: https://github.com/tensorflow/tensorflow/issues/44146

Steps to reproduce:
Run the following code:
```
def temp(x):
return tf.shape(x)[0]
tf.autograph.to_graph(temp)
```

Loading...