Bug 1583688
Summary: | python3-py3dns FTBFS on python 3.7 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> | ||||||
Component: | python3-py3dns | Assignee: | Fedora Infrastructure SIG <infra-sig> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | rawhide | CC: | infra-sig, kevin, rbean | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2018-06-09 20:32:46 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 | ||||||||
Attachments: |
|
Created attachment 1445384 [details]
root.log from copr
async and await are keywords in python 3.7 and cannot be used as atribute names. Infra people, please respond. ok, so the fix here is just to change async to some other name? Yes. Preferably in upstream. FYI: 3.7.0c1 is expected in 3 days (2018-06-11, [1]). I'd like to start building stuff in a side tag soon after that. This blocks the "packager stack", hence a bit critical. [1] https://www.python.org/dev/peps/pep-0537/ I've added a quick and dirty patch to change the name and pushed and built it in rawhide. I filed https://bugs.launchpad.net/py3dns/+bug/1776027 upstream with the issue and a patch (I have no idea how responsive upstream is). Let me know if that doesn't solve the issue... https://copr.fedorainfracloud.org/coprs/g/python/python3.7/build/765277/ succeeded Thank you. |
Created attachment 1445383 [details] build.log from copr Description of problem: + /usr/bin/python3 setup.py build Traceback (most recent call last): File "setup.py", line 7, in <module> import DNS File "/builddir/build/BUILD/py3dns-3.1.1/DNS/__init__.py", line 27, in <module> from .Base import DnsRequest File "/builddir/build/BUILD/py3dns-3.1.1/DNS/Base.py", line 100 self.async=None ^ SyntaxError: invalid syntax Version-Release number of selected component (if applicable): 3.1.1-5.fc29 Logs attached.