Skip to content

Commit

Permalink
Rename addons to tools (kedro-org#3357)
Browse files Browse the repository at this point in the history
Signed-off-by: Ahdra Merali <ahdra.merali@quantumblack.com>
  • Loading branch information
AhdraMeraliQB authored Nov 29, 2023
1 parent b7e2623 commit 9f24ad6
Show file tree
Hide file tree
Showing 16 changed files with 221 additions and 225 deletions.
4 changes: 2 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Major features and improvements
* Dropped Python 3.7 support.
* Introduced add-ons and example to the `kedro new` CLI flow.
* Introduced project tools and example to the `kedro new` CLI flow.
* The new spaceflights starters, `spaceflights-pandas`, `spaceflights-pandas-viz`, `spaceflights-pyspark`, and `spaceflights-pyspark-viz` can be used with the `kedro new` command with the `--starter` flag.
* Added the `--conf-source` option to `%reload_kedro`, allowing users to specify a source for project configuration.
* Added the functionality to choose a merging strategy for config files loaded with `OmegaConfigLoader`.
Expand All @@ -11,7 +11,7 @@
* Moved the default environment `base` and `local` from config loader to `_ProjectSettings`. This enables the use of config loader as a standalone class without affecting existing Kedro Framework users.

## Bug fixes and other changes
* Added a new field `add-ons` to `pyproject.toml` when a project is created.
* Added a new field `tools` to `pyproject.toml` when a project is created.
* Reduced `spaceflights` data to minimise waiting times during tutorial execution.
* Added validation to node tags to be consistent with node names.
* Removed `pip-tools` as a dependency.
Expand Down
2 changes: 1 addition & 1 deletion features/steps/cli_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def create_config_file(context):
context.root_project_dir = context.temp_dir / context.project_name
context.package_name = context.project_name.replace("-", "_")
config = {
"add_ons": "1-5",
"tools": "1-5",
"project_name": context.project_name,
"example_pipeline": "no",
"repo_name": context.project_name,
Expand Down
2 changes: 1 addition & 1 deletion features/steps/test_starter/cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"repo_name": "{{ cookiecutter.project_name.replace(' ', '-').lower().strip('-') }}",
"python_package": "{{ cookiecutter.project_name.replace(' ', '_').replace('-', '_').lower() }}",
"kedro_version": "{{ cookiecutter.kedro_version }}",
"add_ons": "none"
"tools": "none"
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespaces = false
package_name = "{{ cookiecutter.python_package }}"
project_name = "{{ cookiecutter.project_name }}"
kedro_init_version = "{{ cookiecutter.kedro_version }}"
add_ons = "{{ cookiecutter.add_ons | default('') | string | replace('\"', '\\\"') }}"
tools = "{{ cookiecutter.tools | default('') | string | replace('\"', '\\\"') }}"

[tool.pytest.ini_options]
addopts = """
Expand Down
Loading

0 comments on commit 9f24ad6

Please sign in to comment.