Bug 1592988 - javapackages-tools FTBFS on python 3.7
Summary: javapackages-tools FTBFS on python 3.7
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: javapackages-tools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON37
TreeView+ depends on / blocked
 
Reported: 2018-06-19 19:19 UTC by Miro Hrončok
Modified: 2018-06-21 14:00 UTC (History)
7 users (show)

Fixed In Version: javapackages-tools-5.2.0-2.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-21 14:00:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.