Update galaxy.tool_util.cwl for latest changes in CWL branch.#9175
Update galaxy.tool_util.cwl for latest changes in CWL branch.#9175jmchilton merged 9 commits intogalaxyproject:devfrom
Conversation
|
Breaks something else in Planemo: Tightened up how tools are loaded to try to ensure tools were loaded in consistent ways during the last CWL push and this broke non-internal Galaxy applications it seems. |
4b6db2c to
27c9982
Compare
|
The failure of unit test |
|
common-workflow-language/cwltool@762532d Looks like we could pin it to something in the 0.15 branch line for now? How does that sound? |
@jmchilton I think it would be better to workaround the duplicate-key weirdness of uWSGI's YAML files in |
|
@nsoranzo sounds good to me if you have an idea how to do that. |
which makes some tools fail by printing to stderr: ``` galaxy.tool_util.output_checker DEBUG 2020-01-07 02:59:07,720 job failed, detected state generic_error, standard error is - [/galaxy_venv/local/lib/python2.7/site-packages/cwltool/__init__.py:17: CWLToolDeprecationWarning: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as the Python 2.7 version of cwltool won't be maintained after that date. """, category=CWLToolDeprecationWarning) ] ```
xref. galaxyproject#8558 For other YAML files, `ordered_load()` will raise an exception when it finds a mapping with duplicate keys.
|
All green! What do you guys think of how I've addressed the YAML issue? |
|
That looks very good to me, thanks @nsoranzo! |
|
Thanks @nsoranzo - looks great! |
|
Any appetite for backporting this to 20.01 for Planemo and such or should we just start cutting 20.5-dev packages? |
|
Yes, please, I'll open a PR |
|
Awesome - that will bring us closer to a stable release of galaxy-tool-util and such. But I'll publish dev packages when this is merged into 20.01. |
|
Thanks both! I still had a couple of unsubmitted review comments, I'll move them to #9210. |
I guess my own fault really though... |
Needed for galaxyproject/planemo#978 but we may want to pull out just the changes to schema.py and backport them to 20.01.