Skip to content

Fix a circular import error created by #197. #225

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

Merged
merged 1 commit into from
Feb 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/source/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ all releases are available on `PyPI <https://pypi.org/project/pytask>`_ and
- :pull:`219` removes some leftovers from pytest in :class:`~_pytask.mark.Mark`.
- :pull:`221` adds more test cases for parametrizations.
- :pull:`222` adds an automated Github Actions job for creating a list pytask plugins.
- :pull:`225` fixes a circular import noticeable in plugins created by :pull:`197`.


0.1.8 - 2022-02-07
Expand Down
4 changes: 3 additions & 1 deletion src/pytask/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

from _pytask import __version__
from _pytask.build import main
from _pytask.cli import cli
from _pytask.compat import check_for_optional_program
from _pytask.compat import import_optional_dependency
from _pytask.config import hookimpl
Expand Down Expand Up @@ -32,6 +31,9 @@
from _pytask.outcomes import TaskOutcome
from _pytask.session import Session

# This import must come last, otherwise a circular import occurs.
from _pytask.cli import cli # noreorder


__all__ = [
"__version__",
Expand Down