Skip to content

Fixed mock_snakemake for snakemake v.8.14: All snakemake settings moved#1112

Merged
fneum merged 1 commit intoPyPSA:masterfrom
bobbyxng:master
Jun 21, 2024
Merged

Fixed mock_snakemake for snakemake v.8.14: All snakemake settings moved#1112
fneum merged 1 commit intoPyPSA:masterfrom
bobbyxng:master

Conversation

@bobbyxng
Copy link
Copy Markdown
Collaborator

Closes #1108

Changes proposed in this Pull Request

  • Settings related to snakemake are all moved to snakemake.settings.types in snakemake version 8.14.0
  • In _helpers.py:
from snakemake.settings.types import (
        ConfigSettings,
        DAGSettings,
        ResourceSettings,
        StorageSettings,
        WorkflowSettings,
    )

Checklist

  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.

@bobbyxng bobbyxng self-assigned this Jun 20, 2024
@fneum fneum merged commit 299a8ed into PyPSA:master Jun 21, 2024
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.

mock_snakemake incompatible with snakemake=8.14.0

2 participants