Bug 1592988

Summary: javapackages-tools FTBFS on python 3.7
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: javapackages-toolsAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: high    
Version: rawhideCC: ctubbsii, java-sig-commits, mat.booth, mizdebsk, msimacek, msrb, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: javapackages-tools-5.2.0-2.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-21 14:00:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1565020    

Description Miro Hrončok 2018-06-19 19:19:45 UTC
javapackages-tools-5.2.0-2.fc29

https://koji.fedoraproject.org/koji/taskinfo?taskID=27733181

  File "/builddir/build/BUILD/javapackages-5.2.0/test/test_common.py", line 27
    def call_script(name, args, stdin=None, extra_env={}, async=False):
                                                              ^
SyntaxError: invalid syntax


https://docs.python.org/3.7/whatsnew/3.7.html#summary-release-highlights

> async and await are now reserved keywords.

The fix si to rename that argument.

This blocks other packages, please rename it soon.

Comment 1 Miro Hrončok 2018-06-19 19:20:16 UTC
Once fixed, build in the side tag with:

   fedpkg build --target=f29-python

Comment 2 Miro Hrončok 2018-06-20 09:38:53 UTC
https://github.com/fedora-java/javapackages/pull/59

Comment 3 Miro Hrončok 2018-06-21 14:00:26 UTC
Thank you.