Skip to content

Releases: pytask-dev/pytask

v0.2.1

28 Apr 06:18
58d8969

Choose a tag to compare

Highlights

This release has two features.

  1. A new configuration value, sort_table allows you to control whether the table after the execution is sorted alphabetically or ordered by execution. Here is the entry in the documentation. Thanks to @timmens for his first contribution 🎉.

  2. pytask is now able to capture warnings and to report them. Here is an example with the infamous SettingWithCopyWarning from pandas
    image
    Take a look at the how-to guide about capturing warnings to learn more about the feature.

    Currently, this feature does not work when you parallelize the execution with pytask-parallel. Support is planned.

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.2.1

v0.2.0

14 Apr 19:30
9cd69f6

Choose a tag to compare

The v0.2 release contains several new features and breaking changes with v0.1.x versions of the plugins for the good of the whole project.

Highlights

  • The documentation is improved a lot and features shiny svgs.

import numpy as np
import pytask


for i in range(10):

    @pytask.mark.task
    def task_create_random_data(produces=f"data_{i}.pkl", seed=i):
        rng = np.random.default_rng(seed)
        ...
  • pyproject.toml is the new configuration file for pytask. This release soft-deprecates all ini-configurations. Here is more information.
  • Dependencies and products can be nested to allow for more structure.

The release also allows the plugins to provide better interfaces in their next releases. Keep an eye on new releases in the coming days.

What's Changed

Full Changelog: v0.1.9...v0.2.0

v0.1.9

23 Feb 22:01
743ebd1

Choose a tag to compare

Highlights

The highlight of the current release is an automatically updated list of plugins for pytask which you can see here.

Apart from that, the release includes improvements to code, tests, and the documentation.

What's Changed

Full Changelog: v0.1.8...v0.1.9

v0.1.8

07 Feb 01:46
0641f39

Choose a tag to compare

Highlight

The highlight of this release is the new design of the help pages which are now colored and better structured.

image

What's Changed

Full Changelog: v0.1.7...v0.1.8

v0.1.7

28 Jan 14:00
4e2eaf3

Choose a tag to compare

Highlights

This is the first release of pytask which supports Python 3.10. At the same time, Python 3.6 is deprecated since EOF was in last december.

What's Changed

Full Changelog: v0.1.6...v0.1.7

v0.1.6

26 Jan 23:39
db2eb85

Choose a tag to compare

Highlights

This release features the new @pytask.mark.task decorator which allows to mark functions as tasks without requiring the task_ prefix. It also accepts an optional name parameter to rename the task to something else than the function name.

@pytask.mark.task
def prepare_data():
    pass

What's Changed

Full Changelog: v0.1.5...v0.1.6

v0.1.5

09 Jan 23:20
a2a7082

Choose a tag to compare

What's Changed

Full Changelog: https://pytask-dev.readthedocs.io/en/latest/changes.html

v0.1.4

06 Jan 09:27
760eda6

Choose a tag to compare

This release includes a lot of changes to the styling of the interface as well as multiple internal improvements such as internal typing and clearer internal task outcomes.

What's Changed

The most notable changes in this release involve the style of the interface.

  • Task ids are shorter than before, the part with the path is dimmed to highlight the function name.
  • The bright part of the task name is clickable and will open the task module in the editor. Use editor_url_scheme=vscode in the configuration file and you will even jump to the correct line where the task is defined in vscode. (Link)
  • A panel with a summary on task outcomes is displayed at the end of the report.

image

pytask is now also rudimentarily typed. Hopefully, a fully typed interface will follow soon.

More information about changes in this release can be found in the changelog.

v0.1.3

29 Nov 23:53
e49ac53

Choose a tag to compare

Just a follow up release for v0.1.2 which

  • adds packaging to the dependencies of the package.
  • rounds time units of the duration to integers.

v0.1.2

27 Nov 14:23
26a4383

Choose a tag to compare

This release includes a lot of enhancements and cleanups for the displayed information.

  • Skipped and persisted tasks are not displayed in the table with the default verbosity.
  • The number of rows in the execution table is limited to 15 items to make the display cleaner and the update process smoother.
  • The duration of the execution is displayed in a human readable way and not just in total seconds.
  • --show-errors-immediately allows to display errors with tracebacks as soon as they occur.

For more information, check out the changelog.