You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support Kedro 1.x while preserving 0.19 compatibility
- widen the Kedro dependency from `>0.18.4, <=0.19.9` to `>0.18.4, <2.0`
so projects can upgrade to Kedro 1.x to pick up security fixes
- keep backward compatibility for Kedro 0.19 via an AbstractConfigLoader shim
- remove dead Kedro 0.16 compatibility code and the unused semver dependency
- replace the Pydantic v1-only deep_update import in tests with a stdlib helper
- update docs and changelog for the revised Kedro compatibility story
- make MLflow-related tests self-contained so the default test suite passes
without optional mlflow/kedro-mlflow packages installed
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,24 @@
2
2
3
3
## [Unreleased]
4
4
5
+
### Changed
6
+
7
+
- Widened Kedro dependency to `>0.18.4, <2.0` to support both Kedro 0.19.x and 1.x
8
+
- Updated minimum Python version to 3.9 and upper bound to <3.13
9
+
- Added compatibility shim for `AbstractConfigLoader` removal in Kedro 1.x
10
+
- Updated documentation: dynamic configuration examples now use `OmegaConfigLoader` with `oc.env` resolver instead of deprecated `TemplatedConfigLoader`
11
+
12
+
### Removed
13
+
14
+
- Removed `ContextHelper16` class (Kedro 0.16 compatibility — dead code since minimum is 0.18.4)
15
+
- Removed `semver` dependency (only used for obsolete version check)
16
+
17
+
### Fixed
18
+
19
+
- Replaced Pydantic v1-only `pydantic.utils.deep_update` import in tests with stdlib implementation
20
+
- Fixed internal module path in `test_kfpclient.py` for `KedroContext` mock patch
21
+
- Fixed mlflow-related tests to not require `mlflow`/`kedro_mlflow` packages installed (using `sys.modules` stubbing)
Copy file name to clipboardExpand all lines: docs/source/02_installation/02_configuration.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,12 +176,14 @@ run_config:
176
176
177
177
## Dynamic configuration support
178
178
179
-
`kedro-kubeflow` contains hook that enables [TemplatedConfigLoader](https://kedro.readthedocs.io/en/stable/kedro.config.TemplatedConfigLoader.html).
180
-
It allows passing environment variables to configuration files. It reads all environment variables following `KEDRO_CONFIG_<NAME>` pattern, which you
181
-
can later inject in configuration file using `${name}` syntax.
179
+
`kedro-kubeflow` supports dynamic configuration via Kedro's `OmegaConfigLoader` with the `oc.env` resolver.
180
+
It allows passing environment variables to configuration files. It reads all environment variables following `KEDRO_CONFIG_<NAME>` pattern, which you
181
+
can later inject in configuration file using `${oc.env:KEDRO_CONFIG_NAME}` syntax.
182
182
183
-
There are two special variables `KEDRO_CONFIG_COMMIT_ID`, `KEDRO_CONFIG_BRANCH_NAME` with support specifying default when variable is not set,
184
-
e.g. `${commit_id|dirty}`
183
+
There are two special variables `KEDRO_CONFIG_COMMIT_ID`, `KEDRO_CONFIG_BRANCH_NAME` with support specifying default when variable is not set,
184
+
e.g. `${oc.env:KEDRO_CONFIG_COMMIT_ID, dirty}`
185
+
186
+
> **Note:** The legacy `EnvTemplatedConfigLoader` is deprecated and will be removed in a future release. Please migrate to `OmegaConfigLoader` with `oc.env` resolver.
185
187
186
188
## Extra volumes
187
189
You can mount additional volumes (such as `emptyDir`) to specific nodes by using `extra_volumes` config node.
0 commit comments