Created attachment 1185824 [details]
Patch to fix shebangs
Thank you for your effort of porting numexpr to Python 3 in Fedora! It's much appreciated.
However, there's one more issue: the cpuinfo.py script/module always has a '/usr/bin/python' shebang, even in the Python 3 subpackage. This causes an unfortunate dependency on Python 2.
Here's a patch to solve the issue.
Alternatively, since the module is not on $PATH, it might be easier to drop the shebang and not make it executable – users can still run it with:
python3 -m numexpr.cpuinfo
which is easier than:
The shebang and executable bit are not needed for the first case.
It's OK to do this in Rawhide only, however, it would be greatly
appreciated if you could push it to Fedora 25 as well.
There is a section on shebangs in the Python RPM Porting Guide 
which covers this issue.
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!
python-numexpr-2.6.1-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4d8cd0dec9
python-numexpr-2.6.1-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4d8cd0dec9
python-numexpr-2.6.1-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.