diff --git a/.github/ISSUE_TEMPLATE/doc-improvement.md b/.github/ISSUE_TEMPLATE/doc-improvement.md index 41084d26a7..64523d37bc 100644 --- a/.github/ISSUE_TEMPLATE/doc-improvement.md +++ b/.github/ISSUE_TEMPLATE/doc-improvement.md @@ -8,7 +8,8 @@ labels: 'Component: Documentation' ## Description -## Context - +### Documentation page (if applicable) + -* Documentation page (if applicable): +## Context + diff --git a/.github/ISSUE_TEMPLATE/design-doc.md b/.github/ISSUE_TEMPLATE/software_design_proposal.md similarity index 92% rename from .github/ISSUE_TEMPLATE/design-doc.md rename to .github/ISSUE_TEMPLATE/software_design_proposal.md index 43f70cb12e..3b200468f5 100644 --- a/.github/ISSUE_TEMPLATE/design-doc.md +++ b/.github/ISSUE_TEMPLATE/software_design_proposal.md @@ -1,8 +1,8 @@ --- -name: Software design documentation +name: Software design proposal about: To propose and request comments on a software design decision title: '' -labels: 'Type: Design Documentation' +labels: 'Type: Design Proposal' assignees: '' --- diff --git a/.readthedocs.yml b/.readthedocs.yml index 979c120c54..c22efd828d 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -27,3 +27,8 @@ python: path: . extra_requirements: - docs + +search: + ranking: + # Match API docs (files prefixed "kedro.") and push them down the ranking + '*/kedro.*.html': -5 diff --git a/CITATION.cff b/CITATION.cff index 1c239866a6..96af1692cc 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -51,6 +51,6 @@ authors: - family-names: Theisen given-names: Merel title: Kedro -version: 0.19.1 -date-released: 2023-12-13 +version: 0.19.2 +date-released: 2024-01-22 url: https://github.com/kedro-org/kedro diff --git a/Makefile b/Makefile index fe0022ef23..5b569bbc82 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,10 @@ show-coverage: e2e-tests: behave --tags=-skip +e2e-tests-fast: export BEHAVE_LOCAL_ENV=TRUE +e2e-tests-fast: + behave --tags=-skip --no-capture + pip-compile: pip-compile -q -o - diff --git a/RELEASE.md b/RELEASE.md index 2118803822..05a290a6b9 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,8 +1,18 @@ -# Upcoming Release 0.19.2 +# Upcoming Release 0.19.3 ## Major features and improvements * Create the debugging line magic for Jupyter Notebook/IPython. +## Bug fixes and other changes + +## Breaking changes to the API + +## Documentation changes + +## Community contributions + +# Release 0.19.2 + ## Bug fixes and other changes * Removed example pipeline requirements when examples are not selected in `tools`. * Allowed modern versions of JupyterLab and Jupyter Notebooks. @@ -19,8 +29,6 @@ * Added documentation about `bootstrap_project` and `configure_project`. * Added documentation about `kedro run` and hook execution order. -## Community contributions - # Release 0.19.1 ## Bug fixes and other changes diff --git a/docs/source/development/commands_reference.md b/docs/source/development/commands_reference.md index ca478e863a..1add257ac2 100644 --- a/docs/source/development/commands_reference.md +++ b/docs/source/development/commands_reference.md @@ -109,7 +109,7 @@ Returns output similar to the following, depending on the version of Kedro used | |/ / _ \/ _` | '__/ _ \ | < __/ (_| | | | (_) | |_|\_\___|\__,_|_| \___/ -v0.19.1 +v0.19.2 Kedro is a Python framework for creating reproducible, maintainable diff --git a/docs/source/robots.txt b/docs/source/robots.txt index 3c96089460..a2601e6971 100644 --- a/docs/source/robots.txt +++ b/docs/source/robots.txt @@ -2,6 +2,7 @@ User-agent: * Disallow: / Allow: /en/stable/ Allow: /en/latest/ +Allow: /en/0.19.2/ Allow: /en/0.19.1/ Allow: /en/0.19.0/ Allow: /en/0.18.5/ diff --git a/features/environment.py b/features/environment.py index a74ba404f2..c2254b49a2 100644 --- a/features/environment.py +++ b/features/environment.py @@ -4,6 +4,7 @@ import os import shutil +import subprocess import tempfile import venv from pathlib import Path @@ -93,24 +94,35 @@ def _create_tmp_dir() -> Path: def _setup_minimal_env(context): - kedro_install_venv_dir = _create_new_venv() - context.kedro_install_venv_dir = kedro_install_venv_dir - context = _setup_context_with_venv(context, kedro_install_venv_dir) - call( - [ - context.python, - "-m", - "pip", - "install", - "-U", - # pip==23.2 breaks pip-tools<7.0, and pip-tools>=7.0 does not support Python 3.7 - # pip==23.3 breaks dependency resolution - "pip>=21.2,<23.2", - ], - env=context.env, - ) - call([context.python, "-m", "pip", "install", "-e", "."], env=context.env) - return context + if os.environ.get("BEHAVE_LOCAL_ENV"): + output = subprocess.check_output( + ["which", "kedro"] # noqa: S603, S607 + ) # equivalent run "which kedro" + output = output.strip().decode("utf8") + kedro_install_venv_dir = Path(output).parent.parent + context.kedro_install_venv_dir = kedro_install_venv_dir + context = _setup_context_with_venv(context, kedro_install_venv_dir) + return context + else: + kedro_install_venv_dir = _create_new_venv() + context.kedro_install_venv_dir = kedro_install_venv_dir + context = _setup_context_with_venv(context, kedro_install_venv_dir) + + call( + [ + context.python, + "-m", + "pip", + "install", + "-U", + # pip==23.2 breaks pip-tools<7.0, and pip-tools>=7.0 does not support Python 3.7 + # pip==23.3 breaks dependency resolution + "pip>=21.2,<23.2", + ], + env=context.env, + ) + call([context.python, "-m", "pip", "install", "-e", "."], env=context.env) + return context def _install_project_requirements(context): diff --git a/kedro/__init__.py b/kedro/__init__.py index 4406f54074..a538fcbecc 100644 --- a/kedro/__init__.py +++ b/kedro/__init__.py @@ -6,7 +6,7 @@ import sys import warnings -__version__ = "0.19.1" +__version__ = "0.19.2" class KedroDeprecationWarning(DeprecationWarning):