Conversation
Try to push #95 forward.
Starforge is unable to determine root directory for some reason.
|
Despite the fact that starforge is not using the latest starforge code, it is unable to determine root directory for whatever reason :( |
|
@bgruening any hints on what the issues folks were encountering with uWSGI? There are two issues I can think of:
I'll get the Starforge build images updated ASAP, #109 needs to be addressed. |
|
@jxtx: @nsoranzo brought the name change up in galaxyproject/galaxy#3179 and I can no longer remember exactly why this was done. My recollection is because you're building it as an extension class rather than the standard manner, so if someone got uWSGI from PyPI instead of us, it wouldn't work with our out-of-the-box config. Can you comment? |
|
Because there are already uwsgi wheels on pypi, and this approach is On Fri, Nov 18, 2016 at 11:33 AM Nate Coraor notifications@github.com
|
|
Yeah, ok, that's what I figured. If we used the same package name as upstream, would it be possible to support both styles in our out-of-the-box config? i.e. if the extension class build is available, use it, but if not, use command-line Or was the problem not with starting the server, but starting the embedded server for functional tests? |
|
The latter is where we stalled.
|
|
Might want to support the former then because in the majority of cases, people installing won't care about running tests but may want to |
|
What I mean is that the former already worked. The latter was the problem.
|
|
Right, two things:
|
|
The config should work with both, but how you run it differs. I believe I -- jt On Fri, Nov 18, 2016 at 12:12 PM, Nate Coraor notifications@github.com
|
|
@natefoo I'm happy to help work on this - but I don't understand much of it.
|
I called it pyuwsgi because that is what upstream calls it in their build configuration, see: https://github.com/unbit/uwsgi/blob/master/buildconf/pyuwsgi.ini I don't think we should be publishing this to pypi. Installing Galaxy from pypi or packages should use upstream uwsgi packages.
I agree. I think killing the embedded server was the plan to move this forward. However the embedded server was/is still the default. |
|
I can get in touch with the maintainers and discuss wheel options with them, if they're receptive to shipping wheels then we wouldn't need to maintain anything ourselves (once this version of uWSGI is released) and could just use whichever upstream name they used. |
can still be built, this functionality is now part of the "lionshead" library and some wheel monkeypatches in starforge.interface.wheel. Overhaul wheel Docker image building to push more to the Dockerfile to better use caching during the build process. Also, install Starforge in docker from the local source rather than PyPI or Github. Fixes #109, should allow uWSGI to build (related to #114).
can still be built, this functionality is now part of the "lionshead" library and some wheel monkeypatches in starforge.interface.wheel. Overhaul wheel Docker image building to push more to the Dockerfile to better use caching during the build process. Also, install Starforge in docker from the local source rather than PyPI or Github. Fixes #109, should allow uWSGI to build (related to #114).
Try to push #95 forward.
Talking to many people at the ELIXIR conference many do not use uwsgi and seems to have problems with performance. We should really do a better shop in setting our defaults and leverage the knowledge from @natefoo and Co.
ping @jxtx