Skip to content

Commit

Permalink
Do not replace kedro plugins in e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
  • Loading branch information
astrojuanlu committed Jul 14, 2023
1 parent 39d529a commit 8cc2ca5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion features/steps/cli_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import toml
import yaml
from behave import given, then, when
from packaging.requirements import Requirement

import kedro
from features.steps import util
Expand Down Expand Up @@ -414,7 +415,7 @@ def update_kedro_req(context: behave.runner.Context):
old_reqs = reqs_path.read_text().splitlines()
new_reqs = []
for req in old_reqs:
if req.startswith("kedro"):
if req.startswith("kedro") and Requirement(req).name.lower() == "kedro":
# Do not include kedro as it's preinstalled in the environment
pass
else:
Expand Down
1 change: 1 addition & 0 deletions features/windows_reqs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ psutil~=5.8
requests~=2.20
toml~=0.10.1
PyYAML>=4.2, <7.0
packaging>=20.0

0 comments on commit 8cc2ca5

Please sign in to comment.