Skip to content

Releases: pytask-dev/pytask

v0.3.1

24 Jan 23:39
a2cd949

Choose a tag to compare

What's Changed

  • Fix bug when passing no path on the command line. by @tobiasraabe in #337
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #341
  • [automated] Update plugin list by @github-actions in #340

Full Changelog: v0.3.0...v0.3.1

v0.3.0

22 Jan 13:45
88326dd

Choose a tag to compare

Highlights

This release includes a breaking change due to internal refactorings. The change affects how command line options and the configuration file are loaded and validated. For users, the changes are subtle; the help pages of the commands have prettier options and default values.

Make sure to upgrade pytask and the plugins to v0.3 or pin the packages to <0.3.

There is some delay until the updates for pytask and its plugins are available. Be aware of errors when using mixed v0.2 and v0.3 installations.

The most significant benefit is for developers who want to add command line options and configuration values. The parsing can now be handled with proper click types, for example, EnumChoice to implement choice options. Defaults are attached to command line options and are automatically displayed in the help pages.

What's Changed

Full Changelog: v0.2.7...v0.3.0

v0.2.7

14 Dec 17:46
952caf8

Choose a tag to compare

News

This is probably the last patch release before the v0.3.0 release. There are some highlights like the new terminal animations in the documentation. I hope you enjoy them.

What's Changed

Full Changelog: v0.2.6...v0.2.7

v0.2.6

27 Oct 09:22
e3c1a4c

Choose a tag to compare

What's Changed

New Contributors

Many thanks to the new contributors 🙇!

Full Changelog: v0.2.5...v0.2.6

v0.2.5

01 Aug 23:09
b8bd716

Choose a tag to compare

Highlight

The highlight of this release is a dry-run mode that shows which tasks will be run during the next execution. Just type pytask --dry-run. Here is the documentation.

What's Changed

Full Changelog: v0.2.4...v0.2.5

v0.2.4

28 Jun 07:01
0725455

Choose a tag to compare

What's Changed

Full Changelog: v0.2.3...v0.2.4

v0.2.3

30 May 10:19
a8d9e8a

Choose a tag to compare

Highlights

This release includes some minor fixes. For example, deprecation warnings are not activated by default anymore, and you can remove the filters for these warnings again.

What's Changed

  • Fix pytask clean when git is not installed. by @tobiasraabe in #276
  • Do not capture DeprecationWarning and PendingDeprecationWarning by default. by @tobiasraabe in #277
  • Reduce the number of locations where warnings are raised. by @tobiasraabe in #278

Full Changelog: v0.2.2...v0.2.3

v0.2.2

14 May 12:13
0bfbb7f

Choose a tag to compare

Highlight

The command pytask clean has been reworked! 🎉

pytask clean allows to clean your project from obsolete files. For example, when you renamed a product of a task and the old product still exists in the build folder.

All files which are not known by pytask or git can be cleaned.

image

You find more information in the tutorial.

What's Changed

Full Changelog: v0.2.1...v0.2.2

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