Skip to content

Commit

Permalink
Merge branch 'main' into 2009-create-line-magic-to-debug-a-node-in-no…
Browse files Browse the repository at this point in the history
…tebook-workflow
  • Loading branch information
AhdraMeraliQB authored Jan 24, 2024
2 parents a92c462 + e187dca commit c5fc1fc
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 30 deletions.
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/doc-improvement.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ labels: 'Component: Documentation'
## Description
<!-- Short description of the improvement suggestion. -->

## Context
<!-- Extra context. -->
### Documentation page (if applicable)
<!-- https://docs.kedro.org/en/stable/... -->

* Documentation page (if applicable): <!-- https://docs.kedro.org/en/stable/... -->
## Context
<!-- Extra context. -->
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: Software design documentation
name: Software design proposal
about: To propose and request comments on a software design decision
title: '<Title>'
labels: 'Type: Design Documentation'
labels: 'Type: Design Proposal'
assignees: ''

---
Expand Down
5 changes: 5 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 -

Expand Down
14 changes: 11 additions & 3 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/source/development/commands_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions docs/source/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
48 changes: 30 additions & 18 deletions features/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import os
import shutil
import subprocess
import tempfile
import venv
from pathlib import Path
Expand Down Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion kedro/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import sys
import warnings

__version__ = "0.19.1"
__version__ = "0.19.2"


class KedroDeprecationWarning(DeprecationWarning):
Expand Down

0 comments on commit c5fc1fc

Please sign in to comment.