The python3-ara-tests (0.14.6-1.fc29) RPM requires both Python 2 and Python 3:
$ dnf --disablerepo=* --enablerepo=rawhide repoquery --requires python3-ara-tests | grep python
python(abi) = 3.6
This happened due to recently introduced shebangs mangling , and you might see the warnings in the build log:
> *** WARNING: mangling shebang in /usr/lib/python3.6/site-packages/ara/tests/integration/helpers/junit_check.py from #!/usr/bin/env python to #!/usr/bin/python2. This will become an ERROR, fix it manually!
The executable contains `#!/usr/bin/env python` shebang, which is forbidden by the guidelines and is automatically mangled to `#!/usr/bin/python2` during build. Please fix the shebang to be `#!/usr/bin/python3` explicitly  or remove the executable bit from the file if not needed.
If anything is unclear, or if you need any kind of assistance, you can
ask on IRC (#fedora-python on Freenode), or reply here. We'll be happy
to help investigating or fixing this issue!
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.
Thanks for pinging me Miro.
I intend on fixing this with the upcoming release of ARA 1.0 in the next few weeks.
Is that a reasonable timeline or is this blocking something at this time ?
in the next few weeks is fine. thanks.
Shall we package the 126.96.36.199a4 version in rawhide?
I see ara 1.0.0 and 1.0.1 is out \o/. Can you plese update the package?
This is still on the to-do list but I will bump the priority. Thanks.
Ara now FTBFS in Fedora rawhide because of ambiguous shebang:
BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/lib/python3.7/site-packages/ara/tests/integration/helpers/junit_check.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
BUILDSTDERR: *** WARNING: ./usr/lib/python3.7/site-packages/ara/db/env.py is executable but has empty or no shebang, removing executable bit
BUILDSTDERR: *** WARNING: ./usr/lib/python3.7/site-packages/ara/db/script.py.mako is executable but has empty or no shebang, removing executable bit
I've started working on updating the ara packaging to the latest version.
There are two dependencies that needs to be taken care of first:
- dynaconf isn't packaged (https://github.com/rochacbruno/dynaconf)
- python3-django-rest-framework isn't recent enough and needs to be updated (>= 3.9.1)
@Miro, Lumir, I will track the progress of the packaging update in the following bug: https://bugzilla.redhat.com/show_bug.cgi?id=1674656
Going to mark this as won't fix (it'll be fixed via 1674656)