v0.4.0rc1 #422
v0.4.0rc1
#422
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is the first release candidate for the v0.4.* release series.
The final release still requires some changes. For example, the documentation needs to be extended. But, the essential parts are already there, and it is time to collect some final feedback! Let me know what you think and what needs to be improved. You can comment in the discussion for this release.
Now, let's take a look at the changes.
What's Changed
New
pathlib.Path
s received special treatment as dependencies or products to task functions. Now, it is possible to define your own nodes that simplify, for example, loading pickle files as this guide explains. But many more extensions are possible, like defining data in an S3 bucket as a dependency or product.Removals
@pytask.mark.parametrize
is removed. Follow this tutorial instead.Deprecations
@pytask.mark.depends_on
,@pytask.mark.produces
are deprecated and will be removed in v0.5.0.@pytask.mark.task
is deprecated. Use@pytask.task
instead.pathlib.Path
objects.Full list of changes
@pytask.mark.parametrize
. by @tobiasraabe in Remove@pytask.mark.parametrize
. #391depends_on
is not used. by @tobiasraabe in Parse dependencies from all args ifdepends_on
is not used. #384typing.Annotation
. by @tobiasraabe in Add products withtyping.Annotation
. #394_pytask.tree_util
. by @tobiasraabe in Refactor pybaum to_pytask.tree_util
. #395NamedTuple
and attrs classes in@pytask.mark.task(kwargs=...)
. by @tobiasraabe in Add support forNamedTuple
and attrs classes in@pytask.mark.task(kwargs=...)
. #397depends_on
andproduces
. by @tobiasraabe in Deprecate decorators fordepends_on
andproduces
. #398.value
fromNode
protocol. by @tobiasraabe in Remove.value
fromNode
protocol. #408.from_annot
an optional feature of nodes. by @tobiasraabe in Make.from_annot
an optional feature of nodes. #409PythonNode(hash=...)
. by @tobiasraabe in Allow to pass functions toPythonNode(hash=...)
. #410.svg
s. by @tobiasraabe in Remove scripts to generate.svg
s. #413@pytask.mark.task
in favor of@pytask.task
. by @tobiasraabe in Deprecate@pytask.mark.task
in favor of@pytask.task
. #417dag.py
. by @tobiasraabe in Simplify and fix code indag.py
. #418DeprecationWarning
toFutureWarning
for deprecated decorators. by @tobiasraabe in ConvertDeprecationWarning
toFutureWarning
for deprecated decorators. #420produces
. by @tobiasraabe in Remove deprecation warning forproduces
. #421Full Changelog: v0.3.2...v0.4.0rc1
This discussion was created from the release v0.4.0rc1.
Beta Was this translation helpful? Give feedback.
All reactions