Skip to content

Commit 7117e5c

Browse files
authored
Merge pull request #190 from getindata/release-0.7.3
Release 0.7.3
2 parents ec4ac27 + 564638c commit 7117e5c

10 files changed

+18
-8
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.7.2
2+
current_version = 0.7.3
33

44
[bumpversion:file:pyproject.toml]
55

.copier-answers.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: Kedro plugin with Kubeflow Pipelines support
88
docs_url: https://kedro-kubeflow.readthedocs.io/
99
full_name: Kedro Kubeflow Plugin
1010
github_url: https://github.com/getindata/kedro-kubeflow
11-
initial_version: 0.7.2
11+
initial_version: 0.7.3
1212
keywords:
1313
- kedro-plugin
1414
- kubeflow

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
## [0.7.3] - 2022-09-23
6+
7+
- Fixed plugin config provider so it respects environment provided by the user
8+
59
## [0.7.2] - 2022-09-22
610

711
- Fixed compatibility with kedro-mlflow >= 0.8
@@ -163,7 +167,9 @@
163167
- Method to schedule runs for most recent version of given pipeline `kedro kubeflow schedule`
164168
- Shortcut to open UI for pipelines using `kedro kubeflow ui`
165169

166-
[Unreleased]: https://github.com/getindata/kedro-kubeflow/compare/0.7.2...HEAD
170+
[Unreleased]: https://github.com/getindata/kedro-kubeflow/compare/0.7.3...HEAD
171+
172+
[0.7.3]: https://github.com/getindata/kedro-kubeflow/compare/0.7.2...0.7.3
167173

168174
[0.7.2]: https://github.com/getindata/kedro-kubeflow/compare/0.7.1...0.7.2
169175

kedro_kubeflow/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.7.2"
1+
__version__ = "0.7.3"

kedro_kubeflow/context_helper.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ def context(self):
7878
@lru_cache()
7979
def config(self) -> PluginConfig:
8080
raw = EnvTemplatedConfigLoader(
81-
self.context.config_loader.conf_source
81+
self.context.config_loader.conf_source,
82+
env=self._env,
8283
).get(self.CONFIG_FILE_PATTERN)
8384
return PluginConfig(**raw)
8485

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "kedro-kubeflow"
3-
version = "0.7.2"
3+
version = "0.7.3"
44
description = "Kedro plugin with Kubeflow Pipelines support"
55
readme = "README.md"
66
authors = ['Mateusz Pytel <mateusz.pytel@getindata.com>', 'Mariusz Strzelecki <mariusz.strzelecki@getindata.com>']

sonar-project.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sonar.tests=tests/
66
sonar.python.coverage.reportPaths=coverage.xml
77
sonar.python.version=3.9
88

9-
sonar.projectVersion=0.7.2
9+
sonar.projectVersion=0.7.3
1010
sonar.projectDescription=Kedro plugin with Kubeflow Pipelines support
1111
sonar.links.homepage=https://kedro-kubeflow.readthedocs.io/
1212
sonar.links.ci=https://github.com/getindata/kedro-kubeflow/actions

tests/conf/base/.gitkeep

Whitespace-only changes.
File renamed without changes.

tests/test_context_helper.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def test_config(self):
5353
config_loader.return_value.get.return_value = self.minimal_config()
5454
helper = ContextHelper.init(metadata, "test")
5555
assert helper.config == PluginConfig(**self.minimal_config())
56+
assert config_loader.call_args.kwargs["env"] == "test"
5657

5758

5859
class TestEnvTemplatedConfigLoader(unittest.TestCase):
@@ -61,7 +62,9 @@ def get_config():
6162
config_path = str(
6263
Path(os.path.dirname(os.path.abspath(__file__))) / "conf"
6364
)
64-
loader = EnvTemplatedConfigLoader(config_path, default_run_env="base")
65+
loader = EnvTemplatedConfigLoader(
66+
config_path, env="unittests", default_run_env="base"
67+
)
6568
return loader.get("test_config.yml")
6669

6770
def test_loader_with_defaults(self):

0 commit comments

Comments
 (0)