On 25.6.2018 16:49, Todd Zullinger wrote:
Miro Hrončok wrote:
We have 170 packages with blocked dependencies.
We also have 176 packages that fail to build from source (+ ~10 more that
are being handled).
I need your help, I cannot possibly fix 178 packages.
I've opened bugzillas for some, but let me ask you via e-mail before I go
file 176 of them.
Common problems:
* RuntimeError: generator raised StopIteration
https://www.python.org/dev/peps/pep-0479/
Solution: return instead (works with 2.7 as well)
* Syntax Error: async, await
Those are reserved keywords now
https://www.python.org/dev/peps/pep-0492/
Solution: Rename. Add a wrapper if it's part of an API.
I happened to look at the failure for gpodder and noticed it
was due to a SyntaxError exception. The code used async as
a parameter, which is now a keyword in python-3.7 (along
with await). I wonder how many other failures are due to
that change in reserved keywords? At least those are easy
to fix.
Quite a lot.
I filed a PR upstream and at src.fpo:
https://github.com/gpodder/gpodder/pull/487
https://src.fedoraproject.org/rpms/gpodder/pull-request/1
I'm not a gpodder maintainer (or user, I just poked it out
of curiosity), so I can't push and build it.
Thanks.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/G2OOKHQHQOQE6BM63NC4C2WVAWHU57UA/