galaxyproject / usegalaxy-playbook Public
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
GALAXY_VIRTUAL_ENV python 2 destination for legacy tools #288
Comments
|
+100 very very good idea. I remember you bringing this up (or @natefoo?) a few weeks ago, or something like it, and though very good idea then too. Good to have it on a ticket! Agree so many involve older or un-upgradable tools. It creates a LOT of "noise". So selfishly voting YES. All the errors must be very frustrating for our users too of course. Let's get things working now and sort through that list at a rational pace while granting our users a better intermediate experience while it is done :) |
|
Example problematic tool with dependency issue (are more):
ping @natefoo -- if this is a distinct problem, we should clarify that and move to a different ticket. Hard to tell what is Py 2-3 related and what is just a general dependencies issue related to other updates. Many many user reports involving Text Manipulation tools -- are heavily used in tutorials -- bugs, Ghelp, etc. |
|
That's different, I promised Nate a script but as usual stuff came up. But at least the script will be done today. |
|
Cool -- thanks for clarifying. Making ticket for it, will link back. Linking a related that seems to be true. Yes, the entire tool suite is deprecated but still have users that prefer it. Needs Py2 env. #281 |
|
Something like https://gist.github.com/mvdbeek/8ca744f5ee8f61bcb74faa8e35a147ff should work. Feasible for usegalaxy.org, @natefoo ? |
|
I tried it with StructureFold Iterative Mapping and it worked! |
|
Can you think of a way to generate a list of these tools? |
|
Hmm, that is a bit more difficult. I guess those tools in repos that still contain tool_dependencies.xml files would be a good guess. That catches more tools than necessary, but if this method works I don't think it would do much harm. |
|
https://gist.github.com/mvdbeek/590213f65520c498321e1850ed8d44e6 is a script that checks the toolbox for tools that use packages, https://gist.github.com/mvdbeek/24c9147d3a619f868374cfd379383a96 is the result of this script |
It hit me this morning that we could map tools that are currently failing because they're not python 2 compatible to a destination that sets
GALAXY_VIRTUAL_ENVto a python 2 virtualenv with galaxy's internals. Of course we should fix whatever tool we can, but some tools aren't updatable because the dependencies are not in Conda, not even downloadable or have weird licenses.If that works OK and saves us some trouble we could extend that on the Galaxy side where we could maintain a list of tool ids and versions, so that old tools continue working (by being mapped to a python 2 destination) and new tools need to be python 3 ready.
The text was updated successfully, but these errors were encountered: