Skip to content

1.1.0: [BREAKING CHANGE] remove read_environ() feature to improve stability

Choose a tag to compare

@Hi-king Hi-king released this 12 Feb 07:31
· 217 commits to master since this release
51d97af

BREAKING CHANGE: %(envvar)s styled conf and implicit environment variables passing are no longer available #272

image image
image image

How to migrate

1. Change %(envvar)s to ${envvar}

old

[TaskA]
a=%(A)s

new

[TaskA]
a=${A}

2. Stop Implicit envvar passing

With older versions, following had worked implicitly with env A=foo

code

class TaskA(TaskOnKart):
   a = parameter()

class TaskB(TaskOnKart):
   a = parameter()

conf

[TaskA]
[TaskB]

something tricky :) Plz see detailed discussions if you are curious about this.

Now, should fix to pass envvar explicitly

conf

[TaskA]
a=${A}
[TaskB]
a=${A}

See discussion in #272 and slide for farther information.

All Changes

Feature Updates

Improve Developer's experiences