Re: Heads up: Python 3.7 rebuild in progress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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.

-- 
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Suppose I were a member of Congress, and suppose I were an idiot. But,
I repeat myself.
    -- Mark Twain

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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/SITL72V6QR76N5BIZ35LW7PHQFWOWIKD/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux