From ad002bdf5e36a2060c3339a73f226dfef24ee62b Mon Sep 17 00:00:00 2001 From: Ankita Katiyar <110245118+ankatiyar@users.noreply.github.com> Date: Wed, 6 Sep 2023 15:59:54 +0100 Subject: [PATCH] Fix ci - Use `--resolver=backtracking` with `kedro build-reqs` in e2e tests (#3010) * Bump build version Signed-off-by: Ankita Katiyar * Remove telemetry from test default starter Signed-off-by: Ankita Katiyar * Add package_name back Signed-off-by: Ankita Katiyar * Pin build only for 3.7 Signed-off-by: Ankita Katiyar * Try upgrade pip Signed-off-by: Ankita Katiyar * Add constraint Signed-off-by: Ankita Katiyar * Update for windows Signed-off-by: Ankita Katiyar * Run build-reqs with backtracking resolver Signed-off-by: Ankita Katiyar * Run build-reqs with backtracking resolver Signed-off-by: Ankita Katiyar --------- Signed-off-by: Ankita Katiyar --- .github/workflows/e2e-tests.yml | 1 + features/build_reqs.feature | 4 ++-- features/package.feature | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 911498a102..b35ccad0e7 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -39,6 +39,7 @@ jobs: uses: microsoft/setup-msbuild@v1 - name: Install dependencies run: | + pip install --upgrade pip make install-test-requirements make install-pre-commit - name: pip freeze diff --git a/features/build_reqs.feature b/features/build_reqs.feature index 085cab2242..05bf551961 100644 --- a/features/build_reqs.feature +++ b/features/build_reqs.feature @@ -5,9 +5,9 @@ Feature: build-reqs target in new project Given I have prepared a config file And I have run a non-interactive kedro new with starter "default" And I have updated kedro requirements - And I have executed the kedro command "build-reqs" + And I have executed the kedro command "build-reqs --resolver=backtracking" When I add scrapy>=1.7.3 to the requirements - And I execute the kedro command "build-reqs" + And I execute the kedro command "build-reqs --resolver=backtracking" Then I should get a successful exit code And requirements should be generated And scrapy should be in the requirements diff --git a/features/package.feature b/features/package.feature index 21873e775c..663ea87c49 100644 --- a/features/package.feature +++ b/features/package.feature @@ -16,7 +16,7 @@ Feature: Package target in new project @fresh_venv Scenario: Install package after running kedro build-reqs Given I have updated kedro requirements - When I execute the kedro command "build-reqs" + When I execute the kedro command "build-reqs --resolver=backtracking" Then I should get a successful exit code When I execute the kedro command "package" Then I should get a successful exit code