Skip to content

Do not use MetaNode. #66

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
Nov 25, 2023
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
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ releases are available on [Anaconda.org](https://anaconda.org/conda-forge/pytask
## 0.4.2 - 2023-xx-xx

- {pull}`65` simplifies dependency management.
- {pull}`66` removes using `MetaNode`.

## 0.4.1 - 2023-xx-xx
## 0.4.1 - 2023-10-12

- {pull}`63` improves the collection of dependencies.

Expand Down
4 changes: 2 additions & 2 deletions src/pytask_latex/collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
from pytask import hookimpl
from pytask import is_task_function
from pytask import Mark
from pytask import MetaNode
from pytask import NodeInfo
from pytask import NodeNotCollectedError
from pytask import parse_dependencies_from_task_function
from pytask import parse_products_from_task_function
from pytask import PathNode
from pytask import PNode
from pytask import PPathNode
from pytask import PTask
from pytask import PTaskWithPath
Expand Down Expand Up @@ -295,7 +295,7 @@ def _add_latex_dependencies_retroactively(

def _collect_node(
session: Session, path: Path, node_info: NodeInfo
) -> dict[str, MetaNode]:
) -> dict[str, PNode]:
"""Collect nodes for a task.

Raises
Expand Down