reanahub / reana-workflow-engine-snakemake

REANA Workflow Engine Snakemake
MIT License
0 stars 21 forks source link

installation: fix Snakemake XRootD support #51

Closed tiborsimko closed 1 year ago

tiborsimko commented 1 year ago

Fixes Snakemake's XRootD remote storage input provider feature by pining XRootD to an older version.

tiborsimko commented 1 year ago

Before:

...
2022-12-06 11:11:53,161 | snakemake.logging | MainThread | ERROR | WorkflowError in line 1 of /var/reana/users/00000000-0000-0000-0000-000000000000/workflows/199131e4-9ea4-438a-bf57-8b0a83d59325/Snakefile:
The Python 3 package 'XRootD' must be installed to use XRootD remote() file functionality. /usr/local/lib/python3.8/site-packages/pyxrootd/client.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN5XrdCl3Env18GetDefaultIntValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERi
  File "/var/reana/users/00000000-0000-0000-0000-000000000000/workflows/199131e4-9ea4-438a-bf57-8b0a83d59325/Snakefile", line 1, in <module>

After:

...
2022-12-06 13:34:28,304 | snakemake.logging | Thread-1 | INFO | [Tue Dec  6 13:34:28 2022]
2022-12-06 13:34:28,304 | snakemake.logging | Thread-1 | INFO | Finished job 139.
2022-12-06 13:34:28,304 | snakemake.logging | Thread-1 | INFO | 144 of 176 steps (82%) done
codecov-commenter commented 1 year ago

Codecov Report

Merging #51 (077cd5c) into master (3de4953) will not change coverage. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/reanahub/reana-workflow-engine-snakemake/pull/51/graphs/tree.svg?width=650&height=150&src=pr&token=T60GN05T4Q&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub)](https://codecov.io/gh/reanahub/reana-workflow-engine-snakemake/pull/51?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub) ```diff @@ Coverage Diff @@ ## master #51 +/- ## ====================================== Coverage 3.88% 3.88% ====================================== Files 6 6 Lines 180 180 ====================================== Hits 7 7 Misses 173 173 ``` | [Impacted Files](https://codecov.io/gh/reanahub/reana-workflow-engine-snakemake/pull/51?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub) | Coverage Δ | | |---|---|---| | [reana\_workflow\_engine\_snakemake/version.py](https://codecov.io/gh/reanahub/reana-workflow-engine-snakemake/pull/51/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub#diff-cmVhbmFfd29ya2Zsb3dfZW5naW5lX3NuYWtlbWFrZS92ZXJzaW9uLnB5) | `100.00% <100.00%> (ø)` | |