Changes#

The document records all past pytask releases and what went into them in reverse chronological order. Releases follow semantic versioning and all releases are available on PyPI and Anaconda.org.

0.3.2 - 2023-xx-xx#

0.3.1 - 2023-12-25#

  • pull request #337 fixes fallback to root path when pytask collect or pytask clean are used without paths.

0.3.0 - 2023-12-22#

0.2.7 - 2022-12-14#

0.2.6 - 2022-10-27#

  • pull request #297 moves non-hook functions from warnings.py to warnings_utils.py and publishes them so that pytask-parallel can import them.

  • pull request #305 removes traces of colorama. Whatever it did should be handled by rich.

0.2.5 - 2022-08-02#

0.2.4 - 2022-06-28#

0.2.3 - 2022-05-30#

  • pull request #276 fixes pytask clean when git is not installed. Fixes issue #275.

  • pull request #277 ignores DeprecationWarning and PendingDeprecationWarning by default. Previously, they were enabled, but they should be shown when testing the project with pytest, not after the execution with pytask. Fixes issue #269.

  • pull request #278 counts multiple occurrences of a warning instead of listing the module or task name again and again. Fixes issue #270.

0.2.2 - 2022-05-14#

  • pull request #267 fixes the info under the live execution table to show the total number of tasks also for pytask-parallel.

  • pull request #273 reworks pytask clean so that it ignores files tracked by git. Resolves issue #146.

0.2.1 - 2022-04-28#

0.2.0 - 2022-04-14#

0.1.9 - 2022-02-23#

0.1.8 - 2022-02-07#

0.1.7 - 2022-01-28#

0.1.6 - 2022-01-27#

0.1.5 - 2022-01-10#

  • pull request #184 refactors reduce_node_name() and shorten task names in many places.

  • pull request #185 fix issues with drawing a graph and adds the --rank-direction to change the direction of the DAG.

  • pull request #186 enhance live displays by deactivating auto-refresh, among other things.

  • pull request #187 allows to enable and disable showing tracebacks and potentially different styles in the future with show_traceback=True|False.

  • pull request #188 refactors some code related to _pytask.enums.ExitCode.

  • pull request #189 do not display a table in the execution if no task was run.

  • pull request #190 updates the release notes.

0.1.4 - 2022-01-04#

0.1.3 - 2021-11-30#

0.1.2 - 2021-11-27#

  • pull request #135 implements handling of version in docs as proposed by setuptools-scm.

  • pull request #142 removes the display of skipped and persisted tasks from the live execution table for the default verbosity level of 1. They are displayed at 2.

  • pull request #144 adds tryceratops to the pre-commit hooks for catching issues with exceptions.

  • pull request #151 adds a limit on the number of items displayed in the execution table which is configurable with n_entries_in_table in the configuration file.

  • pull request #152 makes the duration of the execution readable by humans by separating it into days, hours, minutes and seconds.

  • pull request #155 implements functions to check for optional packages and programs and raises errors for requirements to draw the DAG earlier.

  • pull request #156 adds the option show_errors_immediately to print/show errors as soon as they occur. Resolves issue #150.

0.1.1 - 2021-08-25#

  • pull request #138 changes the default verbosity to 1 which displays the live table during execution and 0 display the symbols for outcomes (e.g. ., F, s).

  • pull request #139 enables rich’s auto-refresh mechanism for live objects which causes almost no performance penalty for the live table compared to the symbolic output.

0.1.0 - 2021-07-20#

  • pull request #106 implements a verbose mode for the execution which is available with pytask -v and shows a table with running and completed tasks. It also refines the collection status.

  • pull request #116, pull request #117, and pull request #123 fix issue #104 which prevented to skip tasks with missing dependencies.

  • pull request #118 makes the path to the configuration in the session header os-specific.

  • pull request #119 changes that when marker or keyword expressions are used to select tasks, also the predecessors of the selected tasks will be executed.

  • pull request #120 implements that a single KeyboardInterrupt stops the execution and previously collected reports are shown. Fixes issue #111.

  • pull request #121 add skipped and persisted tasks to the execution footer.

  • pull request #127 make the table during execution the default. Silence pytask with negative verbose mode integers and increase verbosity with positive ones.

  • pull request #129 allows to hide frames from the traceback by using __tracebackhide__ = True.

  • pull request #130 enables rendering of tracebacks from subprocesses with rich.

0.0.16 - 2021-06-25#

0.0.15 - 2021-06-24#

0.0.14 - 2021-03-23#

  • pull request #74 reworks the formatting of the command line output by using rich. Due to the new dependency, support for pytask with Python <3.6.1 on PyPI and with Python <3.7 on Anaconda will end.

  • pull request #76 fixes issue #75 which reports a bug when a closest ancestor cannot be found to shorten node names in the CLI output. Instead a common ancestor is used.

0.0.13 - 2021-03-09#

  • pull request #72 adds conda-forge to the README and highlights importance of specifying dependencies and products.

  • pull request #62 implements the pytask.mark.skipif() marker to conditionally skip tasks. Many thanks to @roecla for implementing this feature and a warm welcome since she is the first pytask contributor!

0.0.12 - 2021-02-27#

0.0.11 - 2020-12-27#

0.0.10 - 2020-11-18#

  • pull request #40 cleans up the capture manager and other parts of pytask.

  • pull request #41 shortens the task ids in the error reports for better readability.

  • pull request #42 ensures that lists with one element and dictionaries with only a zero key as input for @pytask.mark.depends_on and @pytask.mark.produces are preserved as a dictionary inside the function.

0.0.9 - 2020-10-28#

0.0.8 - 2020-10-04#

  • pull request #30 fixes or adds the session object to some hooks which was missing from the previous release.

0.0.7 - 2020-10-03#

0.0.6 - 2020-09-12#

  • pull request #16 reduces the traceback generated from tasks, failure section in report, fix error passing a file path to pytask, add demo to README.

  • pull request #17 changes the interface to subcommands, adds "-c/--config" option to pass a path to a configuration file and adds pytask clean (pull request #22 as well), a command to clean your project.

  • pull request #18 changes the documentation theme to alabaster.

  • pull request #19 adds some changes related to ignored folders.

  • pull request #20 fixes copying code examples in the documentation.

  • pull request #21 enhances the ids generated by parametrization, allows to change them via the ids argument, and adds tutorials.

  • pull request #23 allows to specify paths via the configuration file, documents the cli and configuration options.

  • pull request #24 releases 0.0.6.

0.0.5 - 2020-08-12#

0.0.4 - 2020-07-22#

  • pull request #9 adds hook specifications to the parametrization of tasks which allows pytask-latex and pytask-r to pass different command line arguments to a parametrized task and its script. Also, it prepares the release of 0.0.4.

0.0.3 - 2020-07-19#

  • pull request #7 makes pytask exit with code 1 if a task failed and the skip_ancestor_failed decorator is only applied to descendant tasks not the task itself.

  • pull request #8 releases v0.0.3

0.0.2 - 2020-07-17#

0.0.1 - 2020-06-29#

  • pull request #1 combined the whole effort which went into releasing v0.0.1.