diff --git a/CHANGELOG.md b/CHANGELOG.md index 28802ec1..6d6d0b9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ chronological order. Releases follow [semantic versioning](https://semver.org/) releases are available on [PyPI](https://pypi.org/project/pytask) and [Anaconda.org](https://anaconda.org/conda-forge/pytask). +## 0.5.5 - 2025-07-25 + +- {pull}`692` documents how to use pytask with workspaces. +- {pull}`694` fixes {issue}`693` so that missing dependencies are detected in some cases. Thanks to {user}`timmens` for the report! + ## 0.5.4 - 2025-06-08 - {pull}`676` ensures compatibility with click >8.2.0. diff --git a/src/_pytask/execute.py b/src/_pytask/execute.py index 1cc9f167..d52b6fa0 100644 --- a/src/_pytask/execute.py +++ b/src/_pytask/execute.py @@ -162,7 +162,6 @@ def pytask_execute_task_setup(session: Session, task: PTask) -> None: # noqa: C has_changed = has_node_changed(task=task, node=node, state=node_state) if has_changed: needs_to_be_executed = True - break if not needs_to_be_executed: collect_provisional_products(session, task) diff --git a/tests/test_execute.py b/tests/test_execute.py index a6af4df4..e1be71a8 100644 --- a/tests/test_execute.py +++ b/tests/test_execute.py @@ -637,6 +637,9 @@ def task2() -> None: pass assert result.exit_code == ExitCode.OK +@pytest.mark.xfail( + sys.platform == "linux" and sys.version_info[:2] == (3, 9), reason="flakey" +) def test_pytask_on_a_module_that_uses_the_functional_api(tmp_path): source = """ from pytask import task, ExitCode, build