Skip to content

Releases: pytask-dev/pytask

v0.2.4

28 Jun 07:01
0725455
Compare
Choose a tag to compare

What's Changed

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

v0.2.3

30 May 10:19
a8d9e8a
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

What's Changed

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