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

Not finding built wheels #313

Open
jonathan-taylor opened this issue Feb 25, 2020 · 3 comments
Open

Not finding built wheels #313

jonathan-taylor opened this issue Feb 25, 2020 · 3 comments

Comments

@jonathan-taylor
Copy link

It seems the "install_run $PLAT" step does not always find successfully built wheels e.g.

https://travis-ci.org/regreg/regreg-wheels/jobs/655009690?utm_medium=notification&utm_source=github_status

With WHEEL_SDIR='wheelhouse' (so it should be in $(TRAVIS_BUILD_DIR)/wheelhouse I think) the log says it is placed in /io/wheelhouse and then is not found by pip at install time.

@mattip
Copy link
Collaborator

mattip commented Feb 25, 2020

I have seen this happen if there is already a file in /io/wheelhouse. Rather than overwrite it, somehow the manylinux fixup step deletes it instead.

@jonathan-taylor
Copy link
Author

For some parameters / versions this is not a problem:

https://travis-ci.org/regreg/regreg-wheels/jobs/655014155?utm_medium=notification&utm_source=github_status

In this version it finds a wheel in ./wheelhouse -- I had set WHEEL_SDIR='wheelhouse' so it should find wheels in $(TRAVIS_BUILD_DIR)/wheelhouse (I think) but sometimes (as in example with failure) the wheels have been installed in /io/wheelhouse instead though I tried to explicitly set WHEEL_SDIR

@mattip
Copy link
Collaborator

mattip commented Mar 17, 2020

Can you set set -e in your config.sh so it is easier to see what is going on? Extra points for setting the prompt to display the actual function/line being executed:

set -e
export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'

@radarhere radarhere changed the title not finding built wheels Not finding built wheels Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants