Skip to content
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

Improve error message for "wheel not found" #33

Open
suutari-ai opened this issue Mar 28, 2019 · 1 comment
Open

Improve error message for "wheel not found" #33

suutari-ai opened this issue Mar 28, 2019 · 1 comment

Comments

@suutari-ai
Copy link
Collaborator

Currently, if wheel build fails to produce the wheel file (e.g. because of some build error), a very confusing IndexError is generated. It should rather generate a proper error message with better details of what went wrong.

The IndexError is caused by get_wheels returning an empty list here:

built_wheel = get_wheels(conf, pkg, ver)[0]

Thanks to @RauliL and @inesjelovac for reporting this to me.

@suutari-ai
Copy link
Collaborator Author

suutari-ai commented Mar 28, 2019

This might also be caused by misspelling the requirement name in the source requirements so it might be a good idea to add a hint to the error message such as "Is the requirement name spelled correctly?".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant