-
Notifications
You must be signed in to change notification settings - Fork 164
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
dev-python/snakemake and deps: version bumps #1296
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Michael Schubert <mschu.dev@gmail.com>
Signed-off-by: Michael Schubert <mschu.dev@gmail.com>
Signed-off-by: Michael Schubert <mschu.dev@gmail.com>
Signed-off-by: Michael Schubert <mschu.dev@gmail.com>
Signed-off-by: Michael Schubert <mschu.dev@gmail.com>
# ImportError: cannot import name 'snakemake' from 'snakemake.script' | ||
tests/test_script_py/scripts/test_explicit_import.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does setting PYTHONPATH
(or similar) help for this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understand this comment correctly, it is not a matter of simply adding to PYTHONPATH
:
running
from snakemake.script import snakemake
outside of a Snakemake "context", sincesnakemake.script.snakemake
(lower case) is simply a type hint that can be used by editor. At execution time, thesnakemake
object needs to be created by snakemake, which is done by the boilerplate/preamble
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That comment seems to suggest that passing some path to epytest
would resolve the problem, have you tried this?
Removal of
BDEPENDS
insnakemake-8.25.3.ebuild
is tested and those deps are not requiredIgnored/deselected tests have been reported upstream: snakemake/snakemake#2961 or are missing additional plugin ebuilds