8000 fix(snakemake): update Snakemake to 9.1.0 and snakemake-storage-plug… by daxrpm · Pull Request #495 · reanahub/reana-commons · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(snakemake): update Snakemake to 9.1.0 and snakemake-storage-plug… #495

8000
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

daxrpm
Copy link
@daxrpm daxrpm commented Jun 2, 2025

Summary

This PR updates the Snakemake and snakemake-storage-plugin-xrootd dependencies in reana-commons to resolve installation issues caused by the unmaintained datrie library on modern Linux systems (GCC >=14).
Closes #494.


Problem

  • Installing reana-client or any component depending on reana-commons[snakemake] fails on modern Linux distributions due to compilation errors in the datrie dependency.
  • datrie is unmaintained (pytries/datrie#101), and although a fix exists (pytries/datrie#99), it has not been merged.
  • Snakemake removed the datrie dependency in snakemake/snakemake#3176, available since v8.29.1.

Solution

  • Update Snakemake to 9.1.0 (used in snakemake-storage-plugin-xrootd) for Python >=3.11 to remove the datrie dependency.
  • Update snakemake-storage-plugin-xrootd to 0.4.1 for compatibility with Snakemake 9.1.0.
  • No other functional changes.

Testing

  • All reana-commons tests pass locally:
186 passed, 4 xfailed (xfailed tests are expected and match current CI results and with original upstream)
  • Installed this branch in reana-client and ran all tests:
168 passed, 1 xfailed, 2917 warnings (results are consistent with the original upstream)
  • Ran the roofit example from reanahub: finished successfully.
  • Ran reanahub Snakemake example of reana-demo-root6-roofit: finished successfully.

References


Impact

This PR fix the installation of any component depending on reana-commons[snakemake] on modern Linux distributions and affects reproducibility and maintainability for new users and contributors.

This will fix the reana-client installing error

Let me know if I'm wrong, clarify any detail or if more tests are needed.


Closes #494

…in-xrootd to 0.4.1 for Python >=3.11

- Update Snakemake to 9.1.0 for Python >=3.11 to remove the unmaintained datrie dependency, fixing installation issues with modern GCC.
- Update snakemake-storage-plugin-xrootd to 0.4.1 for compatibility with Snakemake 9.x.
- Keep Snakemake 7.32.4 and pulp for Python <3.11 for backward compatibility.
- All tests pass locally (`186 passed, 4 xfailed`), matching CI results.

References:
- pytries/datrie#101
- pytries/datrie#99
- snakemake/snakemake#3176
- snakemake/snakemake#3105
- snakemake/snakemake#2970
- https://github.com/snakemake/snakemake/releases/tag/v8.29.1

Closes reanahub#494
@daxrpm daxrpm changed the title fix(snakemake): update Snakemake to 9.1.0+ and snakemake-storage-plug… fix(snakemake): update Snakemake to 9.1.0 and snakemake-storage-plug… Jun 2, 2025
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

Successfully merging this pull request may close these issues.

Installation fails due to unmaintained datrie dependency in Snakemake on modern Linux
1 participant
0