forked from reanahub/reana-workflow-engine-snakemake
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(executor): upgrade to Snakemake v7.32.4 (reanahub#81)
Amend the overridden executor to reflect the changes in the new version of Snakemake, in particular with regard to the change of the `_wait_for_jobs` method into a coroutine. Closes reanahub#31 Closes reanahub/reana-client#655
- Loading branch information
1 parent
31de94f
commit fcecde6
Showing
3 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# This file is part of REANA. | ||
# Copyright (C) 2021, 2022, 2023 CERN. | ||
# Copyright (C) 2021, 2022, 2023, 2024 CERN. | ||
# | ||
# REANA is free software; you can redistribute it and/or modify it | ||
# under the terms of the MIT License; see LICENSE file for more details. | ||
|
@@ -82,8 +82,6 @@ RUN chmod +x /usr/local/bin/magick | |
|
||
# Are we debugging? | ||
ARG DEBUG=0 | ||
# hadolint ignore=DL3013 | ||
RUN if [ "${DEBUG}" -gt 0 ]; then pip install --no-cache-dir -e ".[debug,xrootd]"; else pip install --no-cache-dir ".[xrootd]"; fi; | ||
|
||
# Are we building with locally-checked-out shared modules? | ||
# hadolint ignore=DL3013 | ||
|
@@ -95,13 +93,21 @@ RUN if test -e modules/reana-commons; then \ | |
fi \ | ||
fi | ||
|
||
# hadolint ignore=DL3013 | ||
RUN if [ "${DEBUG}" -gt 0 ]; then pip install --no-cache-dir -e ".[debug,xrootd]"; else pip install --no-cache-dir ".[xrootd]"; fi; | ||
|
||
# Check for any broken Python dependencies | ||
RUN pip check | ||
|
||
# Set useful environment variables | ||
ENV TERM=xterm \ | ||
PYTHONPATH=/workdir | ||
|
||
# Create and switch to REANA user to be able to create snakemake-specific | ||
# directories in the home folder. | ||
RUN useradd reana --uid 1000 --create-home | ||
USER reana | ||
|
||
# Set image labels | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.created="2023-12-12" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters