-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.3.2] unable to build numexpr package #183
Comments
This is most likely caused by https://github.com/pydata/numexpr/blob/master/requirements.txt having an extra line and https://github.com/pydata/numexpr/blob/364bac13d84524e0e01db892301b2959d822dcff/setup.py#L25 adding an empty requirement to install_requires. The requirements are now: ['numpy>=1.7', ''] And pyp2rpm blows on the second one with:
|
Can we add an warning an catch empty entry's in the array? |
This project is on life support. If you send a Pull Request, I can review it, but I'm not available to do any fixes now. |
Hint: search for parse_requirements function and add a conditional in there. |
For testing I have remove the empty line, but it will not resolve it. |
After searching the source code, I found the log file. |
I agree. |
In case someone else finds this bug report: When I run pyp2rpm for numexpr, the log records:
I think the other failure conditions already have useful error output. If it would be helpful to show the debug logs in this failure condition, I've created PR #203 for consideration. |
Just tried this, and the original issue appears resolved. |
An call to pyp2rpm -o epel7 numexpr only results in:
Failed to extract data from setup.py script.
The text was updated successfully, but these errors were encountered: