Releases: pytask-dev/pytask
v0.2.4
What's Changed
- Some pages of the documentation have been improved. by @tobiasraabe in #279 and #281
- Don't display traceback with 'previous task failed' with verbose <= 1. by @tobiasraabe in #285
- Show all files that are not produced by a task. by @tobiasraabe in #287
Full Changelog: v0.2.3...v0.2.4
v0.2.3
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
andPendingDeprecationWarning
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
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.
You find more information in the tutorial.
What's Changed
- Fix info under live execution table. by @tobiasraabe in #267
- Rework the
clean
command. by @tobiasraabe in #273
Full Changelog: v0.2.1...v0.2.2
v0.2.1
Highlights
This release has two features.
-
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 🎉. -
pytask is now able to capture warnings and to report them. Here is an example with the infamous
SettingWithCopyWarning
from pandas
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
- Add svg for profiling tasks. by @tobiasraabe in #259
- Add sort_table option by @timmens in #261
- Capture warnings. by @tobiasraabe in #263
New Contributors
Full Changelog: v0.2.0...v0.2.1
v0.2.0
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.
- Parametrizations are now a lot easier! Repeat your tasks in loops instead of parametrizations.
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
- Use pybaum for more flexible dependencies and products. by @tobiasraabe in #211
- Implement a new loop-based approach to parametrizations. by @tobiasraabe in #229
- Move documenation to MyST. by @tobiasraabe in #232
- Add a counter under the execution table to show completed tasks. by @tobiasraabe in #252
Full Changelog: v0.1.9...v0.2.0
v0.1.9
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
- Enhance the tutorial on how to set up a project. by @tobiasraabe in #217
- Remove
depends_on
andproduces
from task function when parsed. by @tobiasraabe in #218 - Remove leftovers from pytest from
_pytask.mark.Mark
. by @tobiasraabe in #219 - Publish types, classes, and functions. by @tobiasraabe in #197
- Add an automated job to create a list of plugins in the docs. by @tobiasraabe in #222
- Add more test cases for parametrizations. by @tobiasraabe in #221
- Fix a circular import error created by #197. by @tobiasraabe in #225
- Fix crowding-out of tasks in table by skipped and persisted tasks. by @tobiasraabe in #226
Full Changelog: v0.1.8...v0.1.9
v0.1.8
Highlight
The highlight of this release is the new design of the help pages which are now colored and better structured.
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #212
- Allow
__tracebackhide__
to be a callable. by @tobiasraabe in #210 - Add .coveragerc and improve coverage. by @tobiasraabe in #213
- Make help pages prettier. by @tobiasraabe in #215
Full Changelog: v0.1.7...v0.1.8
v0.1.7
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
- Cancel previous CI runs automatically. by @tobiasraabe in #209
- Deprecate Python 3.6. by @tobiasraabe in #192
- Add support and testing for Python 3.10. by @tobiasraabe in #153
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #179
Full Changelog: v0.1.6...v0.1.7
v0.1.6
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
- Add guide on how to profile pytask. by @tobiasraabe in #191
- Add more figures to the documentation. by @tobiasraabe in #193
- Change demo in README.rst. by @tobiasraabe in #194
- Mention the two new cookiecutters more prominently. by @tobiasraabe in #196
- Fix skipif marker in the documentation. by @tobiasraabe in #198
- A better error message when paths are ambiguous on case-insensitive file systems. by @tobiasraabe in #199
- Mark arbitrary function as tasks with
@pytask.mark.task
. by @tobiasraabe in #200 - Test
_pytask.mark_utils
. by @tobiasraabe in #201 - Remove internal traceback frames from exceptions raised within pytask. by @tobiasraabe in #204
- Fix directory structure in the best practices guide on parametrizations. by @tobiasraabe in #208
Full Changelog: v0.1.5...v0.1.6
v0.1.5
What's Changed
- Enhance live display by deactivating auto-refresh among other things. by @tobiasraabe in #186
- Refactorings related to
ExitCode
. by @tobiasraabe in #188 - Add
--show-traceback
to control whether tracebacks are displayed. by @tobiasraabe in #187 - Don't display a table when no entry is present. by @tobiasraabe in #189
- Refactor remaining pieces related to reduce_node_name. by @tobiasraabe in #184
- Refactor exporting the DAG as a figure. by @tobiasraabe in #185
- Update the release notes. by @tobiasraabe in #190
Full Changelog: https://pytask-dev.readthedocs.io/en/latest/changes.html